@agorapulse/ui-theme 22.0.8 → 22.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agorapulse-ui-theme-22.0.9.tgz +0 -0
- package/assets/style/{css-ui/_helpers.scss → _helpers.scss} +5 -10
- package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
- package/assets/style/theme.scss +2 -2
- package/package.json +2 -9
- package/agorapulse-ui-theme-22.0.8.tgz +0 -0
- package/assets/style/css-ui/_accordion.scss +0 -56
- package/assets/style/css-ui/_action-dropdown.scss +0 -163
- package/assets/style/css-ui/_avatar-group.scss +0 -61
- package/assets/style/css-ui/_avatar.scss +0 -191
- package/assets/style/css-ui/_badge.scss +0 -28
- package/assets/style/css-ui/_button.scss +0 -265
- package/assets/style/css-ui/_card.scss +0 -17
- package/assets/style/css-ui/_checkbox.scss +0 -191
- package/assets/style/css-ui/_counter.scss +0 -76
- package/assets/style/css-ui/_datepicker.scss +0 -309
- package/assets/style/css-ui/_dialog.scss +0 -74
- package/assets/style/css-ui/_dot-stepper.scss +0 -68
- package/assets/style/css-ui/_icon-button.scss +0 -200
- package/assets/style/css-ui/_infobox.scss +0 -181
- package/assets/style/css-ui/_input.scss +0 -128
- package/assets/style/css-ui/_label.scss +0 -95
- package/assets/style/css-ui/_link.scss +0 -86
- package/assets/style/css-ui/_list-panel.scss +0 -73
- package/assets/style/css-ui/_loader.scss +0 -228
- package/assets/style/css-ui/_mixins.scss +0 -50
- package/assets/style/css-ui/_pagination.scss +0 -177
- package/assets/style/css-ui/_radio-card.scss +0 -200
- package/assets/style/css-ui/_radio.scss +0 -106
- package/assets/style/css-ui/_select.scss +0 -658
- package/assets/style/css-ui/_selection-dropdown.scss +0 -183
- package/assets/style/css-ui/_snackbar.scss +0 -181
- package/assets/style/css-ui/_split-button.scss +0 -74
- package/assets/style/css-ui/_status.scss +0 -83
- package/assets/style/css-ui/_stepper.scss +0 -113
- package/assets/style/css-ui/_table.scss +0 -323
- package/assets/style/css-ui/_tabs.scss +0 -189
- package/assets/style/css-ui/_tag.scss +0 -181
- package/assets/style/css-ui/_textarea.scss +0 -117
- package/assets/style/css-ui/_toggle.scss +0 -131
- package/assets/style/css-ui/_tooltip.scss +0 -134
- package/assets/style/css-ui/font-face.css +0 -43
- package/assets/style/css-ui/index.css +0 -4943
- package/assets/style/css-ui/index.css.map +0 -1
- package/assets/style/css-ui/index.scss +0 -39
|
@@ -1,658 +0,0 @@
|
|
|
1
|
-
// Agorapulse Select Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
|
|
4
|
-
// ============================================
|
|
5
|
-
// SELECT CONTAINER (using details/summary)
|
|
6
|
-
// ============================================
|
|
7
|
-
|
|
8
|
-
.ap-select {
|
|
9
|
-
position: relative;
|
|
10
|
-
display: inline-block;
|
|
11
|
-
width: 100%;
|
|
12
|
-
|
|
13
|
-
// Remove default details marker
|
|
14
|
-
summary {
|
|
15
|
-
list-style: none;
|
|
16
|
-
|
|
17
|
-
&::-webkit-details-marker {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&::marker {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Arrow rotation when open
|
|
27
|
-
&[open] {
|
|
28
|
-
.ap-select-trigger {
|
|
29
|
-
outline: none;
|
|
30
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.ap-select-arrow {
|
|
34
|
-
transform: rotate(180deg);
|
|
35
|
-
color: var(--ref-color-electric-blue-100);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// ============================================
|
|
41
|
-
// SELECT TRIGGER / INPUT
|
|
42
|
-
// ============================================
|
|
43
|
-
|
|
44
|
-
.ap-select-trigger {
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
gap: var(--ref-spacing-xxs);
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: var(--comp-input-height);
|
|
50
|
-
padding: 0 var(--ref-spacing-xs);
|
|
51
|
-
border: 1px solid var(--ref-color-grey-20);
|
|
52
|
-
border-radius: var(--ref-border-radius-sm);
|
|
53
|
-
background-color: var(--ref-color-white);
|
|
54
|
-
@include m.text-style('body');
|
|
55
|
-
color: var(--ref-color-grey-100);
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
box-sizing: border-box;
|
|
58
|
-
transition: border-color 0.15s ease;
|
|
59
|
-
|
|
60
|
-
&:hover:not(.disabled) {
|
|
61
|
-
border-color: var(--ref-color-grey-40);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&:focus {
|
|
65
|
-
outline: none;
|
|
66
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.open {
|
|
70
|
-
outline: none;
|
|
71
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
72
|
-
|
|
73
|
-
.ap-select-arrow {
|
|
74
|
-
transform: rotate(180deg);
|
|
75
|
-
color: var(--ref-color-electric-blue-100);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.disabled {
|
|
80
|
-
background-color: var(--ref-color-grey-20);
|
|
81
|
-
border-color: var(--ref-color-grey-20);
|
|
82
|
-
color: var(--ref-color-grey-60);
|
|
83
|
-
cursor: default;
|
|
84
|
-
pointer-events: none;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Validation states
|
|
88
|
-
&.valid {
|
|
89
|
-
border-color: var(--comp-input-border-success-color);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.invalid {
|
|
93
|
-
border-color: var(--comp-input-border-error-color);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Context-specific overrides for labels within select trigger
|
|
97
|
-
.ap-label {
|
|
98
|
-
height: 20px;
|
|
99
|
-
padding: 0 var(--ref-spacing-xxs);
|
|
100
|
-
font-size: var(--ref-font-size-sm);
|
|
101
|
-
line-height: var(--ref-font-line-height-sm);
|
|
102
|
-
|
|
103
|
-
&:has(> button) {
|
|
104
|
-
padding: 0 2px 0 var(--ref-spacing-xxs);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
> button {
|
|
108
|
-
width: 16px;
|
|
109
|
-
height: 16px;
|
|
110
|
-
min-width: 16px;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// Context-specific overrides for tags within select trigger
|
|
115
|
-
.ap-tag {
|
|
116
|
-
height: 20px;
|
|
117
|
-
padding: 0 var(--ref-spacing-xxs);
|
|
118
|
-
font-size: var(--ref-font-size-sm);
|
|
119
|
-
line-height: var(--ref-font-line-height-sm);
|
|
120
|
-
|
|
121
|
-
&:has(> button) {
|
|
122
|
-
padding: 0 2px 0 var(--ref-spacing-xxs);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
> button {
|
|
126
|
-
width: 16px;
|
|
127
|
-
height: 16px;
|
|
128
|
-
min-width: 16px;
|
|
129
|
-
max-width: 16px;
|
|
130
|
-
max-height: 16px;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Inline label within trigger
|
|
136
|
-
.ap-select-inline-label {
|
|
137
|
-
padding-right: var(--ref-spacing-xxs);
|
|
138
|
-
border-right: 1px solid var(--comp-select-inline-separator-color);
|
|
139
|
-
color: var(--comp-select-inline-label-text-color);
|
|
140
|
-
font-family: var(--comp-select-inline-label-text-font-family);
|
|
141
|
-
font-size: var(--comp-select-inline-label-text-size);
|
|
142
|
-
font-weight: var(--comp-select-inline-label-text-font-weight);
|
|
143
|
-
line-height: var(--comp-select-inline-label-text-line-height);
|
|
144
|
-
white-space: nowrap;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// Inline icon
|
|
148
|
-
.ap-select-inline-icon {
|
|
149
|
-
height: var(--comp-input-icon-size);
|
|
150
|
-
width: var(--comp-input-icon-size);
|
|
151
|
-
min-height: var(--comp-input-icon-size);
|
|
152
|
-
min-width: var(--comp-input-icon-size);
|
|
153
|
-
color: var(--comp-input-icon-color);
|
|
154
|
-
flex-shrink: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// Selected value display
|
|
158
|
-
.ap-select-value {
|
|
159
|
-
flex: 1;
|
|
160
|
-
@include m.truncate;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.ap-select-placeholder {
|
|
164
|
-
color: var(--ref-color-grey-60);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// Avatar in trigger
|
|
168
|
-
.ap-select-avatar {
|
|
169
|
-
width: 20px;
|
|
170
|
-
height: 20px;
|
|
171
|
-
min-width: 20px;
|
|
172
|
-
border-radius: 100%;
|
|
173
|
-
object-fit: cover;
|
|
174
|
-
flex-shrink: 0;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// Arrow icon
|
|
178
|
-
.ap-select-arrow {
|
|
179
|
-
width: 16px;
|
|
180
|
-
height: 16px;
|
|
181
|
-
min-width: 16px;
|
|
182
|
-
flex-shrink: 0;
|
|
183
|
-
margin-left: auto;
|
|
184
|
-
color: var(--ref-color-grey-60);
|
|
185
|
-
transition:
|
|
186
|
-
transform 0.15s ease,
|
|
187
|
-
color 0.15s ease;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// Clear button
|
|
191
|
-
.ap-select-clear {
|
|
192
|
-
display: flex;
|
|
193
|
-
align-items: center;
|
|
194
|
-
justify-content: center;
|
|
195
|
-
width: 16px;
|
|
196
|
-
height: 16px;
|
|
197
|
-
border: none;
|
|
198
|
-
background: transparent;
|
|
199
|
-
color: var(--ref-color-grey-60);
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
padding: 0;
|
|
202
|
-
flex-shrink: 0;
|
|
203
|
-
|
|
204
|
-
&:hover {
|
|
205
|
-
color: var(--ref-color-grey-80);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// ============================================
|
|
210
|
-
// DROPDOWN PANEL
|
|
211
|
-
// ============================================
|
|
212
|
-
|
|
213
|
-
.ap-select-dropdown {
|
|
214
|
-
position: absolute;
|
|
215
|
-
top: 100%;
|
|
216
|
-
left: 0;
|
|
217
|
-
right: 0;
|
|
218
|
-
z-index: 1000;
|
|
219
|
-
margin-top: var(--ref-spacing-xxxs);
|
|
220
|
-
padding: var(--comp-select-padding-vertical) 0;
|
|
221
|
-
background-color: var(--comp-select-background-color);
|
|
222
|
-
border-radius: var(--ref-border-radius-sm);
|
|
223
|
-
box-shadow: var(--comp-select-shadow);
|
|
224
|
-
overflow: hidden;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
// Dropdown scrollable area
|
|
228
|
-
.ap-select-options {
|
|
229
|
-
max-height: 280px;
|
|
230
|
-
overflow-y: auto;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// ============================================
|
|
234
|
-
// SEARCH BAR
|
|
235
|
-
// ============================================
|
|
236
|
-
|
|
237
|
-
.ap-select-search {
|
|
238
|
-
display: flex;
|
|
239
|
-
align-items: center;
|
|
240
|
-
gap: var(--ref-spacing-xxs);
|
|
241
|
-
padding: 0 var(--comp-select-search-bar-padding-horizontal) var(--comp-select-search-bar-padding-bottom);
|
|
242
|
-
margin-bottom: var(--comp-select-search-bar-margin-bottom);
|
|
243
|
-
border-bottom: 1px solid var(--comp-select-search-bar-border-bottom-color);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.ap-select-search-input {
|
|
247
|
-
flex: 1;
|
|
248
|
-
border: none;
|
|
249
|
-
outline: none;
|
|
250
|
-
background: transparent;
|
|
251
|
-
font-family: var(--sys-text-style-body-font-family);
|
|
252
|
-
font-size: var(--sys-text-style-body-size);
|
|
253
|
-
color: var(--ref-color-grey-100);
|
|
254
|
-
padding: var(--ref-spacing-xxs) 0;
|
|
255
|
-
|
|
256
|
-
&::placeholder {
|
|
257
|
-
color: var(--ref-color-grey-60);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.ap-select-search-icon {
|
|
262
|
-
width: var(--comp-input-icon-size);
|
|
263
|
-
height: var(--comp-input-icon-size);
|
|
264
|
-
color: var(--comp-input-icon-color);
|
|
265
|
-
flex-shrink: 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// ============================================
|
|
269
|
-
// SELECT ALL CHECKBOX
|
|
270
|
-
// ============================================
|
|
271
|
-
|
|
272
|
-
.ap-select-all {
|
|
273
|
-
display: flex;
|
|
274
|
-
align-items: center;
|
|
275
|
-
gap: var(--ref-spacing-xxs);
|
|
276
|
-
padding: 0 var(--ref-spacing-sm);
|
|
277
|
-
height: var(--comp-select-one-line-height);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
// ============================================
|
|
281
|
-
// OPTION - ONE LINE
|
|
282
|
-
// ============================================
|
|
283
|
-
|
|
284
|
-
.ap-select-option {
|
|
285
|
-
display: flex;
|
|
286
|
-
align-items: center;
|
|
287
|
-
gap: var(--ref-spacing-xxs);
|
|
288
|
-
min-height: var(--comp-select-one-line-height);
|
|
289
|
-
padding: var(--ref-spacing-xxs) var(--comp-select-one-line-padding-horizontal);
|
|
290
|
-
background-color: var(--comp-select-one-line-background-color);
|
|
291
|
-
font-family: var(--comp-select-one-line-text-font-family);
|
|
292
|
-
font-size: var(--comp-select-one-line-text-size);
|
|
293
|
-
font-weight: var(--comp-select-one-line-text-font-weight);
|
|
294
|
-
line-height: var(--comp-select-one-line-text-line-height);
|
|
295
|
-
color: var(--comp-select-one-line-text-color);
|
|
296
|
-
cursor: pointer;
|
|
297
|
-
box-sizing: border-box;
|
|
298
|
-
transition: background-color 0.1s ease;
|
|
299
|
-
|
|
300
|
-
&:hover:not(.disabled) {
|
|
301
|
-
background-color: var(--ref-color-electric-blue-10);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
&:active:not(.disabled) {
|
|
305
|
-
background-color: var(--ref-color-electric-blue-20);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// Selected state (single select)
|
|
309
|
-
&.selected {
|
|
310
|
-
background-color: var(--ref-color-electric-blue-10);
|
|
311
|
-
color: var(--ref-color-electric-blue-150);
|
|
312
|
-
font-family: var(--comp-select-one-line-selected-text-font-family);
|
|
313
|
-
font-size: var(--comp-select-one-line-selected-text-size);
|
|
314
|
-
font-weight: var(--comp-select-one-line-selected-text-font-weight);
|
|
315
|
-
line-height: var(--comp-select-one-line-selected-text-line-height);
|
|
316
|
-
|
|
317
|
-
.ap-select-option-icon {
|
|
318
|
-
color: var(--ref-color-electric-blue-150);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// Marked/focused state (keyboard navigation)
|
|
323
|
-
&.marked:not(.selected) {
|
|
324
|
-
background-color: var(--ref-color-electric-blue-10);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
// Disabled state
|
|
328
|
-
&.disabled {
|
|
329
|
-
color: var(--ref-color-grey-40);
|
|
330
|
-
cursor: default;
|
|
331
|
-
position: relative;
|
|
332
|
-
|
|
333
|
-
&::after {
|
|
334
|
-
content: '';
|
|
335
|
-
position: absolute;
|
|
336
|
-
inset: 0;
|
|
337
|
-
background-color: var(--ref-color-white);
|
|
338
|
-
opacity: 0.6;
|
|
339
|
-
pointer-events: none;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
// Two lines variant
|
|
344
|
-
&.two-lines {
|
|
345
|
-
flex-direction: row;
|
|
346
|
-
align-items: flex-start;
|
|
347
|
-
min-height: var(--comp-select-two-line-height);
|
|
348
|
-
padding: var(--comp-select-two-line-padding-vertical) var(--comp-select-one-line-padding-horizontal);
|
|
349
|
-
|
|
350
|
-
&.selected {
|
|
351
|
-
.ap-select-option-title {
|
|
352
|
-
color: var(--ref-color-electric-blue-150);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.ap-select-option-caption {
|
|
356
|
-
color: var(--ref-color-electric-blue-100);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
// Feature locked option
|
|
362
|
-
&.feature-locked {
|
|
363
|
-
cursor: pointer;
|
|
364
|
-
|
|
365
|
-
&:hover {
|
|
366
|
-
background-color: var(--ref-color-purple-10);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
&:active {
|
|
370
|
-
background-color: var(--ref-color-purple-20);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
// Option icon
|
|
376
|
-
.ap-select-option-icon {
|
|
377
|
-
width: 16px;
|
|
378
|
-
height: 16px;
|
|
379
|
-
min-width: 16px;
|
|
380
|
-
flex-shrink: 0;
|
|
381
|
-
color: var(--comp-select-one-line-text-color);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
// Option avatar
|
|
385
|
-
.ap-select-option-avatar {
|
|
386
|
-
width: 24px;
|
|
387
|
-
height: 24px;
|
|
388
|
-
min-width: 24px;
|
|
389
|
-
border-radius: 100%;
|
|
390
|
-
object-fit: cover;
|
|
391
|
-
flex-shrink: 0;
|
|
392
|
-
|
|
393
|
-
&.square {
|
|
394
|
-
border-radius: var(--ref-border-radius-xs);
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
// Option text
|
|
399
|
-
.ap-select-option-text {
|
|
400
|
-
flex: 1;
|
|
401
|
-
@include m.truncate;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// Option badge
|
|
405
|
-
.ap-select-option-badge {
|
|
406
|
-
padding: 2px 6px;
|
|
407
|
-
border-radius: var(--ref-border-radius-xs);
|
|
408
|
-
background-color: var(--ref-color-grey-10);
|
|
409
|
-
font-size: var(--ref-font-size-xs);
|
|
410
|
-
line-height: var(--ref-font-line-height-xs);
|
|
411
|
-
color: var(--ref-color-grey-80);
|
|
412
|
-
flex-shrink: 0;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
// Checkbox for multiple select
|
|
416
|
-
.ap-select-option-checkbox {
|
|
417
|
-
width: 16px;
|
|
418
|
-
height: 16px;
|
|
419
|
-
min-width: 16px;
|
|
420
|
-
flex-shrink: 0;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
// Selected checkmark icon
|
|
424
|
-
.ap-select-option-check {
|
|
425
|
-
width: 16px;
|
|
426
|
-
height: 16px;
|
|
427
|
-
min-width: 16px;
|
|
428
|
-
color: var(--ref-color-electric-blue-150);
|
|
429
|
-
flex-shrink: 0;
|
|
430
|
-
margin-left: auto;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
// ============================================
|
|
434
|
-
// OPTION CONTENT (TWO LINES)
|
|
435
|
-
// ============================================
|
|
436
|
-
|
|
437
|
-
.ap-select-option-content {
|
|
438
|
-
display: flex;
|
|
439
|
-
flex-direction: column;
|
|
440
|
-
flex: 1;
|
|
441
|
-
min-width: 0;
|
|
442
|
-
gap: 2px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.ap-select-option-title {
|
|
446
|
-
font-family: var(--comp-select-two-line-title-text-font-family);
|
|
447
|
-
font-size: var(--comp-select-two-line-title-text-size);
|
|
448
|
-
font-weight: var(--comp-select-two-line-title-text-font-weight);
|
|
449
|
-
line-height: var(--comp-select-two-line-title-text-line-height);
|
|
450
|
-
color: var(--comp-select-two-line-title-text-color);
|
|
451
|
-
@include m.truncate;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.ap-select-option-caption {
|
|
455
|
-
font-family: var(--comp-select-two-line-caption-text-font-family);
|
|
456
|
-
font-size: var(--comp-select-two-line-caption-text-size);
|
|
457
|
-
font-weight: var(--comp-select-two-line-caption-text-font-weight);
|
|
458
|
-
line-height: var(--comp-select-two-line-caption-text-line-height);
|
|
459
|
-
color: var(--comp-select-two-line-caption-text-color);
|
|
460
|
-
@include m.truncate;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// ============================================
|
|
464
|
-
// OPTION GROUP
|
|
465
|
-
// ============================================
|
|
466
|
-
|
|
467
|
-
.ap-select-group {
|
|
468
|
-
display: flex;
|
|
469
|
-
align-items: center;
|
|
470
|
-
gap: var(--ref-spacing-xxs);
|
|
471
|
-
padding: var(--comp-select-group-padding-vertical) var(--comp-select-group-padding-horizontal);
|
|
472
|
-
background-color: var(--comp-select-group-background-color);
|
|
473
|
-
border-top: 1px solid var(--comp-select-group-border-top-color);
|
|
474
|
-
min-height: 32px;
|
|
475
|
-
box-sizing: border-box;
|
|
476
|
-
|
|
477
|
-
&:first-child {
|
|
478
|
-
border-top: none;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.ap-select-group-label {
|
|
483
|
-
font-family: var(--comp-select-group-text-font-family);
|
|
484
|
-
font-size: var(--comp-select-group-text-size);
|
|
485
|
-
font-weight: var(--comp-select-group-text-font-weight);
|
|
486
|
-
line-height: var(--comp-select-group-text-line-height);
|
|
487
|
-
color: var(--comp-select-group-text-color);
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
// ============================================
|
|
491
|
-
// DIVIDER
|
|
492
|
-
// ============================================
|
|
493
|
-
|
|
494
|
-
.ap-select-divider {
|
|
495
|
-
width: 100%;
|
|
496
|
-
height: 1px;
|
|
497
|
-
background-color: var(--comp-select-separator-color);
|
|
498
|
-
margin: var(--ref-spacing-xxs) 0;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
// ============================================
|
|
502
|
-
// NOT FOUND / EMPTY STATE
|
|
503
|
-
// ============================================
|
|
504
|
-
|
|
505
|
-
.ap-select-not-found {
|
|
506
|
-
display: flex;
|
|
507
|
-
align-items: center;
|
|
508
|
-
padding: var(--ref-spacing-sm);
|
|
509
|
-
color: var(--ref-color-grey-80);
|
|
510
|
-
font-style: italic;
|
|
511
|
-
font-family: var(--sys-text-style-body-font-family);
|
|
512
|
-
font-size: var(--sys-text-style-body-size);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
// ============================================
|
|
516
|
-
// LOADING STATE
|
|
517
|
-
// ============================================
|
|
518
|
-
|
|
519
|
-
.ap-select-loading {
|
|
520
|
-
display: flex;
|
|
521
|
-
justify-content: center;
|
|
522
|
-
align-items: center;
|
|
523
|
-
flex-direction: column;
|
|
524
|
-
gap: var(--ref-spacing-xxs);
|
|
525
|
-
min-height: 90px;
|
|
526
|
-
padding: var(--ref-spacing-md) var(--ref-spacing-sm) var(--ref-spacing-sm);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.ap-select-loading-text {
|
|
530
|
-
font-size: var(--ref-font-size-sm);
|
|
531
|
-
line-height: var(--ref-font-line-height-sm);
|
|
532
|
-
font-style: italic;
|
|
533
|
-
font-weight: var(--ref-font-weight-regular);
|
|
534
|
-
color: var(--ref-color-grey-80);
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
// ============================================
|
|
538
|
-
// FOOTER / CREATE NEW
|
|
539
|
-
// ============================================
|
|
540
|
-
|
|
541
|
-
.ap-select-footer {
|
|
542
|
-
padding: 0;
|
|
543
|
-
margin-top: var(--ref-spacing-xxxs);
|
|
544
|
-
border-top: 1px solid var(--ref-color-grey-10);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.ap-select-create {
|
|
548
|
-
display: flex;
|
|
549
|
-
align-items: center;
|
|
550
|
-
gap: var(--ref-spacing-xxxs);
|
|
551
|
-
width: 100%;
|
|
552
|
-
padding: var(--comp-select-search-bar-bottom-link-margin-top) var(--comp-select-search-bar-bottom-link-padding-horizontal)
|
|
553
|
-
var(--comp-select-search-bar-bottom-link-padding-bottom);
|
|
554
|
-
border: none;
|
|
555
|
-
background-color: transparent;
|
|
556
|
-
color: var(--ref-color-electric-blue-150);
|
|
557
|
-
font-weight: var(--ref-font-weight-bold);
|
|
558
|
-
font-family: var(--ref-font-family);
|
|
559
|
-
font-size: var(--ref-font-size-sm);
|
|
560
|
-
line-height: var(--ref-font-line-height-sm);
|
|
561
|
-
cursor: pointer;
|
|
562
|
-
text-align: left;
|
|
563
|
-
|
|
564
|
-
&:hover {
|
|
565
|
-
color: var(--ref-color-electric-blue-100);
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
&:active {
|
|
569
|
-
color: var(--ref-color-electric-blue-150);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.ap-select-create-icon {
|
|
574
|
-
width: 16px;
|
|
575
|
-
height: 16px;
|
|
576
|
-
flex-shrink: 0;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
// ============================================
|
|
580
|
-
// FEATURE LOCKED ICON
|
|
581
|
-
// ============================================
|
|
582
|
-
|
|
583
|
-
.ap-select-locked-icon {
|
|
584
|
-
width: 16px;
|
|
585
|
-
height: 16px;
|
|
586
|
-
color: var(--ref-color-purple-100);
|
|
587
|
-
flex-shrink: 0;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
// ============================================
|
|
591
|
-
// MULTIPLE SELECT - SELECTED LABELS/TAGS
|
|
592
|
-
// ============================================
|
|
593
|
-
|
|
594
|
-
.ap-select-labels {
|
|
595
|
-
display: flex;
|
|
596
|
-
align-items: center;
|
|
597
|
-
gap: var(--ref-spacing-xxxs);
|
|
598
|
-
flex: 1;
|
|
599
|
-
overflow: hidden;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
.ap-select-label-count {
|
|
603
|
-
font-size: var(--ref-font-size-sm);
|
|
604
|
-
color: var(--ref-color-grey-80);
|
|
605
|
-
white-space: nowrap;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
// ============================================
|
|
609
|
-
// NATIVE SELECT (FALLBACK)
|
|
610
|
-
// ============================================
|
|
611
|
-
|
|
612
|
-
.ap-native-select {
|
|
613
|
-
width: 100%;
|
|
614
|
-
height: var(--comp-input-height);
|
|
615
|
-
padding: 0 var(--ref-spacing-lg) 0 var(--ref-spacing-xs);
|
|
616
|
-
border: 1px solid var(--ref-color-grey-20);
|
|
617
|
-
border-radius: var(--ref-border-radius-sm);
|
|
618
|
-
background-color: var(--ref-color-white);
|
|
619
|
-
@include m.text-style('body');
|
|
620
|
-
color: var(--ref-color-grey-100);
|
|
621
|
-
cursor: pointer;
|
|
622
|
-
appearance: none;
|
|
623
|
-
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235D6A82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
624
|
-
background-repeat: no-repeat;
|
|
625
|
-
background-position: right var(--ref-spacing-xs) center;
|
|
626
|
-
|
|
627
|
-
&:hover:not(:disabled) {
|
|
628
|
-
border-color: var(--ref-color-grey-40);
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
&:focus {
|
|
632
|
-
outline: none;
|
|
633
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
&:disabled {
|
|
637
|
-
background-color: var(--ref-color-grey-20);
|
|
638
|
-
border-color: var(--ref-color-grey-20);
|
|
639
|
-
color: var(--ref-color-grey-60);
|
|
640
|
-
cursor: default;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
&.valid {
|
|
644
|
-
border-color: var(--comp-input-border-success-color);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
&.invalid {
|
|
648
|
-
border-color: var(--comp-input-border-error-color);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
option {
|
|
652
|
-
padding: var(--ref-spacing-xxs);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
optgroup {
|
|
656
|
-
font-weight: var(--comp-select-group-text-font-weight);
|
|
657
|
-
}
|
|
658
|
-
}
|