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,508 @@
1
+ @use "sass:color";
2
+ @use "../mixins";
3
+ @use "../variables/colors";
4
+ @use "../variables/dimensions";
5
+
6
+ $photo-nav-transition: all 0.2s ease-out;
7
+
8
+ .sd-photo-preview {
9
+ margin: 0;
10
+ display: grid;
11
+ grid-template-columns: 1fr;
12
+ grid-template-rows: 1fr auto;
13
+ grid-gap: 0;
14
+ height: calc(100vh - 53px);
15
+ position: relative;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .sd-photo-preview--grid-only {
20
+ grid-template-rows: 0 1fr;
21
+
22
+ .sd-photo-preview__image {
23
+ height: 0;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .sd-photo-preview__thumb-strip {
28
+ overflow-y: auto;
29
+ }
30
+
31
+ .sd-photo-preview__thumb-strip--with-controls {
32
+ padding-block-start: 4.8rem;
33
+ }
34
+ }
35
+
36
+ .sd-photo-preview__thumb-controls {
37
+ position: absolute;
38
+ inset-block-start: 0;
39
+ inset-inline-start: 0;
40
+ inset-inline-end: 0;
41
+ min-height: 4.8rem;
42
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
43
+ z-index: 2;
44
+ display: flex;
45
+ justify-content: flex-end;
46
+ align-items: center;
47
+ background-color: rgba(32, 32, 32, 0.9);
48
+ padding: 0 2rem;
49
+ }
50
+
51
+ .sd-photo-preview__image, .sd-photo-preview__video {
52
+ position: relative;
53
+ grid-column: 1/2;
54
+ grid-row: 1/2;
55
+ text-align: center;
56
+ background-color: var(--sd-colour-bg__photo-preview);
57
+ max-height: 100%; // needed for firefox
58
+
59
+ &.actioning {
60
+ &::before {
61
+ content: '';
62
+ position: absolute;
63
+ inset-block-start: 0;
64
+ inset-inline-end: 0;
65
+ inset-block-end: 0;
66
+ inset-inline-start: 0;
67
+ z-index: 999;
68
+ background-image: url(../img/three-dots.svg);
69
+ background-repeat: no-repeat;
70
+ background-position: center center;
71
+ background-size: 60px;
72
+ background-color: var(--sd-colour-overlay-actioning);
73
+ }
74
+ }
75
+ }
76
+
77
+ .sd-photo-preview__video {
78
+ display: grid;
79
+ grid-template-rows: 1fr auto;
80
+ grid-template-columns: 1fr;
81
+ align-items: center;
82
+ justify-content: center;
83
+ max-height: none;
84
+ background-color: #232323;
85
+
86
+ .sd-photo-preview__video-inner {
87
+ grid-row: 1/2;
88
+ display: grid;
89
+ grid-template-rows: 1fr auto;
90
+ grid-template-columns: 1fr;
91
+ align-items: center;
92
+ justify-content: center;
93
+ margin: auto;
94
+ height: auto;
95
+ width: auto;
96
+ max-width: 100%;
97
+ min-width: 48rem;
98
+ }
99
+
100
+ .sd-photo-preview__video-container {
101
+ grid-row: 1/2;
102
+ margin: 0;
103
+ display: flex;
104
+ flex-direction: row;
105
+ align-items: center;
106
+ justify-content: center;
107
+
108
+ video {
109
+ max-width: 110vh;
110
+ width: auto;
111
+ height: auto;
112
+ max-height: 100vh;
113
+ margin-block-start: 2rem;
114
+ }
115
+ }
116
+
117
+ .sd-photo-preview__video-tools {
118
+ grid-row: 2/3;
119
+ margin: 0.8rem auto 3.2rem;
120
+ padding: 1.2rem;
121
+ border-radius: 0.8rem;
122
+ background-color: rgba(0, 0, 0, 0.3);
123
+ height: 6rem;
124
+ display: flex;
125
+ flex-direction: row;
126
+ align-items: center;
127
+ width: 100%;
128
+ }
129
+
130
+ .sd-photo-preview__video-tools--blank {
131
+ background-color: rgba(0, 0, 0, 0);
132
+ padding: 0.6rem;
133
+ }
134
+ }
135
+
136
+ .sd-photo-preview__label {
137
+ @include mixins.text-overflow;
138
+ background: rgba(0, 0, 0, 0.25);
139
+ color: inherit;
140
+ padding: 0.8rem 2rem;
141
+ margin: 1rem auto;
142
+ line-height: 100%;
143
+ border-radius: dimensions.$border-radius__base--x-small;
144
+ font-weight: 300;
145
+ min-width: 16rem;
146
+ }
147
+
148
+ .sd-photo-preview__image {
149
+ max-height: calc(100vh - 53px);
150
+ max-width: calc(100vw - 40rem);
151
+ transition: max-width 0.2s ease-in-out;
152
+ padding: 1.6rem;
153
+
154
+ img {
155
+ max-width: 100%;
156
+ max-height: 100%;
157
+ height: auto;
158
+ margin: auto;
159
+ }
160
+ }
161
+
162
+ .sd-column-box__main-column.sd-column-box__main-column--expanded {
163
+ .sd-photo-preview__image {
164
+ max-width: 100vw;
165
+ }
166
+ }
167
+
168
+ .sd-photo-preview__thumb-strip {
169
+ grid-column: 1/2;
170
+ grid-row: 2/3;
171
+ min-height: 16rem;
172
+ background-color: rgba(0, 0, 0, 0.2);
173
+ box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
174
+ position: relative;
175
+ overflow-y: auto;
176
+ }
177
+
178
+ .sd-photo-preview__thumb-strip--video {
179
+ min-height: 10rem;
180
+ display: flex;
181
+ flex-direction: row;
182
+ overflow: visible;
183
+ }
184
+
185
+ .sd-photo-preview__thumbnail-edit {
186
+ position: relative;
187
+ height: 16rem;
188
+ flex-grow: 0;
189
+
190
+ img {
191
+ max-width: 100%;
192
+ height: auto;
193
+ max-height: 16rem;
194
+ display: block;
195
+ }
196
+
197
+ .sd-photo-preview__thumbnail-edit-label {
198
+ position: absolute;
199
+ inset-block-start: -2.2rem;
200
+ inset-inline-start: 0;
201
+ inset-inline-end: 0;
202
+ height: 2rem;
203
+ text-align: center;
204
+ opacity: 0.5;
205
+ }
206
+ }
207
+
208
+ .image-overlay {
209
+ position: absolute;
210
+ inset-block-start: 0;
211
+ inset-inline-end: 0;
212
+ inset-block-end: 0;
213
+ inset-inline-start: 0;
214
+ display: flex;
215
+ flex-direction: column;
216
+ justify-content: space-between;
217
+ background-color: rgba(0, 0, 0, 0.5);
218
+ transition: 0.2s linear opacity;
219
+ z-index: 1;
220
+ opacity: 0;
221
+ color: colors.$white;
222
+
223
+ &:hover {
224
+ opacity: 1;
225
+ }
226
+ }
227
+
228
+ .image-overlay__button-block {
229
+ display: flex;
230
+ flex-direction: row;
231
+ align-items: center;
232
+ justify-content: center;
233
+ flex-grow: 1;
234
+ }
235
+
236
+ .image-overlay__button {
237
+ flex-grow: 0;
238
+ flex-shrink: 0;
239
+ color: #fff;
240
+ width: 4.8rem;
241
+ height: 4.8rem;
242
+ border: 2px solid rgba(255, 255, 255, 0.6);
243
+ border-radius: dimensions.$border-radius__base--full;
244
+ display: flex;
245
+ flex-direction: column;
246
+ align-items: center;
247
+ justify-content: center;
248
+ transition: 0.2s linear all;
249
+ cursor: pointer;
250
+ text-decoration: none;
251
+ background-color: rgba(0, 0, 0, 0.2);
252
+
253
+ i {
254
+ color: inherit;
255
+ line-height: 1;
256
+ opacity: 0.6;
257
+ transition: 0.2s linear all;
258
+ }
259
+
260
+ &:hover {
261
+ border-color: white;
262
+ background-color: rgba(0, 0, 0, 0.6);
263
+ text-decoration: none;
264
+
265
+ i {
266
+ opacity: 1;
267
+ }
268
+ }
269
+
270
+ &:active {
271
+ border-color: colors.$sd-colour-interactive;
272
+ background-color: rgba(0, 0, 0, 0.8);
273
+
274
+ i {
275
+ color: colors.$sd-colour-interactive;
276
+ }
277
+ }
278
+ }
279
+
280
+ .image-overlay__button + .image-overlay__button {
281
+ margin-inline-start: 0.8rem;
282
+ }
283
+
284
+ .sd-photo-preview__video-frames {
285
+ position: relative;
286
+ flex-grow: 1;
287
+ }
288
+
289
+ .sd-photo-preview--view-video {
290
+ .sd-photo-preview__video {
291
+ .sd-photo-preview__video-inner {
292
+ max-height: calc(100vh - 53px);
293
+ }
294
+ }
295
+ }
296
+
297
+ .sd-photo-preview--edit-video {
298
+ .sd-photo-preview__video {
299
+ .sd-photo-preview__video-inner {
300
+ max-height: calc(100vh - 53px - 160px);
301
+ max-width: 100vw;
302
+
303
+ .sd-photo-preview__video-container {
304
+ video {
305
+ max-width: calc(100vw - 4rem);
306
+ max-height: calc(100vh - 53px - 160px - 100px);
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+
313
+ .sd-photo-preview--view-video {
314
+ .sd-photo-preview__video {
315
+ .sd-photo-preview__video-inner {
316
+ max-height: calc(100vh - 53px);
317
+ max-width: calc(100vw - 44rem);
318
+
319
+ .sd-photo-preview__video-container {
320
+ video {
321
+ max-width: calc(100vw - 44rem);
322
+ max-height: calc(100vh - 53px - 90px);
323
+ }
324
+ }
325
+ }
326
+ }
327
+ }
328
+
329
+ @mixin photoNavButton-style(
330
+ $background: rgba(0,0,0,1),
331
+ $background-normal: color.scale($background, $alpha: -20%),
332
+ $background-hover: color.scale($background, $alpha: -10%),
333
+ $background-active: colors.$sd-colour-interactive)
334
+ {
335
+ border-radius: dimensions.$border-radius__base--full;
336
+ cursor: pointer;
337
+ height: 5.6rem;
338
+ line-height: 5.6rem;
339
+ position: absolute;
340
+ inset-block-start: calc(50% - 2.8rem);
341
+ width: 5.6rem;
342
+ box-shadow: 0 4px 24px rgba(0,0,0,.20), 0 10px 28px rgba(0,0,0,.35);
343
+ color: colors.$white;
344
+ transition: $photo-nav-transition;
345
+ background-color: $background-normal;
346
+ opacity: 0.3;
347
+
348
+ &:hover {
349
+ opacity: 0.6;
350
+ background-color: $background-hover;
351
+ }
352
+
353
+ &:active {
354
+ opacity: 0.8;
355
+ background-color: $background-active;
356
+ }
357
+
358
+ &::after {
359
+ content: " ";
360
+ font-family: 'sd_icons';
361
+ -webkit-font-smoothing: antialiased;
362
+ -moz-osx-font-smoothing: grayscale;
363
+ position: absolute;
364
+ inset-block-start:0;
365
+ inset-inline-start:0;
366
+ text-align: center;
367
+ z-index: 2;
368
+ color: colors.$white;
369
+ width: 5.6rem;
370
+ font-size: 3.2rem;
371
+ }
372
+ }
373
+
374
+ .sd-photo-preview__slide-in-button {
375
+ position: absolute !important;
376
+ inset-block-start: 2.4rem;
377
+ inset-inline-end: 0;
378
+ z-index: 2;
379
+ background-color: hsla(0, 0%, 100%, 0.1);
380
+ height:4.8rem;
381
+ width:4.8rem;
382
+ color: colors.$white;
383
+ display: flex;
384
+ flex-direction: row;
385
+ align-items: center;
386
+ padding: 0 0 0 1.6rem;
387
+ border-radius: 6px 0 0 6px;
388
+ opacity: 0.5;
389
+ cursor: pointer;
390
+ text-decoration: none !important;
391
+ transition: $photo-nav-transition;
392
+
393
+ [class^="icon-"],
394
+ [class*=" icon-"] {
395
+ color: colors.$white;
396
+ flex-shrink: 0;
397
+ }
398
+
399
+ &:hover {
400
+ opacity: 1;
401
+ }
402
+
403
+ &:active {
404
+ background-color: colors.$sd-colour-interactive;
405
+ opacity: 1;
406
+ }
407
+ }
408
+
409
+ .sd-photo-preview__nav-button {
410
+ @include photoNavButton-style;
411
+ }
412
+
413
+ .sd-photo-preview__nav-button--next {
414
+ inset-inline-end: 0.8rem;
415
+ color: inherit;
416
+
417
+ &::after {
418
+ content: "\e643";
419
+ }
420
+ }
421
+ .sd-photo-preview__nav-button--prev {
422
+ inset-inline-start: 0.8rem;
423
+ color: inherit;
424
+
425
+ &::after {
426
+ content: "\e642";
427
+ }
428
+ }
429
+
430
+ .upload__target {
431
+ position: absolute;
432
+ inset-block-start:0;
433
+ inset-inline-end: 0;
434
+ inset-block-end: 0;
435
+ inset-inline-start:0;
436
+ z-index: 0;
437
+ border: 2px dashed colors.$sd-colour-interactive;
438
+ background-color: var(--sd-colour-interactive--alpha-10);
439
+ }
440
+
441
+ .upload__info {
442
+ margin: 0 auto;
443
+ max-width: 40rem;
444
+ position: relative;
445
+ inset-block-start: 50%;
446
+ margin-block-start: -10.6rem;
447
+ z-index: 1;
448
+ }
449
+
450
+ .upload__info-icon {
451
+ margin: 0 auto;
452
+ height: 7.4rem;
453
+ width: 9rem;
454
+ background-image: url(../img/icon_image_stack--white.svg);
455
+ opacity: 0.25;
456
+ text-align: center;
457
+ }
458
+
459
+ .upload__info-heading {
460
+ margin: 0 auto;
461
+ opacity: 0.5;
462
+ text-align: center;
463
+ padding-block-start: 3rem;
464
+ text-align: center;
465
+ color: var(--color-text-muted);
466
+ font-size: 2.4rem;
467
+ font-weight: 300;
468
+ }
469
+
470
+ .upload__info-label {
471
+ position: relative;
472
+ text-align: center;
473
+ font-style: italic;
474
+ margin: 2.2rem auto;
475
+ color: var(--color-text-subdued);
476
+ opacity: 0.85;
477
+
478
+ &::after, &::before {
479
+ content: "___________";
480
+ position: absolute;
481
+ inset-block-start: -0.5rem;
482
+ color: inherit;
483
+ opacity: 0.25;
484
+ }
485
+
486
+ &::after {
487
+ margin-inline-start: 1.5rem;
488
+ }
489
+
490
+ &::before {
491
+ margin-inline-start: -7.8rem;
492
+ }
493
+ }
494
+ .upload__info-button {
495
+ display: block;
496
+ margin: 0 auto;
497
+ text-align: center;
498
+ opacity: 0.75;
499
+ }
500
+
501
+
502
+ .sd-photo-preview__thumb-strip {
503
+ &:hover {
504
+ .upload-target {
505
+ display: block;
506
+ }
507
+ }
508
+ }