superdesk-ui-framework 3.0.41 → 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.
Files changed (104) hide show
  1. package/app/styles/_accessibility.scss +349 -310
  2. package/app/styles/_alerts.scss +102 -71
  3. package/app/styles/_animations.scss +29 -16
  4. package/app/styles/_avatar.scss +159 -140
  5. package/app/styles/_badge.scss +11 -5
  6. package/app/styles/_big-icon-font.scss +21 -9
  7. package/app/styles/_boxed-list.scss +72 -47
  8. package/app/styles/_buttons.scss +266 -177
  9. package/app/styles/_carousel.scss +58 -45
  10. package/app/styles/_content-divider.scss +28 -2
  11. package/app/styles/_drag-drop.scss +3 -0
  12. package/app/styles/_empty-states.scss +21 -13
  13. package/app/styles/_hamburger.scss +142 -144
  14. package/app/styles/_helpers.scss +297 -93
  15. package/app/styles/_icon-font.scss +75 -43
  16. package/app/styles/_icon-labels.scss +11 -1
  17. package/app/styles/_labels.scss +27 -14
  18. package/app/styles/_loaders.scss +2 -1
  19. package/app/styles/_master-desk.scss +67 -31
  20. package/app/styles/_mixins.scss +40 -20
  21. package/app/styles/_modals.scss +112 -56
  22. package/app/styles/_panel-info.scss +38 -34
  23. package/app/styles/_popover.scss +0 -1
  24. package/app/styles/_publisher-styles.scss +132 -122
  25. package/app/styles/_sd-tag-input.scss +104 -24
  26. package/app/styles/_simple-list.scss +89 -66
  27. package/app/styles/_spinner.scss +24 -17
  28. package/app/styles/_table-list.scss +114 -80
  29. package/app/styles/_tables.scss +14 -2
  30. package/app/styles/_tabs-vertical.scss +46 -43
  31. package/app/styles/_tabs.scss +97 -87
  32. package/app/styles/_tag-labels.scss +26 -11
  33. package/app/styles/_thumb-carousel.scss +37 -11
  34. package/app/styles/_toggle-box.scss +27 -7
  35. package/app/styles/_toggle-button.scss +5 -1
  36. package/app/styles/_tooltips.scss +284 -272
  37. package/app/styles/components/_card-item.scss +268 -192
  38. package/app/styles/components/_list-item.scss +261 -175
  39. package/app/styles/components/_sd-circular-progress.scss +109 -79
  40. package/app/styles/components/_sd-collapse-box.scss +45 -33
  41. package/app/styles/components/_sd-comment-box.scss +17 -12
  42. package/app/styles/components/_sd-dropzone.scss +32 -15
  43. package/app/styles/components/_sd-editor-popup.scss +29 -15
  44. package/app/styles/components/_sd-grid-item.scss +349 -237
  45. package/app/styles/components/_sd-loader.scss +1 -2
  46. package/app/styles/components/_sd-media-carousel.scss +119 -78
  47. package/app/styles/components/_sd-notification-panel.scss +2 -1
  48. package/app/styles/components/_sd-pagination.scss +27 -19
  49. package/app/styles/components/_sd-photo-preview.scss +82 -41
  50. package/app/styles/components/_sd-searchbar.scss +79 -51
  51. package/app/styles/components/_sd-toaster.scss +52 -30
  52. package/app/styles/components/_subnav.scss +230 -135
  53. package/app/styles/components/_theme-selector.scss +78 -53
  54. package/app/styles/components/sd-slider.scss +11 -7
  55. package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
  56. package/app/styles/design-tokens/_new-colors.scss +3 -1
  57. package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
  58. package/app/styles/dropdowns/_input-dropdown.scss +5 -2
  59. package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
  60. package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
  61. package/app/styles/dropdowns/_other_dropdown.scss +9 -3
  62. package/app/styles/editor/_editor-buttons.scss +10 -6
  63. package/app/styles/editor/_editor-themes.scss +401 -350
  64. package/app/styles/form-elements/_autocomplete.scss +7 -1
  65. package/app/styles/form-elements/_checkbox.scss +230 -159
  66. package/app/styles/form-elements/_forms-general.scss +345 -285
  67. package/app/styles/form-elements/_input-preview.scss +15 -9
  68. package/app/styles/form-elements/_input-wrap.scss +77 -71
  69. package/app/styles/form-elements/_inputs.scss +668 -489
  70. package/app/styles/form-elements/_radio.scss +10 -5
  71. package/app/styles/form-elements/_switch.scss +27 -16
  72. package/app/styles/grids/_basic-grid.scss +83 -64
  73. package/app/styles/grids/_grid-layout.scss +301 -165
  74. package/app/styles/grids/_layout-grid.scss +85 -59
  75. package/app/styles/grids/_sd-kanban-list.scss +14 -4
  76. package/app/styles/interface-elements/_side-panel.scss +279 -200
  77. package/app/styles/layout/_basic-layout.scss +36 -34
  78. package/app/styles/layout/_container.scss +38 -31
  79. package/app/styles/layout/_editor.scss +57 -17
  80. package/app/styles/layout/_general.scss +81 -67
  81. package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
  82. package/app/styles/menus/_sd-content-navigation.scss +20 -16
  83. package/app/styles/menus/_sd-left-navigation.scss +62 -49
  84. package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
  85. package/app/styles/menus/_sd-top-menu.scss +16 -7
  86. package/app/styles/primereact/_pr-autocomplete.scss +2 -0
  87. package/app/styles/primereact/_pr-datepicker.scss +20 -7
  88. package/app/styles/primereact/_pr-dialog.scss +55 -47
  89. package/app/styles/primereact/_pr-dropdown.scss +27 -22
  90. package/app/styles/primereact/_pr-general.scss +3 -0
  91. package/app/styles/primereact/_pr-menu.scss +2 -1
  92. package/app/styles/primereact/_pr-skeleton.scss +1 -0
  93. package/app/styles/primereact/_pr-tag-input.scss +1 -0
  94. package/app/styles/variables/_colors.scss +168 -170
  95. package/app/styles/variables/_typography.scss +1 -2
  96. package/app-typescript/components/Form/InputWrapper.tsx +1 -1
  97. package/app-typescript/components/Menu.tsx +1 -1
  98. package/dist/examples.bundle.css +18 -16
  99. package/dist/examples.bundle.js +5 -7
  100. package/dist/superdesk-ui.bundle.css +4271 -3557
  101. package/dist/superdesk-ui.bundle.js +4 -6
  102. package/package.json +2 -2
  103. package/react/components/Form/InputWrapper.d.ts +1 -1
  104. package/react/components/Menu.js +1 -1
