.step-text-container { display: flex; border-radius: 4px; margin-bottom: 16px; padding-left: var(--left-component-padding); position: relative; width: calc(100% + 16px); .step-element-grip-placeholder { flex: 0; } .empty-text-element { color: $color-silver-chalice; } .buttons-container { background: linear-gradient( 90deg, transparent 0%, $color-concrete 25%, $color-concrete 100% ); display: none; padding-left: 2em; position: absolute; right: 0; } .step-element-grip { align-items: center; color: $color-silver-chalice; display: none; height: 100%; justify-content: center; left: 0; padding: .5em; position: absolute; } &:hover:not(.edit):not(.locked) { background: $color-concrete; .buttons-container { display: flex; } .step-element-grip { display: flex; } } &.edit { .buttons-container, .step-element-grip { display: none; } } }