mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
60 lines
927 B
Text
60 lines
927 B
Text
|
.select-trigger {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
border: 1px solid black;
|
||
|
border-radius: 4px;
|
||
|
padding: 5px 10px;
|
||
|
user-select: none;
|
||
|
color: @neutral-90;
|
||
|
|
||
|
&.disabled {
|
||
|
cursor: not-allowed;
|
||
|
background-color: @neutral-20;
|
||
|
border-color: @neutral-20;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.select-highlighted {
|
||
|
background-color: @neutral-10;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
.select-active {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.select-items {
|
||
|
list-style: none;
|
||
|
width: 100%;
|
||
|
padding: 4px;
|
||
|
margin: 0;
|
||
|
position: absolute;
|
||
|
background-color: white;
|
||
|
box-shadow: 0px 2px 4px 0px #1e253029;
|
||
|
overflow-y: auto;
|
||
|
z-index: 1;
|
||
|
max-height: 200px;
|
||
|
& li {
|
||
|
padding: 12px 8px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.select-wrapper {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.select-item-title,
|
||
|
.select-item-subtitle {
|
||
|
display: block;
|
||
|
cursor: default;
|
||
|
user-select: none;
|
||
|
}
|
||
|
|
||
|
.select-item-subtitle {
|
||
|
font-size: 0.9rem;
|
||
|
}
|
||
|
|
||
|
.select-optional-label {
|
||
|
font-weight: normal;
|
||
|
}
|