@@ -1,5 +1,4 @@
1
1
  // LIST ITEMS : components/list-items.scss
2
- // --------------
3
2
 
4
3
  //background color
5
4
  $sd-ListItem-background: var(--sd-item__main-Bg);
@@ -17,51 +16,18 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
17
16
  background-color: $sd-ListItem-background;
18
17
  transition: background-color 0.2s linear;
19
18
  flex-shrink: 0;
19
+
20
20
  &:hover {
21
21
  background-color: $sd-ListItem-background-hover;
22
22
  cursor: pointer;
23
23
  }
24
- &--active, &.active {
25
- background-color: $sd-ListItem-background-activated;
26
- }
27
- &--selected, &--selected:hover, &.selected, &.selected:hover {
28
- background-color: $sd-ListItem-background-selected;
29
- outline: 1px solid var(--sd-colour-interactive--alpha-50);
30
- }
31
- &--activated, &--activated:hover {
32
- background-color: $sd-ListItem-background-activated;
33
- }
34
- &--no-bg {
35
- background-color: transparent;
36
- }
37
- &--no-hover {
38
- &:hover {
39
- background-color: $sd-ListItem-background;
40
- cursor: default;
41
- }
42
- }
43
- &--inactive {
44
- background-color: transparent;
45
- color: rgba(123, 123, 123, 0.75);
46
- }
47
- &--draggable {
48
- &:hover {
49
- cursor: move; /* fallback if grab is unsupported */
50
- cursor: grab;
51
- cursor: -moz-grab;
52
- cursor: -webkit-grab;
53
- }
54
- &:active {
55
- cursor: grabbing;
56
- cursor: -moz-grabbing;
57
- cursor: -webkit-grabbing;
58
- }
59
- }
24
+
60
25
  &.actioning {
61
26
  &:hover {
62
27
  //pointer-events: none;
63
28
  //cursor: default !important;
64
29
  cursor: progress;
30
+
65
31
  .sd-list-item__action-menu {
66
32
  padding: 0;
67
33
  width: 0;
@@ -69,6 +35,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
69
35
  opacity: 0;
70
36
  }
71
37
  }
38
+
72
39
  &::before {
73
40
  content: '';
74
41
  position: absolute;
@@ -85,11 +52,13 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
85
52
  border-radius: var(--b-radius--small);
86
53
  }
87
54
  }
