mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 22:11:25 +00:00
31190b967b
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
59 lines
927 B
Text
59 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;
|
|
}
|