@mixin slice() { .esri-slice { flex-shrink: 0; &__container { position: relative; padding: $cap-spacing 0; overflow-y: auto; a { text-decoration: none; } } &__hint { padding: 0 $side-spacing; animation: esri-fade-in 250ms ease-in-out; } &__hint-text { margin: $cap-spacing 0; padding: 0; } &__exclude-button { margin-bottom: $cap-spacing; } &__settings { ul { padding: 0; margin: 0; } li { list-style: none; } padding: $cap-spacing--half $side-spacing $cap-spacing $side-spacing; animation: esri-fade-in 250ms ease-in-out; } &__layer-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: $cap-spacing--half; } &__cross { margin-right: $side-spacing--half; color: inherit; position: relative; top: 2px; } &__panel--error { color: $font-color--error; padding: 0 $side-spacing; animation: esri-fade-in 250ms ease-in-out; } &__actions { display: flex; flex-flow: column; justify-content: center; padding: 0 $side-spacing; } } html[dir="rtl"] { .esri-slice__cross { margin-right: 0; margin-left: $side-spacing--half; } } } @if $include_Slice == true { @include slice(); }