55
+
88
56
  &.locked {
89
57
  .sd-list-item__border {
90
58
  background: $red;
91
59
  }
92
60
  }
61
+
93
62
  &.archived {
94
63
  &:after {
95
64
  content: "";
@@ -105,28 +74,77 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
105
74
  opacity: 0.16;
106
75
  }
107
76
  }
77
+
108
78
  .avatar {
109
79
  flex-shrink: 0;
110
80
  }
111
81
  }
112
82
 
83
+ .sd-list-item--active, .sd-list-item.active {
84
+ background-color: $sd-ListItem-background-activated;
85
+ }
86
+
87
+ .sd-list-item--selected, .sd-list-item--selected:hover, .sd-list-item.selected, .sd-list-item.selected:hover {
88
+ background-color: $sd-ListItem-background-selected;
89
+ outline: 1px solid var(--sd-colour-interactive--alpha-50);
90
+ }
91
+
92
+ .sd-list-item--activated, .sd-list-item--activated:hover {
93
+ background-color: $sd-ListItem-background-activated;
94
+ }
95
+
96
+ .sd-list-item--no-bg {
97
+ background-color: transparent;
98
+ }
99
+
100
+ .sd-list-item--no-hover {
101
+ &:hover {
102
+ background-color: $sd-ListItem-background;
103
+ cursor: default;
104
+ }
105
+ }
106
+
107
+ .sd-list-item--inactive {
108
+ background-color: transparent;
109
+ color: rgba(123, 123, 123, 0.75);
110
+ }
111
+
112
+ .sd-list-item--draggable {
113
+ &:hover {
114
+ cursor: move; /* fallback if grab is unsupported */
115
+ cursor: grab;
116
+ cursor: -moz-grab;
117
+ cursor: -webkit-grab;
118
+ }
119
+
120
+ &:active {
121
+ cursor: grabbing;
122
+ cursor: -moz-grabbing;
123
+ cursor: -webkit-grabbing;
124
+ }
125
+ }
126
+
113
127
  .sd-list-item__border {
114
128
  width: 0.4rem;
115
129
  flex-grow: 0;
116
130
  flex-shrink: 0;
117
131
  background: transparent;
118
- &--locked, &--error {
119
- background: $red;
120
- }
121
- &--success, &--active {
122
- background: $green;
123
- }
124
- &--idle {
125
- background: $orange;
126
- }
127
- &--dark-blue {
128
- background: #4d646f;
129
- }
132
+ }
133
+
134
+ .sd-list-item__border--locked, .sd-list-item__border--error {
135
+ background: $red;
136
+ }
137
+
138
+ .sd-list-item__border--success, .sd-list-item__border--active {
139
+ background: $green;
140
+ }
141
+
142
+ .sd-list-item__border--idle {
143
+ background: $orange;
144
+ }
145
+
146
+ .sd-list-item__border--dark-blue {
147
+ background: #4d646f;
130
148
  }
131
149
 
