2023-05-15 05:17:13 -04:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-25 02:08:24 -04:00
|
|
|
.select-highlighted:not(.select-disabled) {
|
2023-05-15 05:17:13 -04:00
|
|
|
background-color: @neutral-10;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2024-06-25 02:08:24 -04:00
|
|
|
.select-disabled {
|
|
|
|
color: @text-muted;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2023-05-15 05:17:13 -04:00
|
|
|
.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;
|
|
|
|
user-select: none;
|
2024-06-25 02:08:24 -04:00
|
|
|
:not(.select-disabled) {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.select-item-icon {
|
|
|
|
width: 30px;
|
|
|
|
display: inline-block;
|
2023-05-15 05:17:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.select-item-subtitle {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
|
2024-06-25 02:08:24 -04:00
|
|
|
.select-icon .select-item-subtitle {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
|
2023-05-15 05:17:13 -04:00
|
|
|
.select-optional-label {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|