element-call/src/input/SelectInput.module.css

47 lines
795 B
CSS
Raw Normal View History

2021-12-06 17:34:10 -08:00
.selectInput {
position: relative;
display: inline-block;
margin-bottom: 28px;
2021-12-14 15:28:54 -08:00
max-width: 444px;
2021-12-06 17:34:10 -08:00
}
.label {
font-weight: 600;
font-size: var(--font-size-subtitle);
2021-12-06 17:34:10 -08:00
margin-top: 0;
margin-bottom: 12px;
}
.selectTrigger {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px;
2022-06-01 11:48:17 -04:00
background-color: var(--background);
2021-12-06 17:34:10 -08:00
border-radius: 8px;
2022-06-01 11:48:17 -04:00
border: 1px solid var(--quinary-content);
font-size: var(--font-size-body);
2022-06-01 11:48:17 -04:00
color: var(--primary-content);
2021-12-06 17:34:10 -08:00
height: 40px;
2021-12-10 10:54:18 -08:00
max-width: 100%;
2021-12-14 15:28:54 -08:00
width: 100%;
2021-12-06 17:34:10 -08:00
}
2022-01-18 16:03:49 -08:00
.selectTrigger:focus {
outline: auto;
}
2021-12-06 17:34:10 -08:00
.selectedItem {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-right: 20px;
}
.popover {
2021-12-14 15:28:54 -08:00
position: absolute;
margin-top: 5px;
width: 100%;
z-index: 1;
2021-12-06 17:34:10 -08:00
}