43 lines
806 B
SCSS
43 lines
806 B
SCSS
.selectorWrapper {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
column-gap: 2px;
|
|
.optionsWrapper {
|
|
position: absolute;
|
|
z-index: 999;
|
|
right: 0;
|
|
top: 120%;
|
|
flex-shrink: 0;
|
|
height: 0px;
|
|
opacity: 0;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease-out;
|
|
&.visible {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 320px;
|
|
opacity: 1;
|
|
box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.option {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-width: 100px;
|
|
height: 24px;
|
|
padding: 4px 10px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
background-color: white;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
&.active {
|
|
color: #fff;
|
|
background-color: #29bbe4;
|
|
}
|
|
}
|
|
}
|
|
}
|