28 lines
512 B
CSS
28 lines
512 B
CSS
.root {
|
|||
|
|
display: inline-block;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.menu {
|
||
|
|
position: absolute;
|
||
|
|
list-style: none;
|
||
|
|
max-height: 250px;
|
||
|
|
overflow-y: auto;
|
||
|
|
top: 35px;
|
||
|
|
width: 100%;
|
||
|
|
padding: 0;
|
||
|
|
background-color: var(--white);
|
||
|
|
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
|
||
|
|
0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
||
|
|
}
|
||
|
|
|
||
|
|
.option {
|
||
|
|
padding: 8px 16px;
|
||
|
|
cursor: pointer;
|
||
|
|
background-color: var(--brand);
|
||
|
|
color: var(--white);
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
background-color: var(--brand-d1);
|
||
|
|
}
|
||
|
|
}
|