superdesk-ui-framework 3.0.62 → 3.0.64
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 +1 -1
- package/app/styles/_alerts.scss +6 -6
- package/app/styles/_avatar.scss +4 -4
- package/app/styles/_badge.scss +4 -4
- package/app/styles/_big-icon-font.scss +1 -1
- package/app/styles/_boxed-list.scss +8 -8
- package/app/styles/_buttons.scss +17 -17
- package/app/styles/_carousel.scss +20 -20
- package/app/styles/_content-divider.scss +20 -20
- package/app/styles/_empty-states.scss +8 -8
- package/app/styles/_hamburger.scss +8 -8
- package/app/styles/_helpers.scss +509 -122
- package/app/styles/_loaders.scss +8 -8
- package/app/styles/_master-desk.scss +14 -14
- package/app/styles/_mixins.scss +4 -4
- package/app/styles/_modals.scss +18 -18
- package/app/styles/_normalize.scss +3 -3
- package/app/styles/_popover.scss +2 -2
- package/app/styles/_publisher-styles.scss +13 -13
- package/app/styles/_sd-tag-input.scss +18 -18
- package/app/styles/_simple-list.scss +6 -6
- package/app/styles/_table-list.scss +2 -2
- package/app/styles/_tables.scss +10 -10
- package/app/styles/_tabs-vertical.scss +3 -3
- package/app/styles/_tabs.scss +4 -4
- package/app/styles/_tag-labels.scss +4 -4
- package/app/styles/_thumb-carousel.scss +14 -14
- package/app/styles/_toggle-box.scss +8 -8
- package/app/styles/_toggle-button.scss +1 -1
- package/app/styles/_tooltips.scss +37 -37
- package/app/styles/components/_card-item.scss +25 -25
- package/app/styles/components/_list-item.scss +32 -32
- package/app/styles/components/_sd-circular-progress.scss +6 -6
- package/app/styles/components/_sd-collapse-box.scss +16 -16
- package/app/styles/components/_sd-comment-box.scss +4 -4
- package/app/styles/components/_sd-dropzone.scss +1 -1
- package/app/styles/components/_sd-editor-popup.scss +7 -7
- package/app/styles/components/_sd-grid-item.scss +22 -22
- package/app/styles/components/_sd-loader.scss +4 -4
- package/app/styles/components/_sd-media-carousel.scss +7 -7
- package/app/styles/components/_sd-notification-panel.scss +1 -1
- package/app/styles/components/_sd-photo-preview.scss +34 -34
- package/app/styles/components/_sd-searchbar.scss +8 -8
- package/app/styles/components/_sd-toaster.scss +20 -20
- package/app/styles/components/_subnav.scss +38 -38
- package/app/styles/components/sd-slider.scss +11 -11
- package/app/styles/design-tokens/_design-tokens-general.scss +12 -0
- package/app/styles/dropdowns/_basic-dropdown.scss +30 -30
- package/app/styles/dropdowns/_input-dropdown.scss +4 -4
- package/app/styles/dropdowns/_navigation_dropdown.scss +8 -8
- package/app/styles/dropdowns/_other_dropdown.scss +5 -5
- package/app/styles/editor/_editor-buttons.scss +2 -2
- package/app/styles/editor/_editor-themes.scss +6 -6
- package/app/styles/form-elements/_autocomplete.scss +4 -4
- package/app/styles/form-elements/_checkbox.scss +5 -5
- package/app/styles/form-elements/_forms-general.scss +44 -44
- package/app/styles/form-elements/_input-preview.scss +1 -1
- package/app/styles/form-elements/_input-wrap.scss +3 -3
- package/app/styles/form-elements/_inputs.scss +33 -33
- package/app/styles/form-elements/_radio.scss +3 -3
- package/app/styles/form-elements/_select-grid.scss +3 -3
- package/app/styles/form-elements/_switch.scss +3 -3
- package/app/styles/grids/_basic-grid.scss +2 -2
- package/app/styles/grids/_grid-layout.scss +42 -42
- package/app/styles/grids/_layout-grid.scss +11 -11
- package/app/styles/grids/_sd-kanban-list.scss +7 -7
- package/app/styles/interface-elements/_side-panel.scss +38 -38
- package/app/styles/layout/_basic-layout.scss +20 -20
- package/app/styles/layout/_editor.scss +7 -7
- package/app/styles/layout/_general.scss +16 -16
- package/app/styles/menus/_sd-bottom-tabs.scss +1 -1
- package/app/styles/menus/_sd-left-navigation.scss +8 -8
- package/app/styles/menus/_sd-sidebar-menu.scss +33 -33
- package/app/styles/menus/_sd-top-menu.scss +7 -7
- package/app/styles/primereact/_pr-autocomplete.scss +1 -1
- package/app/styles/primereact/_pr-datepicker.scss +11 -11
- package/app/styles/primereact/_pr-dialog.scss +7 -7
- package/app/styles/primereact/_pr-dropdown.scss +1 -1
- package/app/styles/primereact/_pr-general.scss +1 -1
- package/app/styles/primereact/_pr-menu.scss +3 -3
- package/app/styles/primereact/_pr-skeleton.scss +3 -3
- package/app/styles/primereact/_pr-tag-input.scss +2 -2
- package/app/styles/variables/_dimensions.scss +1 -1
- package/dist/examples.bundle.css +13 -13
- package/dist/examples.bundle.js +17 -14
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +22 -13
- package/dist/superdesk-ui.bundle.css +1326 -1227
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +22 -13
- package/package.json +1 -1
@@ -24,15 +24,15 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
24
24
|
}
|
25
25
|
|
26
26
|
.sd-photo-preview__thumb-strip--with-controls {
|
27
|
-
padding-
|
27
|
+
padding-block-start: 4.8rem;
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
31
|
.sd-photo-preview__thumb-controls {
|
32
32
|
position: absolute;
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
inset-block-start: 0;
|
34
|
+
inset-inline-start: 0;
|
35
|
+
inset-inline-end: 0;
|
36
36
|
min-height: 4.8rem;
|
37
37
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
|
38
38
|
z-index: 2;
|
@@ -55,10 +55,10 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
55
55
|
&::before {
|
56
56
|
content: '';
|
57
57
|
position: absolute;
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
58
|
+
inset-block-start: 0;
|
59
|
+
inset-inline-end: 0;
|
60
|
+
inset-block-end: 0;
|
61
|
+
inset-inline-start: 0;
|
62
62
|
z-index: 999;
|
63
63
|
background-image: url(../img/three-dots.svg);
|
64
64
|
background-repeat: no-repeat;
|
@@ -105,7 +105,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
105
105
|
width: auto;
|
106
106
|
height: auto;
|
107
107
|
max-height: 100vh;
|
108
|
-
margin-
|
108
|
+
margin-block-start: 2rem;
|
109
109
|
}
|
110
110
|
}
|
111
111
|
|
@@ -191,9 +191,9 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
191
191
|
|
192
192
|
.sd-photo-preview__thumbnail-edit-label {
|
193
193
|
position: absolute;
|
194
|
-
|
195
|
-
|
196
|
-
|
194
|
+
inset-block-start: -2.2rem;
|
195
|
+
inset-inline-start: 0;
|
196
|
+
inset-inline-end: 0;
|
197
197
|
height: 2rem;
|
198
198
|
text-align: center;
|
199
199
|
opacity: 0.5;
|
@@ -202,10 +202,10 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
202
202
|
|
203
203
|
.image-overlay {
|
204
204
|
position: absolute;
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
205
|
+
inset-block-start: 0;
|
206
|
+
inset-inline-end: 0;
|
207
|
+
inset-block-end: 0;
|
208
|
+
inset-inline-start: 0;
|
209
209
|
display: flex;
|
210
210
|
flex-direction: column;
|
211
211
|
justify-content: space-between;
|
@@ -273,7 +273,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
273
273
|
}
|
274
274
|
|
275
275
|
.image-overlay__button + .image-overlay__button {
|
276
|
-
margin-
|
276
|
+
margin-inline-start: 0.8rem;
|
277
277
|
}
|
278
278
|
|
279
279
|
.sd-photo-preview__video-frames {
|
@@ -332,7 +332,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
332
332
|
height: 5.6rem;
|
333
333
|
line-height: 5.6rem;
|
334
334
|
position: absolute;
|
335
|
-
|
335
|
+
inset-block-start: calc(50% - 2.8rem);
|
336
336
|
width: 5.6rem;
|
337
337
|
box-shadow: 0 4px 24px rgba(0,0,0,.20), 0 10px 28px rgba(0,0,0,.35);
|
338
338
|
color: $white;
|
@@ -356,8 +356,8 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
356
356
|
-webkit-font-smoothing: antialiased;
|
357
357
|
-moz-osx-font-smoothing: grayscale;
|
358
358
|
position: absolute;
|
359
|
-
|
360
|
-
|
359
|
+
inset-block-start:0;
|
360
|
+
inset-inline-start:0;
|
361
361
|
text-align: center;
|
362
362
|
z-index: 2;
|
363
363
|
color: $white;
|
@@ -368,8 +368,8 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
368
368
|
|
369
369
|
.sd-photo-preview__slide-in-button {
|
370
370
|
position: absolute !important;
|
371
|
-
|
372
|
-
|
371
|
+
inset-block-start: 2.4rem;
|
372
|
+
inset-inline-end: 0;
|
373
373
|
z-index: 2;
|
374
374
|
background-color: hsla(0, 0%, 100%, 0.1);
|
375
375
|
height:4.8rem;
|
@@ -406,7 +406,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
406
406
|
}
|
407
407
|
|
408
408
|
.sd-photo-preview__nav-button--next {
|
409
|
-
|
409
|
+
inset-inline-end: 0.8rem;
|
410
410
|
color: inherit;
|
411
411
|
|
412
412
|
&::after {
|
@@ -414,7 +414,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
414
414
|
}
|
415
415
|
}
|
416
416
|
.sd-photo-preview__nav-button--prev {
|
417
|
-
|
417
|
+
inset-inline-start: 0.8rem;
|
418
418
|
color: inherit;
|
419
419
|
|
420
420
|
&::after {
|
@@ -424,10 +424,10 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
424
424
|
|
425
425
|
.upload__target {
|
426
426
|
position: absolute;
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
427
|
+
inset-block-start:0;
|
428
|
+
inset-inline-end: 0;
|
429
|
+
inset-block-end: 0;
|
430
|
+
inset-inline-start:0;
|
431
431
|
z-index: 0;
|
432
432
|
border: 2px dashed $sd-colour-interactive;
|
433
433
|
background-color: var(--sd-colour-interactive--alpha-10);
|
@@ -437,8 +437,8 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
437
437
|
margin: 0 auto;
|
438
438
|
max-width: 40rem;
|
439
439
|
position: relative;
|
440
|
-
|
441
|
-
margin-
|
440
|
+
inset-block-start: 50%;
|
441
|
+
margin-block-start: -10.6rem;
|
442
442
|
z-index: 1;
|
443
443
|
}
|
444
444
|
|
@@ -455,7 +455,7 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
455
455
|
margin: 0 auto;
|
456
456
|
opacity: 0.5;
|
457
457
|
text-align: center;
|
458
|
-
padding-
|
458
|
+
padding-block-start: 3rem;
|
459
459
|
text-align: center;
|
460
460
|
color: var(--color-text-light);
|
461
461
|
font-size: 2.4rem;
|
@@ -473,17 +473,17 @@ $photo-nav-transition: all 0.2s ease-out;
|
|
473
473
|
&::after, &::before {
|
474
474
|
content: "___________";
|
475
475
|
position: absolute;
|
476
|
-
|
476
|
+
inset-block-start: -0.5rem;
|
477
477
|
color: inherit;
|
478
478
|
opacity: 0.25;
|
479
479
|
}
|
480
480
|
|
481
481
|
&::after {
|
482
|
-
margin-
|
482
|
+
margin-inline-start: 1.5rem;
|
483
483
|
}
|
484
484
|
|
485
485
|
&::before {
|
486
|
-
margin-
|
486
|
+
margin-inline-start: -7.8rem;
|
487
487
|
}
|
488
488
|
}
|
489
489
|
.upload__info-button {
|
@@ -19,20 +19,20 @@
|
|
19
19
|
}
|
20
20
|
|
21
21
|
.sd-searchbar--border-r {
|
22
|
-
border-
|
22
|
+
border-inline-end: 1px solid var(--sd-colour-line--x-light);
|
23
23
|
}
|
24
24
|
|
25
25
|
.sd-searchbar--border-l {
|
26
|
-
border-
|
26
|
+
border-inline-start: 1px solid var(--sd-colour-line--x-light);
|
27
27
|
}
|
28
28
|
|
29
29
|
.sd-searchbar--border-l-r {
|
30
|
-
border-
|
31
|
-
border-
|
30
|
+
border-inline-end: 1px solid var(--sd-colour-line--x-light);
|
31
|
+
border-inline-start: 1px solid var(--sd-colour-line--x-light);
|
32
32
|
}
|
33
33
|
|
34
34
|
.sd-searchbar--border-bottom {
|
35
|
-
border-
|
35
|
+
border-block-end: 1px solid var(--sd-colour-line--light);
|
36
36
|
}
|
37
37
|
|
38
38
|
.sd-searchbar--small {
|
@@ -89,7 +89,7 @@
|
|
89
89
|
background-color: transparent;
|
90
90
|
border: 0;
|
91
91
|
box-shadow: none !important;
|
92
|
-
padding-
|
92
|
+
padding-inline-end: 1rem;
|
93
93
|
height: auto;
|
94
94
|
|
95
95
|
&::placeholder {
|
@@ -132,7 +132,7 @@
|
|
132
132
|
.sd-searchbar--boxed {
|
133
133
|
.sd-searchbar__icon {
|
134
134
|
width: 4rem;
|
135
|
-
margin-
|
135
|
+
margin-inline-end: 0;
|
136
136
|
}
|
137
137
|
}
|
138
138
|
|
@@ -225,7 +225,7 @@
|
|
225
225
|
margin: 0.5rem 0;
|
226
226
|
letter-spacing: 0.03em;
|
227
227
|
display: block;
|
228
|
-
margin-
|
228
|
+
margin-block-start: 8px;
|
229
229
|
|
230
230
|
.sd-searchbar__message {
|
231
231
|
color: $red;
|
@@ -26,53 +26,53 @@ $toast-sizes: (
|
|
26
26
|
flex-direction: column;
|
27
27
|
align-items: center;
|
28
28
|
position: fixed;
|
29
|
-
|
30
|
-
|
29
|
+
inset-inline-end: 0;
|
30
|
+
inset-inline-start: 0;
|
31
31
|
z-index: $sd-toast-z-index;
|
32
32
|
overflow: hidden;
|
33
33
|
padding: 0 20px 20px;
|
34
34
|
pointer-events: none;
|
35
35
|
|
36
36
|
&.sd-toast__container--top {
|
37
|
-
|
38
|
-
|
37
|
+
inset-block-start: $sd-toast-position-top;
|
38
|
+
inset-block-end: auto;
|
39
39
|
}
|
40
40
|
|
41
41
|
&.sd-toast__container--top-left {
|
42
|
-
|
43
|
-
|
42
|
+
inset-block-start: $sd-toast-position-top;
|
43
|
+
inset-block-end: auto;
|
44
44
|
align-items: flex-start;
|
45
45
|
}
|
46
46
|
|
47
47
|
&.sd-toast__container--top-right {
|
48
|
-
|
49
|
-
|
48
|
+
inset-block-start: $sd-toast-position-top;
|
49
|
+
inset-block-end: auto;
|
50
50
|
align-items: flex-end;
|
51
51
|
}
|
52
52
|
|
53
53
|
&.sd-toast__container--bottom {
|
54
54
|
flex-direction: column-reverse;
|
55
|
-
|
56
|
-
|
55
|
+
inset-block-start: auto;
|
56
|
+
inset-block-end: 0;
|
57
57
|
}
|
58
58
|
|
59
59
|
&.sd-toast__container--bottom-left {
|
60
60
|
flex-direction: column-reverse;
|
61
|
-
|
62
|
-
|
61
|
+
inset-block-start: auto;
|
62
|
+
inset-block-end: 0;
|
63
63
|
align-items: flex-start;
|
64
64
|
}
|
65
65
|
|
66
66
|
&.sd-toast__container--bottom-right {
|
67
67
|
flex-direction: column-reverse;
|
68
|
-
|
69
|
-
|
68
|
+
inset-block-start: auto;
|
69
|
+
inset-block-end: 0;
|
70
70
|
align-items: flex-end;
|
71
71
|
}
|
72
72
|
}
|
73
73
|
|
74
74
|
.sd-toast {
|
75
|
-
|
75
|
+
padding: var(--space--1-5);
|
76
76
|
display: flex;
|
77
77
|
align-items: flex-start;
|
78
78
|
position: relative!important;
|
@@ -117,8 +117,8 @@ $toast-sizes: (
|
|
117
117
|
width: 4px;
|
118
118
|
height: 100%;
|
119
119
|
position: absolute;
|
120
|
-
|
121
|
-
|
120
|
+
inset-block-start: 0px;
|
121
|
+
inset-inline-start: 0px;
|
122
122
|
background-color: $color;
|
123
123
|
}
|
124
124
|
|
@@ -173,20 +173,20 @@ $toast-sizes: (
|
|
173
173
|
color: $sd-toast-colour-text;
|
174
174
|
|
175
175
|
p + p {
|
176
|
-
margin-
|
176
|
+
margin-block-start: 0.8rem;
|
177
177
|
}
|
178
178
|
}
|
179
179
|
|
180
180
|
.sd-toast__message-header {
|
181
181
|
display: flex;
|
182
182
|
flex-direction: row;
|
183
|
-
margin-
|
183
|
+
margin-block-end: 0.2rem;
|
184
184
|
color: $sd-text;
|
185
185
|
|
186
186
|
time {
|
187
187
|
font-size: 1.2rem;
|
188
188
|
color: $sd-toast-colour-text;
|
189
|
-
margin-
|
189
|
+
margin-inline-end: 0.2rem;
|
190
190
|
}
|
191
191
|
|
192
192
|
.sd-toast__heading {
|
@@ -6,7 +6,7 @@
|
|
6
6
|
display: flex;
|
7
7
|
height: $subnav-height;
|
8
8
|
background: $subnav-background;
|
9
|
-
border-
|
9
|
+
border-block-end: 0px;
|
10
10
|
box-shadow: var(--sd-shadow__subnav);
|
11
11
|
z-index: 3;
|
12
12
|
align-items: center;
|
@@ -45,9 +45,9 @@
|
|
45
45
|
|
46
46
|
.subnav--absolute {
|
47
47
|
position: absolute;
|
48
|
-
|
49
|
-
|
50
|
-
|
48
|
+
inset-block-start:48px;
|
49
|
+
inset-inline-start:0;
|
50
|
+
inset-inline-end:0;
|
51
51
|
}
|
52
52
|
|
53
53
|
.subnav + .subnav,
|
@@ -101,8 +101,8 @@
|
|
101
101
|
.subnav {
|
102
102
|
&.subnav--level2 {
|
103
103
|
position: absolute;
|
104
|
-
|
105
|
-
|
104
|
+
inset-block-start:0;
|
105
|
+
inset-inline-start: 0;
|
106
106
|
z-index: 2;
|
107
107
|
box-shadow: none;
|
108
108
|
}
|
@@ -240,8 +240,8 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
240
240
|
|
241
241
|
.badge {
|
242
242
|
position: absolute;
|
243
|
-
|
244
|
-
|
243
|
+
inset-block-start: $sd-base-increment / 2;
|
244
|
+
inset-inline-end: $sd-base-increment / 2;
|
245
245
|
z-index: 1;
|
246
246
|
}
|
247
247
|
}
|
@@ -251,20 +251,20 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
251
251
|
}
|
252
252
|
|
253
253
|
.sd-navbtn--textual {
|
254
|
-
|
254
|
+
padding-inline: var(--space--1);
|
255
255
|
width: auto;
|
256
256
|
|
257
257
|
.sd-navbtn__text {
|
258
|
-
|
258
|
+
margin-inline: var(--space--0-5);
|
259
259
|
display: inline-flex;
|
260
260
|
font-size: 1.4rem;
|
261
261
|
position: relative;
|
262
|
-
margin-
|
263
|
-
margin-
|
262
|
+
margin-inline-end: $sd-base-increment / 2;
|
263
|
+
margin-inline-start: $sd-base-increment;
|
264
264
|
}
|
265
265
|
|
266
266
|
i {
|
267
|
-
margin-
|
267
|
+
margin-inline-start: $sd-base-increment / 2;
|
268
268
|
}
|
269
269
|
}
|
270
270
|
|
@@ -273,7 +273,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
273
273
|
&.sd-navbtn--textual {
|
274
274
|
.sd-navbtn__text {
|
275
275
|
color: currentColor;
|
276
|
-
padding-
|
276
|
+
padding-inline-end: 16px;
|
277
277
|
|
278
278
|
&::after {
|
279
279
|
content: '';
|
@@ -281,14 +281,14 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
281
281
|
width: 0;
|
282
282
|
height: 0;
|
283
283
|
position: absolute;
|
284
|
-
|
285
|
-
|
284
|
+
inset-block-start: calc(50% - 2px);
|
285
|
+
inset-inline-end: 0;
|
286
286
|
vertical-align: middle;
|
287
|
-
//margin-
|
288
|
-
margin-
|
289
|
-
border-
|
290
|
-
border-
|
291
|
-
border-
|
287
|
+
//margin-block-start: -2px;
|
288
|
+
margin-inline-start: 8px;
|
289
|
+
border-inline-start: 4px solid transparent;
|
290
|
+
border-inline-end: 4px solid transparent;
|
291
|
+
border-block-start: 4px solid currentColor;
|
292
292
|
opacity: .75;
|
293
293
|
@include transition(all, 0.1s, ease-in);
|
294
294
|
}
|
@@ -364,7 +364,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
364
364
|
}
|
365
365
|
|
366
366
|
.big-icon--send-to {
|
367
|
-
margin-
|
367
|
+
margin-inline-start: 0.3rem;
|
368
368
|
}
|
369
369
|
|
370
370
|
[class^="icon-"],
|
@@ -456,7 +456,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
456
456
|
}
|
457
457
|
|
458
458
|
.subnav__stretch-bar {
|
459
|
-
|
459
|
+
margin-inline: var(--space--1-5);
|
460
460
|
display: flex;
|
461
461
|
flex-grow: 1;
|
462
462
|
flex-shrink: 1;
|
@@ -469,7 +469,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
469
469
|
}
|
470
470
|
|
471
471
|
.subnav__content-bar {
|
472
|
-
|
472
|
+
margin-inline: var(--space--1-5);
|
473
473
|
display: flex;
|
474
474
|
flex-direction: row;
|
475
475
|
flex-grow: 0;
|
@@ -486,26 +486,26 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
486
486
|
width: 1px;
|
487
487
|
height: $subnav-height;
|
488
488
|
flex-grow: 0;
|
489
|
-
border-
|
489
|
+
border-inline-start: 1px solid rgba(0,0,0,.1);
|
490
490
|
margin: auto 2rem;
|
491
491
|
}
|
492
492
|
|
493
493
|
.subnav__spacer--dotted {
|
494
|
-
border-
|
494
|
+
border-inline-start: 1px dotted rgba(0,0,0,.3);
|
495
495
|
height: $subnav-height / 2;
|
496
496
|
}
|
497
497
|
|
498
498
|
.subnav__spacer--no-r-margin {
|
499
|
-
margin-
|
499
|
+
margin-inline-end: -0.1rem;
|
500
500
|
}
|
501
501
|
|
502
502
|
.subnav__spacer--no-l-margin {
|
503
|
-
margin-
|
503
|
+
margin-inline-start: 0;
|
504
504
|
}
|
505
505
|
|
506
506
|
.subnav__spacer--no-margin {
|
507
|
-
margin-
|
508
|
-
margin-
|
507
|
+
margin-inline-start: 0;
|
508
|
+
margin-inline-end: 0;
|
509
509
|
}
|
510
510
|
|
511
511
|
.subnav__button-stack {
|
@@ -550,7 +550,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
550
550
|
|
551
551
|
.subnav__button-stack--right {
|
552
552
|
text-align: end;
|
553
|
-
padding-
|
553
|
+
padding-inline-end: 2rem;
|
554
554
|
}
|
555
555
|
|
556
556
|
.subnav__button-stack--padded {
|
@@ -628,16 +628,16 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
628
628
|
}
|
629
629
|
|
630
630
|
.subnav__stretch-bar {
|
631
|
-
margin-
|
631
|
+
margin-inline-end: 0;
|
632
632
|
}
|
633
633
|
|
634
634
|
.subnav__spacer {
|
635
|
-
margin-
|
635
|
+
margin-inline-start: 1.2rem;
|
636
636
|
}
|
637
637
|
|
638
638
|
#planning-dropdown {
|
639
639
|
display: none;
|
640
|
-
margin-
|
640
|
+
margin-inline-start: -1.2rem;
|
641
641
|
}
|
642
642
|
|
643
643
|
.dropdown__toggle {
|
@@ -645,11 +645,11 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
645
645
|
position: relative;
|
646
646
|
overflow: hidden;
|
647
647
|
text-overflow: ellipsis;
|
648
|
-
padding-
|
648
|
+
padding-inline-end: 2.6rem !important;
|
649
649
|
|
650
650
|
.dropdown__caret {
|
651
651
|
position: absolute;
|
652
|
-
|
652
|
+
inset-block-start: 50%;
|
653
653
|
inset-inline-end: 1rem;
|
654
654
|
}
|
655
655
|
}
|
@@ -667,12 +667,12 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
667
667
|
.sd-page-content--slide-in--open {
|
668
668
|
.subnav--responsive {
|
669
669
|
.sd-check__wrapper + .sd-check__wrapper {
|
670
|
-
margin-
|
670
|
+
margin-inline-start: 0.4rem;
|
671
671
|
}
|
672
672
|
|
673
673
|
.subnav__stretch-bar {
|
674
674
|
margin: 0 1.2rem;
|
675
|
-
margin-
|
675
|
+
margin-inline-end: 0;
|
676
676
|
}
|
677
677
|
|
678
678
|
.subnav__button-stack--padded {
|
@@ -4,8 +4,8 @@ $sd-slider-transition: transform .4s cubic-bezier(.25,.8,.25,1), background-colo
|
|
4
4
|
width: 100%;
|
5
5
|
position: relative;
|
6
6
|
height: 0.2rem;
|
7
|
-
margin-
|
8
|
-
margin-
|
7
|
+
margin-block-start: 1.25rem;
|
8
|
+
margin-block-end: 1.25rem;
|
9
9
|
background-color: rgba(123, 123, 123, 0.5);
|
10
10
|
cursor: pointer;
|
11
11
|
user-select: none;
|
@@ -51,8 +51,8 @@ $sd-slider-transition: transform .4s cubic-bezier(.25,.8,.25,1), background-colo
|
|
51
51
|
.sd-slider {
|
52
52
|
position: relative;
|
53
53
|
height: 0.2rem;
|
54
|
-
margin-
|
55
|
-
margin-
|
54
|
+
margin-block-start: 1.25rem;
|
55
|
+
margin-block-end: 2.25rem;
|
56
56
|
background-color: rgba(123, 123, 123, 0.5);
|
57
57
|
cursor: pointer;
|
58
58
|
user-select: none;
|
@@ -62,8 +62,8 @@ $sd-slider-transition: transform .4s cubic-bezier(.25,.8,.25,1), background-colo
|
|
62
62
|
|
63
63
|
.sd-slider__handle {
|
64
64
|
position: absolute;
|
65
|
-
|
66
|
-
|
65
|
+
inset-block-start: -0.7rem;
|
66
|
+
inset-inline-start: 0;
|
67
67
|
z-index: 1;
|
68
68
|
display: inline-block;
|
69
69
|
width: 1.6rem;
|
@@ -90,10 +90,10 @@ $sd-slider-transition: transform .4s cubic-bezier(.25,.8,.25,1), background-colo
|
|
90
90
|
|
91
91
|
.sd-slider__focus-ring {
|
92
92
|
position: absolute;
|
93
|
-
|
94
|
-
|
93
|
+
inset-block-start: -1.4rem;
|
94
|
+
inset-inline-start: 0;
|
95
95
|
z-index: 0;
|
96
|
-
margin-
|
96
|
+
margin-inline-start: -0.7rem;
|
97
97
|
display: inline-block;
|
98
98
|
width: 3rem;
|
99
99
|
height: 3rem;
|
@@ -112,8 +112,8 @@ $sd-slider-transition: transform .4s cubic-bezier(.25,.8,.25,1), background-colo
|
|
112
112
|
|
113
113
|
.sd-slider__fill {
|
114
114
|
position: absolute;
|
115
|
-
|
116
|
-
|
115
|
+
inset-block-start: 0;
|
116
|
+
inset-inline-start: 0;
|
117
117
|
display: inline-block;
|
118
118
|
max-width: 100%;
|
119
119
|
height: 0.2rem;
|
@@ -2,8 +2,20 @@
|
|
2
2
|
|
3
3
|
:root {
|
4
4
|
// GENERAL
|
5
|
+
--base-increment: 0.8rem; // 8px
|
6
|
+
--space--0: 0; // 0px
|
7
|
+
--space--0-5: calc(0.5 * var(--base-increment)); // 4px
|
8
|
+
--space--1: calc(1 * var(--base-increment)); // 8px
|
9
|
+
--space--1-5: calc(1.5 * var(--base-increment)); // 12px
|
10
|
+
--space--2: calc(2 * var(--base-increment)); // 16px
|
11
|
+
--space--3: calc(3 * var(--base-increment)); // 24px;
|
12
|
+
--space--4: calc(4 * var(--base-increment)); // 32px;
|
13
|
+
--space--5: calc(5 * var(--base-increment)); // 40px;
|
14
|
+
|
15
|
+
--gap--none: 0; // 0px
|
5
16
|
--gap--x-small: 0.4rem; // 4px
|
6
17
|
--gap--small: 0.8rem; // 8px
|
18
|
+
--gap--medium-small: 1.2rem; // 12px
|
7
19
|
--gap--medium: 1.6rem; // 16px
|
8
20
|
--gap--large: 2.4rem; // 24px;
|
9
21
|
--gap--x-large: 3.2rem; // 32px;
|