64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
.choice-select {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.choice-select[data-disabled] {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.choice-select__input {
|
|
flex: 1 1 auto;
|
|
|
|
height: var(--card-control-height);
|
|
padding: 0 var(--space-6) 0 var(--space-3);
|
|
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
border: var(--border-width) solid var(--border-hairline);
|
|
border-radius: var(--radius-sm);
|
|
|
|
font-family: var(--font-ui);
|
|
font-size: var(--font-sm);
|
|
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
|
|
outline: none;
|
|
cursor: pointer;
|
|
|
|
transition: border-color var(--dur-base) var(--ease-standard);
|
|
}
|
|
|
|
.choice-select__input:focus {
|
|
border-color: var(--accent-brand);
|
|
}
|
|
|
|
.choice-select__input:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.choice-select__chevron {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 5%;
|
|
bottom: 0;
|
|
|
|
width: 4cqh;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
pointer-events: none;
|
|
color: var(--accent-brand);
|
|
}
|
|
|
|
.choice-select__chevron svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|