superdesk-ui-framework 7.0.0-dev-hg0 → 7.0.0-dev-hg2

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