superdesk-ui-framework 3.0.42 → 3.0.43
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/app/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +13 -2
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +5 -7
- package/dist/superdesk-ui.bundle.css +4265 -3552
- package/dist/superdesk-ui.bundle.js +4 -6
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- package/react/components/Menu.js +1 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
sd-tag-input {
|
2
2
|
display: block;
|
3
3
|
padding-bottom: 3rem;
|
4
|
+
|
4
5
|
&[data-label] {
|
5
6
|
position: relative;
|
6
7
|
padding-top: 1rem;
|
@@ -11,6 +12,7 @@ sd-tag-input {
|
|
11
12
|
.sd-tag-input {
|
12
13
|
display: block;
|
13
14
|
padding-bottom: 3rem;
|
15
|
+
|
14
16
|
&[data-label] {
|
15
17
|
position: relative;
|
16
18
|
padding-top: 1rem;
|
@@ -35,15 +37,18 @@ tags-input,
|
|
35
37
|
.tags-input {
|
36
38
|
display: block;
|
37
39
|
background-color: var(--color-input-bg);
|
40
|
+
|
38
41
|
.tags-input__host {
|
39
42
|
position: relative;
|
40
43
|
margin-top: 0.5rem;
|
41
44
|
margin-bottom: 0;
|
42
45
|
height: 100%;
|
46
|
+
|
43
47
|
&:active {
|
44
48
|
outline: none;
|
45
49
|
}
|
46
50
|
}
|
51
|
+
|
47
52
|
.tags-input__tags {
|
48
53
|
display: flex;
|
49
54
|
align-items: flex-start;
|
@@ -53,6 +58,7 @@ tags-input,
|
|
53
58
|
background-color: transparent;
|
54
59
|
border:none;
|
55
60
|
height: 100%;
|
61
|
+
|
56
62
|
.tags-input__tag-list {
|
57
63
|
margin: 0;
|
58
64
|
padding: 0;
|
@@ -64,17 +70,21 @@ tags-input,
|
|
64
70
|
padding-inline-start: $sd-base-increment / 2;
|
65
71
|
gap: $sd-base-increment / 2;
|
66
72
|
}
|
73
|
+
|
67
74
|
.tags-input__tag-item {
|
68
75
|
@include tag-label;
|
69
76
|
transition: background-color .2s ease-out, color .1s ease-out, opacity .1s ease-out;
|
70
77
|
background: $tag-label-BG-default;
|
71
78
|
color: currentColor;
|
79
|
+
|
72
80
|
&.selected {
|
73
81
|
background-color: var(--sd-colour-interactive--alpha-70);
|
74
82
|
}
|
83
|
+
|
75
84
|
&:hover {
|
76
85
|
cursor: pointer;
|
77
86
|
}
|
87
|
+
|
78
88
|
.tags-input__remove-button {
|
79
89
|
height: 1.8rem;
|
80
90
|
width: 1.8rem;
|
@@ -94,6 +104,7 @@ tags-input,
|
|
94
104
|
transition: background-color .2s ease-out, color .1s ease-out, opacity .1s ease-out;
|
95
105
|
margin-right: -1rem;
|
96
106
|
margin-left: 0.8rem;
|
107
|
+
|
97
108
|
[class^="icon-"], [class*=" icon-"] {
|
98
109
|
color: var(--color-text-light);
|
99
110
|
font-size: 1.6rem;
|
@@ -103,19 +114,22 @@ tags-input,
|
|
103
114
|
opacity: 0.4;
|
104
115
|
transition: color .1s ease-out, opacity .1s ease-out;
|
105
116
|
}
|
117
|
+
|
106
118
|
&:hover {
|
107
119
|
text-decoration: none;
|
108
120
|
background-color: var(--sd-colour__tag-label-remove-Bg--hover);
|
121
|
+
|
109
122
|
[class^="icon-"], [class*=" icon-"] {
|
110
123
|
opacity: 0.85;
|
111
124
|
}
|
112
|
-
|
125
|
+
}
|
113
126
|
|
114
127
|
&:active {
|
115
128
|
background-color: var(--sd-colour__tag-label-remove-Bg--hover);
|
129
|
+
|
116
130
|
[class^="icon-"], [class*=" icon-"] {
|
117
|
-
|
118
|
-
|
131
|
+
color: $sd-colour-interactive;
|
132
|
+
opacity: 1;
|
119
133
|
}
|
120
134
|
}
|
121
135
|
}
|
@@ -124,19 +138,23 @@ tags-input,
|
|
124
138
|
display: flex;
|
125
139
|
flex-direction: row;
|
126
140
|
align-items: center;
|
141
|
+
|
127
142
|
.tags-input__helper-box {
|
128
143
|
display: flex;
|
129
144
|
flex-direction: row;
|
130
145
|
align-items: center;
|
146
|
+
|
131
147
|
span {
|
132
148
|
flex-grow: 1;
|
133
149
|
}
|
134
150
|
}
|
135
151
|
}
|
136
152
|
}
|
153
|
+
|
137
154
|
.tags-input__tag-item--readonly {
|
138
155
|
cursor: default !important;
|
139
156
|
}
|
157
|
+
|
140
158
|
.tags-input__input {
|
141
159
|
border: 0;
|
142
160
|
outline: none;
|
@@ -146,33 +164,40 @@ tags-input,
|
|
146
164
|
height: 26px;
|
147
165
|
color: currentColor;
|
148
166
|
background-color: transparent;
|
167
|
+
|
149
168
|
&.invalid-tag {
|
150
169
|
color: $red;
|
151
170
|
}
|
171
|
+
|
152
172
|
&::-ms-clear {
|
153
173
|
display: none;
|
154
174
|
}
|
155
175
|
|
156
176
|
// Override width and box-shadow from superdesk-client-core
|
157
177
|
width: 20px;
|
178
|
+
|
158
179
|
&:focus {
|
159
180
|
box-shadow: unset !important;
|
160
181
|
}
|
182
|
+
|
161
183
|
&::placeholder {
|
162
184
|
opacity: 0.8;
|
163
185
|
font-weight: 300;
|
164
186
|
font-style: italic;
|
165
187
|
}
|
166
188
|
}
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
189
|
+
}
|
190
|
+
|
191
|
+
.tags-input__tags--boxed {
|
192
|
+
background-color: rgba(0, 0, 0, 0.05);
|
193
|
+
padding-left: 0.4rem;
|
194
|
+
border-radius: $border-radius__base--x-small;
|
195
|
+
|
196
|
+
&:hover {
|
197
|
+
background-color: rgba(0, 0, 0, 0.1);
|
174
198
|
}
|
175
199
|
}
|
200
|
+
|
176
201
|
&.ng-invalid {
|
177
202
|
.tags-input__tags {
|
178
203
|
border-bottom: 1px solid $red !important;
|
@@ -184,24 +209,30 @@ tags-input,
|
|
184
209
|
.tags-input__host:focus {
|
185
210
|
outline: none;
|
186
211
|
}
|
212
|
+
|
187
213
|
.tags-input__tags {
|
188
214
|
background-color: #eee;
|
189
215
|
cursor: default;
|
216
|
+
|
190
217
|
.tags-input__tag-item {
|
191
218
|
opacity: 0.65;
|
219
|
+
|
192
220
|
.tags-input__remove-button {
|
193
221
|
cursor: default;
|
222
|
+
|
194
223
|
&:active {
|
195
224
|
color: #585858;
|
196
225
|
}
|
197
226
|
}
|
198
227
|
}
|
228
|
+
|
199
229
|
.tags-input__input {
|
200
230
|
background-color: #eee;
|
201
231
|
cursor: default;
|
202
232
|
}
|
203
233
|
}
|
204
234
|
}
|
235
|
+
|
205
236
|
.tags-input__add-button {
|
206
237
|
height: $sd-base-increment * 3;
|
207
238
|
width: $sd-base-increment * 3;
|
@@ -216,6 +247,7 @@ tags-input,
|
|
216
247
|
padding: 0;
|
217
248
|
justify-content: center;
|
218
249
|
flex-shrink: 0;
|
250
|
+
|
219
251
|
i {
|
220
252
|
color: inherit;
|
221
253
|
}
|
@@ -223,9 +255,11 @@ tags-input,
|
|
223
255
|
&:not(.tags-input__add-button--disabled):hover {
|
224
256
|
opacity: 1;
|
225
257
|
}
|
258
|
+
|
226
259
|
&:not(.tags-input__add-button--disabled):focus {
|
227
260
|
opacity: 1;
|
228
261
|
}
|
262
|
+
|
229
263
|
&[disabled], [disabled]:hover, [disabled]:active {
|
230
264
|
opacity: 0.5;
|
231
265
|
background-color: rgba(123, 123, 123, 0.4);
|
@@ -234,6 +268,7 @@ tags-input,
|
|
234
268
|
color: scale-color($white, $alpha: -20%);
|
235
269
|
}
|
236
270
|
}
|
271
|
+
|
237
272
|
.tags-input__remove-value {
|
238
273
|
display: flex;
|
239
274
|
align-items: center;
|
@@ -243,10 +278,12 @@ tags-input,
|
|
243
278
|
cursor: pointer;
|
244
279
|
opacity: 0.5;
|
245
280
|
transition: opacity 0.3s ease;
|
281
|
+
|
246
282
|
&:hover {
|
247
283
|
opacity: 1;
|
248
284
|
}
|
249
285
|
}
|
286
|
+
|
250
287
|
.autocomplete {
|
251
288
|
position: absolute;
|
252
289
|
padding: 0.5rem 0;
|
@@ -254,6 +291,7 @@ tags-input,
|
|
254
291
|
width: 100%;
|
255
292
|
background-color: var(--color-dropdown-menu-Bg);
|
256
293
|
box-shadow: $shadow__dropdown--default;
|
294
|
+
|
257
295
|
.suggestion-list {
|
258
296
|
margin: 0;
|
259
297
|
padding: 0;
|
@@ -262,10 +300,12 @@ tags-input,
|
|
262
300
|
overflow-y: auto;
|
263
301
|
position: relative;
|
264
302
|
}
|
303
|
+
|
265
304
|
.suggestion-list--multi-select {
|
266
305
|
padding: 4px 0 !important;
|
267
306
|
min-height: 40px;
|
268
307
|
}
|
308
|
+
|
269
309
|
.suggestion-list--loader {
|
270
310
|
padding: 4px 0 !important;
|
271
311
|
position: relative;
|
@@ -276,6 +316,7 @@ tags-input,
|
|
276
316
|
position: relative;
|
277
317
|
}
|
278
318
|
}
|
319
|
+
|
279
320
|
.suggestion-item {
|
280
321
|
position: relative;
|
281
322
|
white-space: nowrap;
|
@@ -284,19 +325,23 @@ tags-input,
|
|
284
325
|
color: $sd-text;
|
285
326
|
transition: all ease 0.2s;
|
286
327
|
min-height: $sd-base-increment * 4;
|
328
|
+
|
287
329
|
&.selected {
|
288
330
|
background-color: var(--sd-colour-interactive--alpha-30);
|
331
|
+
|
289
332
|
&:active {
|
290
333
|
background-color: var(--sd-colour-interactive--alpha-70);
|
291
334
|
color: $white;
|
292
335
|
}
|
293
336
|
}
|
337
|
+
|
294
338
|
&[disabled], &[disabled]:hover, &[disabled]:active {
|
295
339
|
background-color: transparent;
|
296
340
|
opacity: 0.45;
|
297
341
|
cursor: default;
|
298
342
|
pointer-events: none;
|
299
343
|
}
|
344
|
+
|
300
345
|
.suggestion-item__icon {
|
301
346
|
display: flex;
|
302
347
|
align-items: center;
|
@@ -304,10 +349,12 @@ tags-input,
|
|
304
349
|
opacity: 0.5;
|
305
350
|
}
|
306
351
|
}
|
352
|
+
|
307
353
|
.suggestion-item--multi-select {
|
308
354
|
display: flex;
|
309
355
|
align-items: center;
|
310
356
|
}
|
357
|
+
|
311
358
|
.suggestion-item--btn {
|
312
359
|
display: flex;
|
313
360
|
justify-content: space-between;
|
@@ -322,10 +369,12 @@ tags-input,
|
|
322
369
|
text-decoration: none;
|
323
370
|
outline: none;
|
324
371
|
}
|
372
|
+
|
325
373
|
&:hover {
|
326
374
|
background-color: var(--sd-colour-interactive--alpha-10) !important;
|
327
375
|
}
|
328
376
|
}
|
377
|
+
|
329
378
|
.suggestion-item--bgcolor {
|
330
379
|
min-height: 1.5em;
|
331
380
|
min-width: 1.5em;
|
@@ -340,9 +389,11 @@ tags-input,
|
|
340
389
|
padding-inline: 8px;
|
341
390
|
}
|
342
391
|
}
|
392
|
+
|
343
393
|
.suggestion-item--disabled {
|
344
394
|
opacity: 0.5;
|
345
395
|
}
|
396
|
+
|
346
397
|
.suggestion-item--nothing-found {
|
347
398
|
padding: 0.5rem 1rem;
|
348
399
|
cursor: not-allowed;
|
@@ -365,6 +416,7 @@ tags-input,
|
|
365
416
|
padding-inline: 0 !important;
|
366
417
|
height: auto !important;
|
367
418
|
min-height: $form-input-height;
|
419
|
+
|
368
420
|
.tags-input__tags {
|
369
421
|
.tags-input__input {
|
370
422
|
border: 0;
|
@@ -374,9 +426,11 @@ tags-input,
|
|
374
426
|
height: 26px;
|
375
427
|
color: currentColor;
|
376
428
|
background-color: transparent;
|
429
|
+
|
377
430
|
&.invalid-tag {
|
378
431
|
color: $red;
|
379
432
|
}
|
433
|
+
|
380
434
|
&::-ms-clear {
|
381
435
|
display: none;
|
382
436
|
}
|
@@ -386,25 +440,30 @@ tags-input,
|
|
386
440
|
&:focus {
|
387
441
|
box-shadow: unset !important;
|
388
442
|
}
|
443
|
+
|
389
444
|
&::placeholder {
|
390
445
|
opacity: 0.8;
|
391
446
|
font-weight: 300;
|
392
447
|
font-style: italic;
|
393
448
|
}
|
394
449
|
}
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
450
|
+
}
|
451
|
+
|
452
|
+
.tags-input__tags--boxed {
|
453
|
+
background-color: rgba(0, 0, 0, 0.05);
|
454
|
+
padding-inline-start: 0.4rem;
|
455
|
+
border-radius: $border-radius__base--x-small;
|
456
|
+
|
457
|
+
&:hover {
|
458
|
+
background-color: rgba(0, 0, 0, 0.1);
|
402
459
|
}
|
403
460
|
}
|
461
|
+
|
404
462
|
.tags-input__helper-box {
|
405
463
|
display: flex;
|
406
464
|
align-items: center;
|
407
465
|
}
|
466
|
+
|
408
467
|
.autocomplete {
|
409
468
|
position: absolute;
|
410
469
|
padding: 0;
|
@@ -415,6 +474,7 @@ tags-input,
|
|
415
474
|
border-radius: $border-radius__base--small;
|
416
475
|
background-color: var(--color-dropdown-menu-Bg);
|
417
476
|
box-shadow: $shadow__dropdown--default;
|
477
|
+
|
418
478
|
.autocomplete__header {
|
419
479
|
display: flex;
|
420
480
|
align-items: center;
|
@@ -423,6 +483,7 @@ tags-input,
|
|
423
483
|
border-bottom: 1px solid var(--sd-colour-line--light);
|
424
484
|
padding: 4px;
|
425
485
|
}
|
486
|
+
|
426
487
|
.autocomplete__category-header {
|
427
488
|
display: flex;
|
428
489
|
align-items: center;
|
@@ -431,6 +492,7 @@ tags-input,
|
|
431
492
|
border-bottom: 1px solid var(--sd-colour-line--x-light);
|
432
493
|
padding: 4px;
|
433
494
|
}
|
495
|
+
|
434
496
|
.autocomplete__icon {
|
435
497
|
display: flex;
|
436
498
|
align-items: center;
|
@@ -450,6 +512,7 @@ tags-input,
|
|
450
512
|
opacity: 0.65;
|
451
513
|
}
|
452
514
|
}
|
515
|
+
|
453
516
|
.autocomplete__filter {
|
454
517
|
height: 32px;
|
455
518
|
width: 100%;
|
@@ -457,6 +520,7 @@ tags-input,
|
|
457
520
|
align-items: center;
|
458
521
|
gap: 4px;
|
459
522
|
}
|
523
|
+
|
460
524
|
.autocomplete__button {
|
461
525
|
height: 32px;
|
462
526
|
padding: 0 15px;
|
@@ -465,11 +529,13 @@ tags-input,
|
|
465
529
|
cursor: default;
|
466
530
|
margin-inline-start: auto;
|
467
531
|
}
|
532
|
+
|
468
533
|
.autocomplete__category-title {
|
469
534
|
font-weight: 600;
|
470
535
|
padding: 0;
|
471
536
|
cursor: default;
|
472
537
|
}
|
538
|
+
|
473
539
|
.autocomplete__input {
|
474
540
|
height: 32px;
|
475
541
|
width: 100%;
|
@@ -477,12 +543,14 @@ tags-input,
|
|
477
543
|
border: none;
|
478
544
|
background-color: transparent;
|
479
545
|
color: var(--color-text);
|
546
|
+
|
480
547
|
&::placeholder {
|
481
548
|
color: var(--color-text-lighter);
|
482
549
|
font-weight: 300;
|
483
550
|
//font-style: italic;
|
484
551
|
}
|
485
552
|
}
|
553
|
+
|
486
554
|
.autocomplete__button--multi-select {
|
487
555
|
background-color: transparent;
|
488
556
|
border: 1px solid var(--sd-colour-interactive--alpha-50);
|
@@ -494,18 +562,22 @@ tags-input,
|
|
494
562
|
font-weight: 400;
|
495
563
|
margin-inline-end: $sd-base-increment;
|
496
564
|
height: 2.8rem;
|
565
|
+
|
497
566
|
&:hover {
|
498
567
|
border: 1px solid var(--sd-colour-interactive);
|
499
568
|
box-shadow: inset 0 0 0 2px var(--sd-colour-interactive--alpha-20);
|
500
569
|
}
|
570
|
+
|
501
571
|
&:focus {
|
502
572
|
border: 1px solid var(--sd-colour-interactive);
|
503
573
|
box-shadow: inset 0 0 0 2px var(--sd-colour-interactive--alpha-20);
|
504
574
|
}
|
575
|
+
|
505
576
|
&:active {
|
506
577
|
border: 1px solid var(--sd-colour-interactive);
|
507
578
|
box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-30);
|
508
579
|
}
|
580
|
+
|
509
581
|
&.autocomplete__button--disabled,
|
510
582
|
&.autocomplete__button--disabled:hover {
|
511
583
|
opacity: 0.75;
|
@@ -515,13 +587,15 @@ tags-input,
|
|
515
587
|
box-shadow: none;
|
516
588
|
}
|
517
589
|
}
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
590
|
+
}
|
591
|
+
|
592
|
+
.autocomplete--multi-select {
|
593
|
+
padding: 0 !important;
|
594
|
+
margin-block-start: 0;
|
595
|
+
}
|
596
|
+
|
597
|
+
.autocomplete--fixed-width {
|
598
|
+
width: 275px !important;
|
525
599
|
}
|
526
600
|
}
|
527
601
|
|
@@ -539,6 +613,7 @@ tags-input,
|
|
539
613
|
.tags-input__tags {
|
540
614
|
align-items: center;
|
541
615
|
}
|
616
|
+
|
542
617
|
&::after {
|
543
618
|
position: absolute;
|
544
619
|
z-index: 1;
|
@@ -555,6 +630,7 @@ tags-input,
|
|
555
630
|
inset-inline-end: 0;
|
556
631
|
inset-block-start: 1.5rem;
|
557
632
|
}
|
633
|
+
|
558
634
|
&:hover {
|
559
635
|
&::after {
|
560
636
|
opacity: 0.6;
|
@@ -575,11 +651,13 @@ tags-input,
|
|
575
651
|
justify-content: stretch;
|
576
652
|
padding-inline-start: $sd-base-increment;
|
577
653
|
padding-inline-end: $sd-base-increment * 3;
|
654
|
+
|
578
655
|
.tags-input__helper-box {
|
579
656
|
display: flex;
|
580
657
|
width: 100%;
|
581
658
|
align-items: center;
|
582
659
|
}
|
660
|
+
|
583
661
|
.tags-input__remove-button {
|
584
662
|
display: flex;
|
585
663
|
align-items: center;
|
@@ -589,10 +667,12 @@ tags-input,
|
|
589
667
|
cursor: pointer;
|
590
668
|
opacity: 0.5;
|
591
669
|
transition: opacity 0.3s ease;
|
670
|
+
|
592
671
|
&:hover {
|
593
672
|
opacity: 1;
|
594
673
|
}
|
595
674
|
}
|
675
|
+
|
596
676
|
.tags-input__placeholder {
|
597
677
|
color: var(--color-text-lighter);
|
598
678
|
font-weight: 300;
|