forked from Cambly/syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SelectList.module.css
100 lines (85 loc) · 1.73 KB
/
SelectList.module.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
.selectContainer {
display: flex;
flex-direction: column;
gap: 8px;
}
.opacityOverlay {
opacity: 0.5;
}
.selectWrapper {
display: flex;
position: relative;
}
.selectBox {
align-items: center;
appearance: none;
background-color: var(--color-base-white);
border: 1px solid var(--color-base-gray-700);
cursor: pointer;
display: flex;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
Helvetica, Arial, sans-serif;
font-weight: 500;
justify-content: space-between;
margin: 0;
outline: 0;
width: 100%;
}
.selectBoxClassic {
border: 1px solid var(--color-base-gray-700);
padding: 0 36px 0 12px;
}
.selectBoxCambio {
border: 1px solid var(--color-cambio-gray-370);
border-radius: 8px;
box-sizing: border-box;
font-size: 16px;
height: 48px;
padding: 12px 36px 12px 12px;
}
.selectMouseFocusStyling {
border: 1px solid var(--color-base-primary-700);
box-shadow: 0 0 0 1px var(--color-base-primary-700);
}
.unselected {
color: var(--color-base-gray-700);
}
.selected {
color: var(--color-base-gray-800);
}
.arrowIcon {
display: flex;
position: absolute;
right: 0;
top: 0;
bottom: 0;
padding-inline-end: 8px;
pointer-events: none;
}
.selectBox:disabled {
cursor: auto;
}
.sm {
border-radius: 12px;
font-size: 12px;
height: 32px;
}
.md {
border-radius: 12px;
font-size: 14px;
height: 40px;
}
.lg {
border-radius: 16px;
font-size: 16px;
height: 48px;
}
.selectError {
color: var(--color-base-destructive-700);
border-color: var(--color-base-destructive-700);
background-color: var(--color-base-destructive-100);
}
.selectErrorCambio {
color: var(--color-cambio-destructive-900);
border-color: var(--color-cambio-destructive-700);
}