@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
56 lines (47 loc) • 976 B
text/less
.esl-select-list {
display: flex;
flex-flow: column;
position: relative;
overflow: hidden;
background: @esl-select-list-background;
border: 1px solid @esl-select-list-secondary;
min-height: 50px;
height: auto;
max-height: 400px;
& > [esl-select-target] {
/* Visually hidden */
position: absolute;
width: 0;
height: 0;
border: 0;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
}
esl-scrollbar {
top: 5px;
bottom: 5px;
right: 10px;
}
&[multiple] esl-scrollbar {
top: 60px;
}
.esl-select-list-container {
flex: 1 1 auto;
height: 100%;
margin-right: 16px;
}
.esl-select-item.esl-select-all-item {
flex: 0 0 auto;
border-bottom: 1px solid @esl-select-list-secondary;
}
&:not([multiple]) .esl-select-all-item {
display: none;
}
}
/* stylelint-disable */
_:-ms-fullscreen,
:root .esl-select-list {
height: 400px; // IE 11 only
}
/* stylelint-enable */