superdesk-ui-framework 3.0.42 → 3.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +13 -2
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +5 -7
- package/dist/superdesk-ui.bundle.css +4265 -3552
- package/dist/superdesk-ui.bundle.js +4 -6
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- package/react/components/Menu.js +1 -1
@@ -1,46 +1,18 @@
|
|
1
|
-
// ============================================================================
|
2
1
|
// SUBNAV
|
3
|
-
// ============================================================================
|
4
2
|
|
5
3
|
.subnav {
|
4
|
+
@include transition(all, 0.3s, ease);
|
6
5
|
position: relative;
|
7
6
|
display: flex;
|
8
7
|
height: $subnav-height;
|
9
8
|
background: $subnav-background;
|
10
9
|
border-bottom: 0px;
|
11
10
|
box-shadow: var(--sd-shadow__subnav);
|
12
|
-
@include transition(all, 0.3s, ease);
|
13
11
|
z-index: 3;
|
14
12
|
align-items: center;
|
15
13
|
color: $sd-text;
|
16
14
|
flex-shrink: 0;
|
17
|
-
|
18
|
-
padding: 10px 20px;
|
19
|
-
}
|
20
|
-
&--darker {
|
21
|
-
background: $subnav-background-darker !important;
|
22
|
-
}
|
23
|
-
&--dark-blue-grey, &--blueGreyDarker {
|
24
|
-
background: $subnav-background-dark-blue-grey !important;
|
25
|
-
color: $white;
|
26
|
-
.navbtn:hover {
|
27
|
-
background: rgba(255, 255, 255, 0.20);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
&--mid-blue-grey, &--blueGrey {
|
31
|
-
background: $subnav-background-blue-grey !important;
|
32
|
-
color: $white;
|
33
|
-
}
|
34
|
-
&--absolute {
|
35
|
-
position: absolute;
|
36
|
-
top:48px;
|
37
|
-
left:0;
|
38
|
-
right:0;
|
39
|
-
}
|
40
|
-
+ .subnav,
|
41
|
-
&--lower-z-index {
|
42
|
-
z-index: 2;
|
43
|
-
}
|
15
|
+
|
44
16
|
.sd-check__group {
|
45
17
|
padding: 0;
|
46
18
|
display: flex;
|
@@ -48,21 +20,59 @@
|
|
48
20
|
align-items: center;
|
49
21
|
}
|
50
22
|
}
|
23
|
+
|
24
|
+
.subnav--padded {
|
25
|
+
padding: 10px 20px;
|
26
|
+
}
|
27
|
+
|
28
|
+
.subnav--darker {
|
29
|
+
background: $subnav-background-darker !important;
|
30
|
+
}
|
31
|
+
|
32
|
+
.subnav--dark-blue-grey, .subnav--blueGreyDarker {
|
33
|
+
background: $subnav-background-dark-blue-grey !important;
|
34
|
+
color: $white;
|
35
|
+
|
36
|
+
.navbtn:hover {
|
37
|
+
background: rgba(255, 255, 255, 0.20);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.subnav--mid-blue-grey, .subnav--blueGrey {
|
42
|
+
background: $subnav-background-blue-grey !important;
|
43
|
+
color: $white;
|
44
|
+
}
|
45
|
+
|
46
|
+
.subnav--absolute {
|
47
|
+
position: absolute;
|
48
|
+
top:48px;
|
49
|
+
left:0;
|
50
|
+
right:0;
|
51
|
+
}
|
52
|
+
|
53
|
+
.subnav + .subnav,
|
54
|
+
.subnav--lower-z-index {
|
55
|
+
z-index: 2;
|
56
|
+
}
|
57
|
+
|
51
58
|
.subnav__element-grow {
|
52
59
|
flex-grow: 1;
|
53
60
|
}
|
61
|
+
|
54
62
|
.subnav__page-title {
|
63
|
+
@include text-overflow();
|
64
|
+
@include text-normal();
|
55
65
|
padding: 0 1.6rem;
|
56
66
|
color: inherit;
|
57
67
|
font-size: 1.8rem;
|
58
68
|
line-height: 2.8rem;
|
59
69
|
flex-grow: 1;
|
60
|
-
@include text-overflow();
|
61
|
-
@include text-normal();
|
62
|
-
&--no-grow {
|
63
|
-
flex-grow: 0;
|
64
|
-
}
|
65
70
|
}
|
71
|
+
|
72
|
+
.subnav__page-title--no-grow {
|
73
|
+
flex-grow: 0;
|
74
|
+
}
|
75
|
+
|
66
76
|
.subnav__desk-stage {
|
67
77
|
flex-grow: 1;
|
68
78
|
}
|
@@ -70,20 +80,23 @@
|
|
70
80
|
.subnav__divider {
|
71
81
|
display: inline-flex;
|
72
82
|
height: 100%;
|
73
|
-
&--small {
|
74
|
-
width: $sd-base-increment * 1.5;
|
75
|
-
}
|
76
|
-
&--medium {
|
77
|
-
width: $sd-base-increment * 2;
|
78
|
-
}
|
79
|
-
&--large {
|
80
|
-
width: $sd-base-increment * 3;
|
81
|
-
}
|
82
|
-
&--x-large {
|
83
|
-
width: $sd-base-increment * 4;
|
84
|
-
}
|
85
83
|
}
|
86
84
|
|
85
|
+
.subnav__divider--small {
|
86
|
+
width: $sd-base-increment * 1.5;
|
87
|
+
}
|
88
|
+
|
89
|
+
.subnav__divider--medium {
|
90
|
+
width: $sd-base-increment * 2;
|
91
|
+
}
|
92
|
+
|
93
|
+
.subnav__divider--large {
|
94
|
+
width: $sd-base-increment * 3;
|
95
|
+
}
|
96
|
+
|
97
|
+
.subnav__divider--x-large {
|
98
|
+
width: $sd-base-increment * 4;
|
99
|
+
}
|
87
100
|
|
88
101
|
.subnav {
|
89
102
|
&.subnav--level2 {
|
@@ -93,6 +106,7 @@
|
|
93
106
|
z-index: 2;
|
94
107
|
box-shadow: none;
|
95
108
|
}
|
109
|
+
|
96
110
|
.sd-nav-tabs {
|
97
111
|
box-shadow: none;
|
98
112
|
}
|
@@ -102,9 +116,8 @@
|
|
102
116
|
@include sliding-toolbar; // See mixins.scss for details
|
103
117
|
}
|
104
118
|
|
105
|
-
|
119
|
+
|
106
120
|
// NEW NAVBUTTONS
|
107
|
-
// ============================================================================
|
108
121
|
|
109
122
|
$navbutton-transition: all 0.2s ease-out, color 0.1s ease-out;
|
110
123
|
$navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-70), inset 0 0 0 3px var(--sd-colour-interactive--alpha-40);
|
@@ -113,16 +126,13 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
113
126
|
position: relative;
|
114
127
|
height: $subnav-height;
|
115
128
|
width: 4.8rem;
|
116
|
-
|
117
129
|
display: inline-flex;
|
118
130
|
flex-direction: row;
|
119
131
|
align-items: center;
|
120
132
|
justify-content: center;
|
121
|
-
|
122
133
|
background: transparent;
|
123
134
|
color: var(--color-text);
|
124
135
|
text-align: center;
|
125
|
-
|
126
136
|
text-decoration: none;
|
127
137
|
border: 0;
|
128
138
|
border: 0px solid var(--sd-colour-line--x-light);
|
@@ -135,25 +145,32 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
135
145
|
vertical-align: baseline !important;
|
136
146
|
transition: opacity 0.2s ease-out;
|
137
147
|
}
|
148
|
+
|
138
149
|
[class^="big-icon--"], [class*=" big-icon--"],
|
139
150
|
[class^="icon-"], [class*=" icon-"] {
|
140
151
|
color: currentColor;
|
141
152
|
}
|
153
|
+
|
142
154
|
&:hover {
|
143
155
|
background: var(--color-navbutton-bg-hover);
|
156
|
+
|
144
157
|
> i {
|
145
158
|
opacity: 1;
|
146
159
|
}
|
147
160
|
}
|
161
|
+
|
148
162
|
&:active {
|
149
163
|
background: transparent;
|
150
164
|
box-shadow: inset 0 0 0 4px var(--color-navbutton-shadow-active);
|
165
|
+
|
151
166
|
> i {
|
152
167
|
opacity: 1;
|
153
168
|
}
|
154
169
|
}
|
170
|
+
|
155
171
|
&:focus-visible {
|
156
172
|
box-shadow: $navbutton-focus-box-shadow;
|
173
|
+
|
157
174
|
> i {
|
158
175
|
opacity: 1;
|
159
176
|
}
|
@@ -162,72 +179,65 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
162
179
|
|
163
180
|
.sd-navbtn {
|
164
181
|
@include navbutton-base;
|
182
|
+
|
165
183
|
&.sd-navbtn--highlight {
|
166
184
|
background: var(--sd-colour-highlight);
|
167
185
|
border-color: var(--sd-colour-highlight);
|
168
186
|
color: $white;
|
187
|
+
|
169
188
|
&:hover {
|
170
189
|
background-color: var(--sd-colour-highlight--hover);
|
171
190
|
border-color: var(--sd-colour-highlight--hover);
|
172
191
|
}
|
192
|
+
|
173
193
|
&:active {
|
174
194
|
background: var(--sd-colour-highlight);
|
175
195
|
border-color: var(--sd-colour-highlight);
|
176
|
-
|
177
196
|
}
|
178
197
|
}
|
198
|
+
|
179
199
|
&.sd-navbtn--darker {
|
180
200
|
background: var(--color-navbutton-bg-100);
|
201
|
+
|
181
202
|
&:hover {
|
182
203
|
background-color: var(--color-navbutton-bg-100-hover);
|
183
204
|
}
|
205
|
+
|
184
206
|
&:active {
|
185
207
|
background: var(--color-navbutton-bg-100);
|
186
208
|
}
|
187
209
|
}
|
210
|
+
|
188
211
|
&.sd-navbtn--dark {
|
189
212
|
background: var(--color-navbutton-bg-dark);
|
190
213
|
color: $white;
|
214
|
+
|
191
215
|
&:hover {
|
192
216
|
background-color: var(--color-navbutton-bg-dark-hover);
|
193
217
|
}
|
218
|
+
|
194
219
|
&:active {
|
195
220
|
background: var(--color-navbutton-bg-dark);
|
196
221
|
}
|
197
222
|
}
|
223
|
+
|
198
224
|
&.sd-navbtn--primary,
|
199
225
|
&.sd-navbtn--active {
|
200
226
|
background: var(--sd-colour-interactive);
|
201
227
|
border-color: var(--sd-colour-interactive);
|
202
228
|
color: $white;
|
229
|
+
|
203
230
|
&:hover {
|
204
231
|
background-color: var(--sd-colour-interactive--hover);
|
205
232
|
border-color: var(--sd-colour-interactive--hover);
|
206
233
|
}
|
234
|
+
|
207
235
|
&:active {
|
208
236
|
background: var(--sd-colour-interactive);
|
209
237
|
border-color: var(--sd-colour-interactive);
|
210
238
|
}
|
211
|
-
|
212
|
-
}
|
213
|
-
&--left {
|
214
|
-
border-width: 0 1px 0 0;
|
215
|
-
}
|
216
|
-
&--textual {
|
217
|
-
width: auto;
|
218
|
-
@include sd-padding('1', 'x');
|
219
|
-
.sd-navbtn__text {
|
220
|
-
display: inline-flex;
|
221
|
-
font-size: 1.4rem;
|
222
|
-
position: relative;
|
223
|
-
@include sd-margin('0-5', 'x');
|
224
|
-
margin-right: $sd-base-increment / 2;
|
225
|
-
margin-left: $sd-base-increment;
|
226
|
-
}
|
227
|
-
i {
|
228
|
-
margin-left: $sd-base-increment / 2;
|
229
|
-
}
|
230
239
|
}
|
240
|
+
|
231
241
|
.badge {
|
232
242
|
position: absolute;
|
233
243
|
top: $sd-base-increment / 2;
|
@@ -235,12 +245,36 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
235
245
|
z-index: 1;
|
236
246
|
}
|
237
247
|
}
|
248
|
+
|
249
|
+
.sd-navbtn--left {
|
250
|
+
border-width: 0 1px 0 0;
|
251
|
+
}
|
252
|
+
|
253
|
+
.sd-navbtn--textual {
|
254
|
+
@include sd-padding('1', 'x');
|
255
|
+
width: auto;
|
256
|
+
|
257
|
+
.sd-navbtn__text {
|
258
|
+
@include sd-margin('0-5', 'x');
|
259
|
+
display: inline-flex;
|
260
|
+
font-size: 1.4rem;
|
261
|
+
position: relative;
|
262
|
+
margin-right: $sd-base-increment / 2;
|
263
|
+
margin-left: $sd-base-increment;
|
264
|
+
}
|
265
|
+
|
266
|
+
i {
|
267
|
+
margin-left: $sd-base-increment / 2;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
238
271
|
.dropdown {
|
239
272
|
.sd-navbtn {
|
240
273
|
&.sd-navbtn--textual {
|
241
274
|
.sd-navbtn__text {
|
242
275
|
color: currentColor;
|
243
276
|
padding-right: 16px;
|
277
|
+
|
244
278
|
&::after {
|
245
279
|
content: '';
|
246
280
|
display: inline-flex;
|
@@ -270,19 +304,23 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
270
304
|
box-shadow: 0 8px 0 0px var(--color-dropdown-menu-Bg), -2px -1px 8px -2px rgba(0, 0, 0, 0.24), 3px -1px 8px -2px rgba(0, 0, 0, 0.24);
|
271
305
|
border-color: transparent !important;
|
272
306
|
z-index: 2001;
|
307
|
+
|
273
308
|
i {
|
274
309
|
opacity: 1;
|
275
310
|
color: $sd-colour-interactive;
|
276
311
|
}
|
312
|
+
|
277
313
|
&.sd-navbtn--textual {
|
278
314
|
.sd-navbtn__text {
|
279
315
|
color: $sd-colour-interactive;
|
316
|
+
|
280
317
|
&::after {
|
281
318
|
opacity: 1;
|
282
319
|
}
|
283
320
|
}
|
284
321
|
}
|
285
322
|
}
|
323
|
+
|
286
324
|
.sd-create-btn {
|
287
325
|
background-color: var(--color-dropdown-menu-Bg);
|
288
326
|
position: relative;
|
@@ -311,41 +349,51 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
311
349
|
cursor:pointer;
|
312
350
|
background: transparent;
|
313
351
|
transition: background-color 0.2s ease-out, color 0.1s ease-out;
|
352
|
+
|
314
353
|
i {
|
315
354
|
opacity: 0.75;
|
316
355
|
vertical-align: baseline !important;
|
317
356
|
transition: opacity 0.2s ease-out;
|
318
357
|
}
|
358
|
+
|
319
359
|
[class^="big-icon--"],
|
320
360
|
[class*=" big-icon--"] {
|
321
361
|
line-height: 1;
|
322
362
|
color: $sd-text;
|
323
363
|
display: block;
|
324
364
|
}
|
365
|
+
|
325
366
|
.big-icon--send-to {
|
326
367
|
margin-left: 0.3rem;
|
327
368
|
}
|
369
|
+
|
328
370
|
[class^="icon-"],
|
329
371
|
[class*=" icon-"] {
|
330
372
|
color: $sd-text;
|
331
373
|
}
|
374
|
+
|
332
375
|
&:hover {
|
333
376
|
background: var(--color-navbutton-bg-hover);
|
377
|
+
|
334
378
|
> i {
|
335
379
|
opacity: 1;
|
336
380
|
}
|
337
381
|
}
|
382
|
+
|
338
383
|
&.navbtn--left {
|
339
384
|
border-inline-width: 0 1px;
|
340
385
|
}
|
386
|
+
|
341
387
|
&.navbtn--blue {
|
342
388
|
background: $sd-colour-interactive;
|
343
389
|
border-color: var(--sd-colour-interactive--lighten-10);
|
344
390
|
color: $white;
|
391
|
+
|
345
392
|
&.disabled {
|
346
393
|
background: var(--sd-colour-interactive--lighten-30);
|
347
394
|
}
|
348
395
|
}
|
396
|
+
|
349
397
|
&.navbtn--text-only {
|
350
398
|
width: auto;
|
351
399
|
line-height: $subnav-height;
|
@@ -353,28 +401,35 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
353
401
|
border-inline-width: 0 1px;
|
354
402
|
font-size: 1.5rem;
|
355
403
|
}
|
404
|
+
|
356
405
|
&.navbtn--border-r {
|
357
406
|
border-inline-end: 1px !important;
|
358
407
|
}
|
408
|
+
|
359
409
|
&.navbtn--highlighted {
|
360
410
|
background-color: $purple !important;
|
361
411
|
transition: all 0.3s;
|
362
412
|
padding: 0 0 0 9px;
|
363
413
|
color: $white;
|
364
|
-
|
365
|
-
|
366
|
-
|
414
|
+
|
415
|
+
&:hover {
|
416
|
+
background-color: darken($purple, 10%);
|
417
|
+
}
|
367
418
|
}
|
419
|
+
|
368
420
|
&.navbtn--darker {
|
369
421
|
background-color: rgba(0, 0, 0, 0.05);
|
370
422
|
}
|
423
|
+
|
371
424
|
&.navbtn--active {
|
372
425
|
background-color: $sd-colour-interactive;
|
426
|
+
|
373
427
|
> i {
|
374
|
-
|
375
|
-
|
376
|
-
|
428
|
+
opacity: 1;
|
429
|
+
color: $white;
|
430
|
+
}
|
377
431
|
}
|
432
|
+
|
378
433
|
&.navbtn--publish {
|
379
434
|
background-color: rgba(0, 0, 0, 0.05);
|
380
435
|
}
|
@@ -386,11 +441,13 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
386
441
|
color: $sd-colour-interactive;
|
387
442
|
box-shadow: -2px -1px 5px -2px rgba(0, 0, 0, 0.2), 3px -1px 5px -2px rgba(0, 0, 0, 0.2);
|
388
443
|
z-index: $zindexDropdown + 1;
|
444
|
+
|
389
445
|
> i {
|
390
446
|
opacity: 1;
|
391
447
|
color: $sd-colour-interactive;
|
392
448
|
}
|
393
449
|
}
|
450
|
+
|
394
451
|
.sd-create-btn {
|
395
452
|
i {
|
396
453
|
color: $white;
|
@@ -399,107 +456,124 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
399
456
|
}
|
400
457
|
|
401
458
|
.subnav__stretch-bar {
|
459
|
+
@include sd-margin('1-5', 'x');
|
402
460
|
display: flex;
|
403
461
|
flex-grow: 1;
|
404
462
|
flex-shrink: 1;
|
405
|
-
@include sd-margin('1-5', 'x');
|
406
463
|
align-items: center;
|
464
|
+
|
407
465
|
&.subnav__stretch-bar--right {
|
408
466
|
text-align: end;
|
409
467
|
justify-content: flex-end;
|
410
468
|
}
|
411
469
|
}
|
470
|
+
|
412
471
|
.subnav__content-bar {
|
472
|
+
@include sd-margin('1-5', 'x');
|
413
473
|
display: flex;
|
414
474
|
flex-direction: row;
|
415
475
|
flex-grow: 0;
|
416
476
|
flex-shrink: 1;
|
417
|
-
@include sd-margin('1-5', 'x');
|
418
477
|
align-items: center;
|
478
|
+
|
419
479
|
&.subnav__content-bar--right {
|
420
480
|
text-align: end;
|
421
481
|
justify-content: flex-end;
|
422
482
|
}
|
423
483
|
}
|
484
|
+
|
424
485
|
.subnav__spacer {
|
425
486
|
width: 1px;
|
426
487
|
height: $subnav-height;
|
427
488
|
flex-grow: 0;
|
428
489
|
border-left: 1px solid rgba(0,0,0,.1);
|
429
490
|
margin: auto 2rem;
|
430
|
-
&--dotted {
|
431
|
-
border-left: 1px dotted rgba(0,0,0,.3);
|
432
|
-
height: $subnav-height / 2;
|
433
|
-
}
|
434
|
-
&--no-r-margin {
|
435
|
-
margin-right: -0.1rem;
|
436
|
-
}
|
437
|
-
&--no-l-margin {
|
438
|
-
margin-left: 0;
|
439
|
-
}
|
440
|
-
&--no-margin {
|
441
|
-
margin-left: 0;
|
442
|
-
margin-right: 0;
|
443
|
-
}
|
444
|
-
|
445
491
|
}
|
492
|
+
|
493
|
+
.subnav__spacer--dotted {
|
494
|
+
border-left: 1px dotted rgba(0,0,0,.3);
|
495
|
+
height: $subnav-height / 2;
|
496
|
+
}
|
497
|
+
|
498
|
+
.subnav__spacer--no-r-margin {
|
499
|
+
margin-right: -0.1rem;
|
500
|
+
}
|
501
|
+
|
502
|
+
.subnav__spacer--no-l-margin {
|
503
|
+
margin-left: 0;
|
504
|
+
}
|
505
|
+
|
506
|
+
.subnav__spacer--no-margin {
|
507
|
+
margin-left: 0;
|
508
|
+
margin-right: 0;
|
509
|
+
}
|
510
|
+
|
446
511
|
.subnav__button-stack {
|
447
512
|
position: relative;
|
448
513
|
display: flex;
|
449
514
|
flex-wrap: nowrap;
|
450
515
|
align-items: center;
|
516
|
+
}
|
451
517
|
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
518
|
+
.subnav__button-stack--square-buttons {
|
519
|
+
height:48px;
|
520
|
+
margin: 0 0 0 16px;
|
521
|
+
display: flex;
|
522
|
+
flex-wrap: nowrap;
|
523
|
+
flex-grow: 0;
|
524
|
+
flex-shrink: 1;
|
525
|
+
max-width: 100%;
|
526
|
+
}
|
527
|
+
|
528
|
+
.subnav__button-stack--custom-buttons {
|
529
|
+
margin: 0 auto;
|
530
|
+
padding: 10px 12px;
|
531
|
+
border: 1px solid rgba(0,0,0,0.1);
|
532
|
+
border-width: 0 1px;
|
533
|
+
box-sizing: border-box;
|
534
|
+
display: flex;
|
535
|
+
max-width: 100%;
|
536
|
+
|
537
|
+
.btn {
|
457
538
|
flex-grow: 0;
|
458
|
-
|
459
|
-
max-width: 100%;
|
460
|
-
}
|
461
|
-
&--custom-buttons {
|
462
|
-
margin: 0 auto;
|
463
|
-
padding: 10px 12px;
|
464
|
-
border: 1px solid rgba(0,0,0,0.1);
|
465
|
-
border-width: 0 1px;
|
466
|
-
box-sizing: border-box;
|
467
|
-
display: flex;
|
468
|
-
max-width: 100%;
|
469
|
-
.btn {
|
470
|
-
flex-grow: 0;
|
471
|
-
margin:0 4px;
|
472
|
-
}
|
473
|
-
.btn__text--short {
|
474
|
-
display: none;
|
475
|
-
}
|
476
|
-
.btn__text {
|
477
|
-
display: inline;
|
478
|
-
}
|
539
|
+
margin:0 4px;
|
479
540
|
}
|
480
|
-
|
481
|
-
|
482
|
-
|
541
|
+
|
542
|
+
.btn__text--short {
|
543
|
+
display: none;
|
483
544
|
}
|
484
|
-
|
485
|
-
|
486
|
-
|
545
|
+
|
546
|
+
.btn__text {
|
547
|
+
display: inline;
|
487
548
|
}
|
488
549
|
}
|
489
550
|
|
551
|
+
.subnav__button-stack--right {
|
552
|
+
text-align: end;
|
553
|
+
padding-right: 2rem;
|
554
|
+
}
|
555
|
+
|
556
|
+
.subnav__button-stack--padded {
|
557
|
+
padding: 0 1rem;
|
558
|
+
flex-shrink: 0;
|
559
|
+
}
|
560
|
+
|
490
561
|
.subnav__button-stack--custom-buttons {
|
491
562
|
.btn__text--short {
|
492
563
|
display: none;
|
493
564
|
}
|
565
|
+
|
494
566
|
.btn__text {
|
495
567
|
display: inline;
|
496
568
|
}
|
497
569
|
}
|
570
|
+
|
498
571
|
.compact {
|
499
572
|
.subnav__button-stack--custom-buttons {
|
500
573
|
.btn__text--short {
|
501
574
|
display: inline;
|
502
575
|
}
|
576
|
+
|
503
577
|
.btn__text {
|
504
578
|
display: none;
|
505
579
|
}
|
@@ -511,14 +585,17 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
511
585
|
flex-grow: 1;
|
512
586
|
justify-content: flex-end;
|
513
587
|
padding: 10px 0;
|
588
|
+
|
514
589
|
.btn {
|
515
590
|
flex-grow: 0;
|
516
591
|
margin:0 4px;
|
517
592
|
}
|
593
|
+
|
518
594
|
.btn--close {
|
519
595
|
.btn__text--alt-icon {
|
520
596
|
display: none;
|
521
597
|
}
|
598
|
+
|
522
599
|
.btn__text {
|
523
600
|
display: inline;
|
524
601
|
}
|
@@ -529,50 +606,58 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
529
606
|
&.compact {
|
530
607
|
.btn--close {
|
531
608
|
padding: 0 3px 0 6px;
|
609
|
+
|
532
610
|
.btn__text--alt-icon {
|
533
|
-
|
534
|
-
|
611
|
+
display: inline;
|
612
|
+
opacity: 0.7;
|
535
613
|
}
|
614
|
+
|
536
615
|
.btn__text {
|
537
|
-
|
616
|
+
display: none;
|
538
617
|
}
|
539
618
|
}
|
540
619
|
}
|
541
620
|
}
|
542
621
|
|
543
|
-
|
622
|
+
|
544
623
|
// PLANNING SPECIFIC ADDITIONS FOR RESPONSIVE BEHAVIOUR OF THE SUBNAV BAR
|
545
|
-
// ============================================================================
|
546
624
|
|
547
625
|
.subnav--responsive {
|
548
626
|
.navbtn.navbtn--text-only {
|
549
627
|
font-size: 1.4rem;
|
550
628
|
}
|
629
|
+
|
551
630
|
.subnav__stretch-bar {
|
552
631
|
margin-right: 0;
|
553
632
|
}
|
633
|
+
|
554
634
|
.subnav__spacer {
|
555
635
|
margin-left: 1.2rem;
|
556
636
|
}
|
637
|
+
|
557
638
|
#planning-dropdown {
|
558
639
|
display: none;
|
559
640
|
margin-left: -1.2rem;
|
560
641
|
}
|
642
|
+
|
561
643
|
.dropdown__toggle {
|
562
644
|
white-space: nowrap;
|
563
645
|
position: relative;
|
564
646
|
overflow: hidden;
|
565
647
|
text-overflow: ellipsis;
|
566
648
|
padding-right: 2.6rem !important;
|
649
|
+
|
567
650
|
.dropdown__caret {
|
568
651
|
position: absolute;
|
569
652
|
top: 50%;
|
570
653
|
inset-inline-end: 1rem;
|
571
654
|
}
|
572
655
|
}
|
656
|
+
|
573
657
|
.navbtn {
|
574
658
|
flex-shrink: 0;
|
575
659
|
}
|
660
|
+
|
576
661
|
.navbtn.navbtn--text-only {
|
577
662
|
flex-shrink: 1;
|
578
663
|
padding: 0 1.2rem;
|
@@ -589,17 +674,19 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
589
674
|
margin: 0 1.2rem;
|
590
675
|
margin-right: 0;
|
591
676
|
}
|
677
|
+
|
592
678
|
.subnav__button-stack--padded {
|
593
679
|
padding: 0 0.6rem;
|
594
680
|
}
|
681
|
+
|
595
682
|
.navbtn.navbtn--text-only {
|
596
683
|
font-size: 1.3rem;
|
597
684
|
}
|
598
685
|
}
|
599
686
|
}
|
687
|
+
|
600
688
|
|
601
689
|
// ------------- MEDIA QUERIES ---------------------
|
602
|
-
// -------------------------------------------------
|
603
690
|
|
604
691
|
@media only screen and (max-width: 1366px) {
|
605
692
|
.sd-page-content--slide-in--open .sd-page-content__content-block--30-slide {
|
@@ -618,24 +705,29 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
618
705
|
#planning-dropdown {
|
619
706
|
display: block;
|
620
707
|
}
|
708
|
+
|
621
709
|
#planning-buttons {
|
622
710
|
display: none;
|
623
711
|
}
|
712
|
+
|
624
713
|
.dropdown__toggle {
|
625
714
|
max-width: 160px;
|
626
715
|
}
|
716
|
+
|
627
717
|
&.compact--level-1 {
|
628
718
|
.dropdown__toggle {
|
629
|
-
|
719
|
+
max-width: 160px;
|
630
720
|
}
|
631
721
|
}
|
632
722
|
}
|
633
723
|
}
|
724
|
+
|
634
725
|
@media only screen and (max-width: 1024px) {
|
635
726
|
.subnav--responsive.compact--level-1 {
|
636
727
|
#planning-dropdown {
|
637
728
|
display: block;
|
638
729
|
}
|
730
|
+
|
639
731
|
#planning-buttons {
|
640
732
|
display: none;
|
641
733
|
}
|
@@ -651,6 +743,7 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
651
743
|
#planning-dropdown {
|
652
744
|
display: block;
|
653
745
|
}
|
746
|
+
|
654
747
|
#planning-buttons {
|
655
748
|
display: none;
|
656
749
|
}
|
@@ -665,12 +758,14 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
665
758
|
#planning-dropdown {
|
666
759
|
display: block;
|
667
760
|
}
|
761
|
+
|
668
762
|
#planning-buttons {
|
669
763
|
display: none;
|
670
764
|
}
|
765
|
+
|
671
766
|
.dropdown__toggle {
|
672
767
|
max-width: 160px;
|
673
768
|
}
|
674
769
|
}
|
675
770
|
}
|
676
|
-
}
|
771
|
+
}
|