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