Files
web/components/TempDesignSystem/Form/Select/select.module.css
2024-06-05 13:54:23 +02:00

84 lines
1.9 KiB
CSS

.container {
position: relative;
}
.label {
color: var(--Base-Text-UI-Placeholder);
font-family: var(--typography-Footnote-Regular-fontFamily);
font-size: var(--typography-Footnote-Regular-fontSize);
font-weight: 400;
line-height: 100%;
}
.select {
display: flex;
flex-direction: column;
gap: var(--Spacing-x-half);
border: 1px solid var(--Base-Border-Normal);
border-radius: var(--Corner-radius-Medium);
}
.select[data-focused="true"] {
border: 1px solid var(--UI-Text-Active, #0d1f5f);
outline: none;
}
.input {
display: flex;
align-items: center;
gap: var(--Spacing-x-half);
background-color: var(--Scandic-Opacity-White-100);
border: none;
border-radius: var(--Corner-radius-Medium);
color: var(--Base-Text-UI-High-contrast);
height: 56px;
font-family: var(--ff-fira-sans);
font-size: var(--typography-Body-Regular-fontSize);
font-weight: 400;
letter-spacing: var(--typography-Body-Regular-letterSpacing);
line-height: 100%;
outline: none;
padding: var(--Spacing-x-one-and-half) var(--Spacing-x2);
text-align: left;
}
.inputContentWrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
/*6px in Figma but not available as variable*/
gap: var(--Spacing-x-half);
flex: 1 0 0;
}
.popover {
background-color: var(--some-white-color, #fff);
border-radius: var(--Corner-radius-Medium);
display: inline-flex;
flex-direction: column;
font-size: var(--typography-Body-Regular-fontSize);
gap: var(--Spacing-x1);
overflow: auto;
width: 100%;
box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
}
.listBox {
display: flex;
flex-direction: column;
gap: var(--Spacing-x1);
}
.listBoxItem {
padding: var(--Spacing-x2);
}
.listBoxItem[data-focused="true"] {
background: var(--UI-Input-Controls-Surface-Hover, var(--Scandic-Blue-00));
outline: none;
}
.listBoxItem[data-selected="true"] {
font-weight: 500;
}