132
150
  .sd-list-item__dot {
@@ -138,18 +156,22 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
138
156
  height: 6px;
139
157
  border-radius: $border-radius__base--full;
140
158
  background-color: transparent;
141
- &--locked, &--error {
142
- background: $red;
143
- }
144
- &--success, &--active {
145
- background: $green;
146
- }
147
- &--idle {
148
- background: $orange;
149
- }
150
- &--dark-blue {
151
- background: #4d646f;
152
- }
159
+ }
160
+
161
+ .sd-list-item__dot--locked, .sd-list-item__dot--error {
162
+ background: $red;
163
+ }
164
+
165
+ .sd-list-item__dot--success, .sd-list-item__dot--active {
166
+ background: $green;
167
+ }
168
+
169
+ .sd-list-item__dot--idle {
170
+ background: $orange;
171
+ }
172
+
173
+ .sd-list-item__dot--dark-blue {
174
+ background: #4d646f;
153
175
  }
154
176
 
155
177
  .sd-list-item__column {
@@ -160,68 +182,83 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
160
182
  padding: 0 $sd-base-increment * 1.5;
161
183
  overflow: hidden;
162
184
  flex-shrink: 0;
185
+
163
186
  &:last-child, &:last-of-type, &:only-child {
164
187
  border:none;
165
188
  }
166
- &--no-border {
167
- border:none;
168
- }
169
- &--large-padding {
170
- padding: 0.8rem 1.6rem;
171
- }
172
- &--no-right-padding {
173
- padding-right: 0;
174
- }
175
- &--grow {
176
- flex-grow: 1;
177
- flex-shrink: 1;
189
+ }
190
+
191
+ .sd-list-item__column--no-border {
192
+ border:none;
193
+ }
194
+
195
+ .sd-list-item__column--large-padding {
196
+ padding: 0.8rem 1.6rem;
197
+ }
198
+
199
+ .sd-list-item__column--no-right-padding {
200
+ padding-right: 0;
201
+ }
202
+
203
+ .sd-list-item__column--grow {
204
+ flex-grow: 1;
205
+ flex-shrink: 1;
206
+ }
207
+
208
+ .sd-list-item__column--shrink {
209
+ flex-shrink: 1;
210
+ }
211
+
212
+ .sd-list-item__column--has-check {
213
+ position: relative;
214
+
215
+ .sd-list-item__item-type {
216
+ opacity: 1;
217
+ margin-top: -0.2rem;
218
+ transition: opacity 0.1s linear;
178
219
  }
179
- &--shrink {
180
- flex-shrink: 1;
220
+
221
+ .sd-list-item__checkbox-container {
222
+ position: absolute;
223
+ padding: 0 0.8rem;
224
+ top: 0;
225
+ bottom:0;
226
+ left:0;
227
+ right:0;
228
+ display: flex;
229
+ flex-direction: column;
230
+ justify-content: center;
231
+ z-index: 2;
232
+ opacity: 0;
233
+ transition: opacity 0.2s linear;
234
+
235
+ .sd-check__wrapper {
236
+ height: 1.6rem;
237
+ width: 1.6rem;
238
+
239
+ .sd-checkbox {
240
+ display: block;
241
+ }
242
+ }
181
243
  }
182
- &--has-check {
183
- position: relative;
244
+
245
+ &:hover {
184
246
  .sd-list-item__item-type {
185
- opacity: 1;
186
- margin-top: -0.2rem;
187
- transition: opacity 0.1s linear;
247
+ opacity: 0;
188
248
  }
249
+
189
250
  .sd-list-item__checkbox-container {
190
- position: absolute;
191
- padding: 0 0.8rem;
192
- top: 0;
193
- bottom:0;
194
- left:0;
195
- right:0;
196
- display: flex;
197
- flex-direction: column;
198
- justify-content: center;
199
- z-index: 2;
200
- opacity: 0;
201
- transition: opacity 0.2s linear;
202
- .sd-check__wrapper {
203
- height: 1.6rem;
204
- width: 1.6rem;
205
- .sd-checkbox {
206
- display: block;
207
- }
208
- }
251
+ opacity: 1;
209
252
  }
210
- &:hover {
211
- .sd-list-item__item-type {
212
- opacity: 0;
213
- }
214
- .sd-list-item__checkbox-container {
215
- opacity: 1;
216
- }
253
+ }
254
+
255
+ &.sd-list-item__column--checked, &.sd-list-item__column--checked:hover {
256
+ .sd-list-item__item-type {
257
+ opacity: 0;
217
258
  }
218
- &.sd-list-item__column--checked, &.sd-list-item__column--checked:hover {
219
- .sd-list-item__item-type {
220
- opacity: 0;
221
- }
222
- .sd-list-item__checkbox-container {
223
- opacity: 1;
224
- }
259
+
260
+ .sd-list-item__checkbox-container {
261
+ opacity: 1;
225
262
  }
226
263
  }
227
264
  }
@@ -233,22 +270,28 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
233
270
  align-items: center;
234
271
  overflow: hidden;
235
272
  gap: var(--gap--small);
273
+
236
274
  &:first-child {
237
275
  margin: 0.8rem 0 0.2rem;
238
276
  }
277
+
239
278
  &:last-child {
240
279
  margin: 0.2rem 0 0.8rem;
241
280
  }
281
+
242
282
  &:only-child {
243
283
  margin: 0.2rem 0;
244
284
  }
245
- &--only-child {
246
- margin: 0.2rem 0 !important;
247
- }
248
- &--wrap {
249
- flex-wrap: wrap;
250
- }
251
285
  }
286
+
287
+ .sd-list-item__row--only-child {
288
+ margin: 0.2rem 0 !important;
289
+ }
290
+
291
+ .sd-list-item__row--wrap {
292
+ flex-wrap: wrap;
293
+ }
294
+
252
295
  .sd-list-item__action-menu {
253
296
  display: flex;
254
297
  flex-direction: column;
@@ -261,13 +304,16 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
261
304
  opacity: 0;
262
305
  transition: all ease-in 0.1s;
263
306
  align-items: center;
264
- &--direction-row {
265
- flex-direction: row;
266
- }
307
+
267
308
  > .dropdown__toggle {
268
309
  line-height: 0;
269
310
  }
270
311
  }
312
+
313
+ .sd-list-item__action-menu--direction-row {
314
+ flex-direction: row;
315
+ }
316
+
271
317
  .sd-list-item__thumbnail, figure.sd-list-item__thumbnail {
272
318
  width: 6.4rem;
273
319
  height: 4.2rem;
@@ -278,6 +324,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
278
324
  align-items: center;
279
325
  justify-content: center;
280
326
  background-color: rgba(128,128,128,0.2);
327
+
281
328
  img {
282
329
  max-width: 100%;
283
330
  max-height: 100%;
@@ -292,6 +339,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
292
339
  font-weight: 300;
293
340
  color: $grayLight;
294
341
  }
342
+
295
343
  .sd-list-item:hover, .sd-list-item--activated {
296
344
  .sd-list-item__action-menu {
297
345
  padding: 0 0.6rem;
@@ -305,7 +353,6 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
305
353
  flex-grow: 1;
306
354
  }
307
355
 
308
-
309
356
  .sd-list-item {
310
357
  .badge {
311
358
  margin: 0.2rem;
@@ -330,6 +377,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
330
377
  letter-spacing: 0.025em;
331
378
  flex-shrink: 0;
332
379
  }
380
+
333
381
  .sd-list-item__slugline {
334
382
  color: $sd-slugline;
335
383
  font-weight: 500;
@@ -337,32 +385,39 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
337
385
  text-transform: uppercase;
338
386
  flex-shrink: 0;
339
387
  }
388
+
340
389
  .sd-list-item__headline {
341
390
  color: $sd-text;
342
391
  font-weight: 500;
343
392
  font-size: 1.3rem;
344
393
  }
394
+
345
395
  .sd-list-item__normal {
346
396
  color: $sd-text;
347
397
  font-weight: 300;
348
398
  }
399
+
349
400
  .sd-list-item__strong {
350
401
  color: $sd-text;
351
402
  font-weight: 500;
352
403
  }
404
+
353
405
  .sd-list-item__text-label {
354
406
  color: var(--color-text-light);
355
407
  font-weight: 400;
356
408
  font-style: italic;
357
- &--normal {
358
- font-style: normal;
359
- }
360
409
  }
410
+
411
+ .sd-list-item__text-label--normal {
412
+ font-style: normal;
413
+ }
414
+
361
415
  .sd-list-item__compound-text {
362
416
  display: flex;
363
417
  flex-direction: row;
364
418
  gap: var(--gap--x-small);
365
419
  }
420
+
366
421
  .sd-list-item__inline-icon,
367
422
  .sd-list-item__inline-text {
368
423
  margin-inline-end: 0.6rem;
@@ -374,23 +429,29 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
374
429
  gap: var(--gap--small);
375
430
  min-height: 2rem;
376
431
  margin-inline-end: 4px;
432
+
377
433
  .sd-list-item__inline-icon {
378
434
  margin: 0;
379
435
  }
380
436
  }
437
+
381
438
  .sd-list-item__text-strong {
382
439
  font-weight: 500;
383
440
  color: $sd-text;
384
441
  }
442
+
385
443
  .sd-list-item__element-rm-10 {
386
444
  margin-inline-end: 1rem;
387
445
  }
446
+
388
447
  .sd-list-item__element-lm-10 {
389
448
  margin-inline-start: 1rem;
390
449
  }
450
+
391
451
  .sd-list-item__location {
392
452
  padding-left: 1.6rem;
393
453
  position: relative;
454
+
394
455
  &::before {
395
456
  position: absolute;
396
457
  left: 0;
@@ -426,30 +487,35 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
426
487
  line-height: 3.2rem;
427
488
  letter-spacing: -0.03em;
428
489
  vertical-align: middle;
429
- &--small {
430
- height: 2.4rem;
431
- width: 2.4rem;
432
- font-size: 1rem;
433
- line-height: 2.5rem;
434
- }
435
- &--large {
436
- height: 4.8rem;
437
- width: 4.8rem;
438
- font-size: 1.8rem;
439
- line-height: 5rem;
440
- }
441
- &--no-margin {
442
- margin: 0;
443
- }
444
- &--empty {
445
- background-color: rgba(123, 123, 123, 0.05);
446
- color: transparent;
447
- border: 1px dashed rgba(123, 123, 123, 0.6);
448
- }
449
- &--on-right {
450
- margin-inline-end: 0;
451
- margin-inline-start: 0.6rem;
452
- }
490
+ }
491
+
492
+ .avatar--small {
493
+ height: 2.4rem;
494
+ width: 2.4rem;
495
+ font-size: 1rem;
496
+ line-height: 2.5rem;
497
+ }
498
+
499
+ .avatar--large {
500
+ height: 4.8rem;
501
+ width: 4.8rem;
502
+ font-size: 1.8rem;
503
+ line-height: 5rem;
504
+ }
505
+
506
+ .avatar--no-margin {
507
+ margin: 0;
508
+ }
509
+
510
+ .avatar--empty {
511
+ background-color: rgba(123, 123, 123, 0.05);
512
+ color: transparent;
513
+ border: 1px dashed rgba(123, 123, 123, 0.6);
514
+ }
515
+
516
+ .avatar--on-right {
517
+ margin-inline-end: 0;
518
+ margin-inline-start: 0.6rem;
453
519
  }
454
520
 
455
521
  .dropdown__toggle {
@@ -459,6 +525,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
459
525
  opacity: 1;
460
526
  }
461
527
  }
528
+
462
529
  &:active {
463
530
  [class^="icon-"],
464
531
  [class*=" icon-"] {
@@ -467,9 +534,9 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
467
534
  }
468
535
  }
469
536
  }
537
+
470
538
  .sd-list-item--activated {
471
539
  .dropdown__toggle {
472
-
473
540
  [class^="icon-"],
474
541
  [class*=" icon-"] {
475
542
  opacity: 1;
@@ -485,17 +552,20 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
485
552
  flex-direction: column;
486
553
  //margin-top: .8rem;
487
554
  }
555
+
488
556
  .sd-list-item-nested__childs {
489
557
  position: relative;
490
558
  z-index: 0;
491
559
  display: flex;
492
560
  flex-direction: column;
493
561
  margin-inline-start: 1rem;
562
+
494
563
  .sd-list-item {
495
564
  margin-top: 0;
496
565
  border-top: 1px solid var(--sd-colour-line--x-light);
497
566
  }
498
567
  }
568
+
499
569
  .sd-list-item-nested__parent {
500
570
  position: relative;
501
571
  z-index: 1;
@@ -510,6 +580,7 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
510
580
  overflow: hidden;
511
581
  }
512
582
  }
583
+
513
584
  .sd-list-item-nested--expanded {
514
585
  .sd-list-item-nested__childs {
515
586
  transition: all ease-in 0.2s;
@@ -522,77 +593,92 @@ $sd-ListItem-column-border: var(--sd-colour-line--x-light);
522
593
  .sd-list-item-group {
523
594
  display: flex;
524
595
  flex-direction: column;
596
+
525
597
  .sd-list-item {
526
598
  + .sd-list-item {
527
599
  border-top: 1px solid var(--sd-colour-line--x-light);
528
600
  }
529
601
  }
602
+
530
603
  .sd-list-item-nested {
531
604
  + .sd-list-item {
532
605
  border-top: 1px solid var(--sd-colour-line--x-light);
533
606
  }
534
607
  }
535
- &--space-between-items {
536
- gap: var(--gap--small);
537
- .sd-list-item {
538
- border-radius: var(--b-radius--small);
539
- + .sd-list-item {
540
- border-top: none;
541
- }
542
- .sd-list-item__border {
543
- border-radius: var(--b-radius--small) 0 0 var(--b-radius--small);
544
- }
608
+ }
609
+
610
+ .sd-list-item-group--space-between-items {
611
+ gap: var(--gap--small);
612
+
613
+ .sd-list-item {
614
+ border-radius: var(--b-radius--small);
615
+
616
+ + .sd-list-item {
617
+ border-top: none;
545
618
  }
546
- .sd-list-item-nested {
547
- + .sd-list-item {
548
- border-top: none;
549
- }
619
+
620
+ .sd-list-item__border {
621
+ border-radius: var(--b-radius--small) 0 0 var(--b-radius--small);
550
622
  }
551
- .sd-list-item-nested__childs {
552
- .sd-list-item {
553
- margin-top: 0;
554
- border-top: 1px solid var(--sd-colour-line--x-light);
555
- }
623
+ }
624
+
625
+ .sd-list-item-nested {
626
+ + .sd-list-item {
627
+ border-top: none;
556
628
  }
557
629
  }
558
- &--margin {
559
- margin: 2rem;
630
+
631
+ .sd-list-item-nested__childs {
632
+ .sd-list-item {
633
+ margin-top: 0;
634
+ border-top: 1px solid var(--sd-colour-line--x-light);
635
+ }
560
636
  }
561
637
  }
562
638
 
639
+ .sd-list-item-group--margin {
640
+ margin: 2rem;
641
+ }
642
+
563
643
  .sd-list-header {
564
644
  display: flex;
565
645
  height: 2.4rem;
566
646
  margin-bottom: $sd-base-increment;
567
647
  align-items: center;
648
+
568
649
  .sd-list-header__name {
569
650
  font-size: 1.1rem;
570
651
  letter-spacing: .08em;
571
652
  font-weight: 500;
572
653
  text-transform: uppercase;
573
654
  color: var(--color-text-light);
655
+
574
656
  a {
575
657
  color: $sd-colour-interactive;
576
658
  text-decoration: none;
577
659
  display: inline-block;
578
660
  line-height: 1;
661
+
579
662
  &:hover {
580
663
  color: var(--sd-colour-interactive--darken-20);
581
664
  border-bottom: 1px dotted currentColor;
582
665
  }
583
666
  }
584
667
  }
668
+
585
669
  .sd-list-header__number {
586
670
  margin-inline-start: 1rem;
587
671
  }
672
+
588
673
  .sd-list-header__stretch-bar {
589
674
  flex-grow: 1;
590
675
  height: 1px;
591
676
  background: transparent;
592
677
  margin: auto 0;
593
678
  }
594
- &--m-top {
595
- margin-top: 2.4rem;
596
- }
679
+ }
680
+
681
+ .sd-list-header--m-top {
682
+ margin-top: 2.4rem;
597
683
  }
598
684