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,232 @@
|
|
|
1
|
+
@use "buttons";
|
|
2
|
+
@use "variables/colors";
|
|
3
|
+
@use "variables/dimensions";
|
|
4
|
+
|
|
5
|
+
// Modal for onboarding pages. Includes support for slider and pagination.
|
|
6
|
+
|
|
7
|
+
.sd-carousel {
|
|
8
|
+
position: fixed;
|
|
9
|
+
inset-inline-start: 40px;
|
|
10
|
+
inset-inline-end: 40px;
|
|
11
|
+
inset-block-start: 40px;
|
|
12
|
+
inset-block-end: 40px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
z-index: 1050;
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.sd-carousel__dialog {
|
|
20
|
+
display: flex;
|
|
21
|
+
max-height: 100%;
|
|
22
|
+
flex: 0 1 auto;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
max-width: 680px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
position: relative;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sd-carousel__content {
|
|
30
|
+
background: var(--color-modal-Bg);
|
|
31
|
+
background-clip: padding-box;
|
|
32
|
+
outline: 0;
|
|
33
|
+
box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.2), 0 10px 28px hsla(0, 0%, 0%, 0.35);
|
|
34
|
+
border-radius: 1rem 1rem 0.8rem 0.8rem;
|
|
35
|
+
min-height: 40rem;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
flex: 0 0 100%;
|
|
39
|
+
max-height: 80rem;
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sd-carousel__page {
|
|
44
|
+
width:100%;
|
|
45
|
+
height:100%;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
flex-grow: 1;
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sd-carousel__page-header {
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 200px;
|
|
55
|
+
border-radius: 0.8rem 0.8rem 0 0;
|
|
56
|
+
background-color: hsl(217, 28%, 26%);
|
|
57
|
+
flex-grow: 0;
|
|
58
|
+
position: relative;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sd-carousel__page-header--color-2 {
|
|
63
|
+
background-color: hsl(268, 22%, 53%);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.sd-carousel__page-header--color-3 {
|
|
67
|
+
background-color: hsl(184, 42%, 60%);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.sd-carousel__page-header-illustration {
|
|
71
|
+
position: absolute;
|
|
72
|
+
inset-inline-start: 0;
|
|
73
|
+
inset-block-end: 0;
|
|
74
|
+
opacity: 0.65;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.sd-carousel__page-heading {
|
|
78
|
+
font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
|
|
79
|
+
font-weight: 700;
|
|
80
|
+
letter-spacing: .03em;
|
|
81
|
+
position: absolute;
|
|
82
|
+
width: 100%;
|
|
83
|
+
text-align: center;
|
|
84
|
+
z-index: 2;
|
|
85
|
+
color: colors.$white;
|
|
86
|
+
font-size: 3.2rem;
|
|
87
|
+
line-height: 1;
|
|
88
|
+
inset-block-start: calc(50% - 1.6rem);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sd-carousel__page-text {
|
|
92
|
+
padding: 3rem;
|
|
93
|
+
flex-grow: 1;
|
|
94
|
+
font-size: 1.6rem;
|
|
95
|
+
line-height: 140%;
|
|
96
|
+
font-weight: 300;
|
|
97
|
+
|
|
98
|
+
p {
|
|
99
|
+
margin-block-end: 1em;
|
|
100
|
+
&:last-child, &:only-child {
|
|
101
|
+
margin-block-end: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
h3 {
|
|
106
|
+
font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
|
|
107
|
+
font-size: 2rem;
|
|
108
|
+
margin-block-end: 0.8em;
|
|
109
|
+
font-weight: 700;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sd-carousel__page-footer {
|
|
114
|
+
text-align: center;
|
|
115
|
+
padding: 0 3rem 3rem;
|
|
116
|
+
flex-grow: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@mixin modalNavButton-style(
|
|
120
|
+
$background: var(--sd-item__main-Bg),
|
|
121
|
+
$background-hover: var(--sd-item__main-Bg--hover),
|
|
122
|
+
$background-active: var(--sd-item__main-Bg--alternate)
|
|
123
|
+
) {
|
|
124
|
+
border-radius: dimensions.$border-radius__base--full;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
height: 5.6rem;
|
|
127
|
+
line-height: 5.6rem;
|
|
128
|
+
position: absolute;
|
|
129
|
+
inset-block-start: calc(50% - 2.8rem);
|
|
130
|
+
width: 5.6rem;
|
|
131
|
+
box-shadow: 0 4px 24px rgba(0,0,0,.20), 0 10px 28px rgba(0,0,0,.35);
|
|
132
|
+
color: colors.$sd-green;
|
|
133
|
+
transition: buttons.$button-transition;
|
|
134
|
+
background-color: $background;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
background-color: $background-hover;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:active {
|
|
141
|
+
background-color: $background-active;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&::after {
|
|
145
|
+
content: " ";
|
|
146
|
+
font-family: 'sd_icons';
|
|
147
|
+
-webkit-font-smoothing: antialiased;
|
|
148
|
+
-moz-osx-font-smoothing: grayscale;
|
|
149
|
+
position: absolute;
|
|
150
|
+
inset-block-start:0;
|
|
151
|
+
text-align: center;
|
|
152
|
+
z-index: 2;
|
|
153
|
+
color: colors.$sd-green;
|
|
154
|
+
width: 5.6rem;
|
|
155
|
+
font-size: 2.4rem;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.sd-carousel__nav-button {
|
|
160
|
+
@include modalNavButton-style;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.sd-carousel__nav-button--next {
|
|
164
|
+
inset-inline-end: -88px;
|
|
165
|
+
color: inherit;
|
|
166
|
+
|
|
167
|
+
&::after {
|
|
168
|
+
content: "\e643";
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.sd-carousel__nav-button--prev {
|
|
173
|
+
inset-inline-start: -88px;
|
|
174
|
+
color: inherit;
|
|
175
|
+
|
|
176
|
+
&::after {
|
|
177
|
+
content: "\e642";
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.sd-carousel__nav-button--end {
|
|
182
|
+
inset-inline-end: -88px;
|
|
183
|
+
background-color: var(--sd-colour-success);
|
|
184
|
+
|
|
185
|
+
&::after {
|
|
186
|
+
content: "\e61d";
|
|
187
|
+
color: colors.$white;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&:hover {
|
|
191
|
+
background-color: var(--sd-colour-success--hover);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:active {
|
|
195
|
+
background-color: var(--sd-colour-success--active);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.sd-carousel__page-indication-bar {
|
|
200
|
+
inset-block-end: -3.6rem;
|
|
201
|
+
height: 2.6rem;
|
|
202
|
+
position: absolute;
|
|
203
|
+
text-align: center;
|
|
204
|
+
width: 100%;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.sd-carousel__page-indicator {
|
|
208
|
+
background-color: rgba(255,255,255,.2);
|
|
209
|
+
border: 1px solid rgba(0,0,0,.4);
|
|
210
|
+
border-radius: dimensions.$border-radius__base--full;
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
display: inline-block;
|
|
213
|
+
height: 1.4rem;
|
|
214
|
+
width: 1.4rem;
|
|
215
|
+
margin: 0.6rem;
|
|
216
|
+
transition: buttons.$button-transition;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.sd-carousel__page-indicator--selected {
|
|
220
|
+
background-color: rgba(255,255,255,0.8);
|
|
221
|
+
border-color: rgba(0,0,0,.6);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.sd-carousel__backdrop {
|
|
225
|
+
z-index: 1045;
|
|
226
|
+
background: rgba(0,0,0,.45);
|
|
227
|
+
position: fixed;
|
|
228
|
+
inset-block-start: 0;
|
|
229
|
+
inset-block-end: 0;
|
|
230
|
+
inset-inline-start: 0;
|
|
231
|
+
inset-inline-end: 0;
|
|
232
|
+
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
.sd-content-divider {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
color: var(--color-text);
|
|
6
|
+
list-style: none;
|
|
7
|
+
border-block-end: 0;
|
|
8
|
+
border-inline-start: 0;
|
|
9
|
+
border-inline-end: 0;
|
|
10
|
+
border-block-start: 1px var(--sd-colour-line--medium);
|
|
11
|
+
border-style: solid;
|
|
12
|
+
|
|
13
|
+
&.sd-content-divider--with-text {
|
|
14
|
+
--text-size: var(--text-size-medium);
|
|
15
|
+
display: flex;
|
|
16
|
+
color: var(--color-text);
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
font-size: var(--text-size);
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
text-align: center;
|
|
21
|
+
border-block-start: 0;
|
|
22
|
+
border-block-end: 0;
|
|
23
|
+
border-inline-start: 0;
|
|
24
|
+
border-inline-end: 0;
|
|
25
|
+
border-top-color: var(--sd-colour-line--medium);
|
|
26
|
+
border-style: solid;
|
|
27
|
+
|
|
28
|
+
&.sd-content-divider--text-x-small {
|
|
29
|
+
--text-size: 1.1rem;
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
color: var(--color-text-muted);
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
letter-spacing: 0.06em;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.sd-content-divider--text-small {
|
|
37
|
+
--text-size: var(--text-size-small);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.sd-content-divider--text-medium {
|
|
41
|
+
--text-size: var(--text-size-medium);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.sd-content-divider--text-large {
|
|
45
|
+
--text-size: var(--text-size-large);
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
font-family: var(--font-secondary);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.sd-content-divider--horizontal {
|
|
52
|
+
--margin-block: 0;
|
|
53
|
+
display: flex;
|
|
54
|
+
clear: both;
|
|
55
|
+
width: 100%;
|
|
56
|
+
min-width: 100%;
|
|
57
|
+
|
|
58
|
+
&.sd-content-divider--margin-x-small {
|
|
59
|
+
--margin-block: var(--space--1);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.sd-content-divider--margin-small {
|
|
63
|
+
--margin-block: var(--space--2);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.sd-content-divider--margin-medium {
|
|
67
|
+
--margin-block: var(--space--3);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.sd-content-divider--margin-large {
|
|
71
|
+
--margin-block: var(--space--4);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.sd-content-divider--margin-none {
|
|
75
|
+
--margin-block: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
margin-block: var(--margin-block);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.sd-content-divider--horizontal.sd-content-divider--with-text {
|
|
82
|
+
|
|
83
|
+
&::before, &::after {
|
|
84
|
+
content: "";
|
|
85
|
+
position: relative;
|
|
86
|
+
inset-block-start: 50%;
|
|
87
|
+
width: 50%;
|
|
88
|
+
border-block-start: 1px transparent;
|
|
89
|
+
border-top-color: transparent;
|
|
90
|
+
border-top-color: inherit;
|
|
91
|
+
border-block-end: 0;
|
|
92
|
+
border-inline-start: 0;
|
|
93
|
+
border-inline-end: 0;
|
|
94
|
+
transform: translateY(50%);
|
|
95
|
+
border-style: inherit;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.sd-content-divider--text-left {
|
|
99
|
+
&::before {
|
|
100
|
+
width: 5%;
|
|
101
|
+
}
|
|
102
|
+
&::after {
|
|
103
|
+
width: 95%;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.sd-content-divider--text-right {
|
|
108
|
+
&::before {
|
|
109
|
+
width: 95%;
|
|
110
|
+
}
|
|
111
|
+
&::after {
|
|
112
|
+
width: 5%;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.sd-content-divider--margin-x-small {
|
|
117
|
+
--margin-block: var(--space--1);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.sd-content-divider--margin-small {
|
|
121
|
+
--margin-block: var(--space--2);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.sd-content-divider--margin-medium {
|
|
125
|
+
--margin-block: var(--space--3);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.sd-content-divider--margin-large {
|
|
129
|
+
--margin-block: var(--space--4);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.sd-content-divider--margin-none {
|
|
133
|
+
--margin-block: var(--space--0-5);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
margin-block: var(--margin-block);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.sd-content-divider--vertical {
|
|
140
|
+
position: relative;
|
|
141
|
+
display: inline-block;
|
|
142
|
+
vertical-align: middle;
|
|
143
|
+
border-block-start: 0;
|
|
144
|
+
border-inline-start: 1px var(--sd-colour-line--medium);
|
|
145
|
+
border-style: solid;
|
|
146
|
+
flex-grow: 0;
|
|
147
|
+
align-self: stretch;
|
|
148
|
+
min-height: var(--space--2);
|
|
149
|
+
|
|
150
|
+
&.sd-content-divider--with-text {
|
|
151
|
+
display: flex;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
align-items: center;
|
|
155
|
+
border-inline-start: 0;
|
|
156
|
+
|
|
157
|
+
.sd-content-divider__inner-text {
|
|
158
|
+
padding: var(--space--0-5) var(--space--2);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&::before, &::after {
|
|
162
|
+
content: "";
|
|
163
|
+
background-color: transparent;
|
|
164
|
+
position: relative;
|
|
165
|
+
height: 50%;
|
|
166
|
+
border-inline-start: 1px var(--sd-colour-line--medium);
|
|
167
|
+
border-inline-end: 0;
|
|
168
|
+
border-block-end: 0;
|
|
169
|
+
border-block-start: 0;
|
|
170
|
+
width: 1px;
|
|
171
|
+
border-style: solid;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&.sd-content-divider--dashed {
|
|
175
|
+
&::before, &::after {
|
|
176
|
+
border-left-style: dashed;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&.sd-content-divider--dotted {
|
|
182
|
+
&::before, &::after {
|
|
183
|
+
border-style: dotted;
|
|
184
|
+
border-color: var(--sd-colour-line--strong);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&.sd-content-divider--margin-x-small {
|
|
190
|
+
--margin-inline: var(--space--1);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.sd-content-divider--margin-small {
|
|
194
|
+
--margin-inline: var(--space--2);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.sd-content-divider--margin-medium {
|
|
198
|
+
--margin-inline: var(--space--3);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&.sd-content-divider--margin-large {
|
|
202
|
+
--margin-inline: var(--space--4);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&.sd-content-divider--margin-none {
|
|
206
|
+
--margin-inline: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
margin-inline: var(--margin-inline);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.sd-content-divider--dashed {
|
|
213
|
+
border-style: dashed;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&.sd-content-divider--dotted {
|
|
217
|
+
border-style: dotted;
|
|
218
|
+
border-color: var(--sd-colour-line--strong);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.sd-content-divider--no-border {
|
|
222
|
+
border: 0 !important;
|
|
223
|
+
|
|
224
|
+
&::before, &::after {
|
|
225
|
+
border: 0 !important;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.sd-content-divider__inner-text {
|
|
231
|
+
display: inline-block;
|
|
232
|
+
padding: 0 var(--space--1);
|
|
233
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use "variables/colors";
|
|
2
|
+
@use "variables/dimensions";
|
|
3
|
+
|
|
4
|
+
.basic-drag-block {
|
|
5
|
+
border: 2px dashed #cacaca;
|
|
6
|
+
background-color: var(--sd-colour-bg-translucent--10);
|
|
7
|
+
position: relative;
|
|
8
|
+
padding: 1.2rem;
|
|
9
|
+
color: colors.$grayText;
|
|
10
|
+
text-align: center;
|
|
11
|
+
border-radius: dimensions.$border-radius__base--x-small;
|
|
12
|
+
|
|
13
|
+
i {
|
|
14
|
+
opacity: 0.4;
|
|
15
|
+
vertical-align: bottom;
|
|
16
|
+
margin: -4px 4px -2px 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.basic-drag-block__text {
|
|
24
|
+
display: inline-block;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
.drag-handle-wrapper {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
transition: all 0.2s ease;
|
|
7
|
+
outline: none;
|
|
8
|
+
color: var(--color-text);
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
.drag-handle-dots {
|
|
11
|
+
transition: all 0.1s ease;
|
|
12
|
+
opacity: 0.55;
|
|
13
|
+
}
|
|
14
|
+
&:hover {
|
|
15
|
+
cursor: grab;
|
|
16
|
+
.drag-handle-dots {
|
|
17
|
+
opacity: 0.85;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&:active {
|
|
21
|
+
cursor: grabbing;
|
|
22
|
+
.drag-handle-dots {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.drag-handle-wrapper--boxed {
|
|
27
|
+
padding: var(--drag-handle-boxed-padding);
|
|
28
|
+
background-color: var(--drag-handle-boxed-color-bg-normal);
|
|
29
|
+
border-radius: var(--drag-handle-boxed-radius);
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: var(--drag-handle-boxed-color-bg-hover);
|
|
32
|
+
}
|
|
33
|
+
&:active {
|
|
34
|
+
background-color: var(--drag-handle-boxed-color-bg-active);
|
|
35
|
+
color: white;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.drag-handle-dots {
|
|
41
|
+
mask-image: url(../img/OneDot.svg);
|
|
42
|
+
mask-repeat: repeat;
|
|
43
|
+
width: var(--handle-width);
|
|
44
|
+
height: var(--handle-height);
|
|
45
|
+
background-color: currentColor;
|
|
46
|
+
margin-block: auto;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
.content-state--empty {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.content-state--empty-container,
|
|
9
|
+
.content-state__empty-container {
|
|
10
|
+
position: relative;
|
|
11
|
+
height: 100%;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex-grow: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.content-state__empty-container--absolute {
|
|
18
|
+
position: absolute;
|
|
19
|
+
inset-block-start: 0;
|
|
20
|
+
inset-inline-start: 0;
|
|
21
|
+
inset-block-end: 0;
|
|
22
|
+
inset-inline-end: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.content-state__empty-info {
|
|
26
|
+
padding-inline: var(--space--2);
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
width: 100%;
|
|
32
|
+
margin: 16px auto 32px;
|
|
33
|
+
flex-grow: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.content-state__heading {
|
|
37
|
+
margin-block-end: var(--space--1);
|
|
38
|
+
font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
|
|
39
|
+
font-size: 1.8rem;
|
|
40
|
+
line-height: 1.4;
|
|
41
|
+
color: inherit;
|
|
42
|
+
text-align: center;
|
|
43
|
+
font-weight: 900;
|
|
44
|
+
opacity: 0.75;
|
|
45
|
+
max-width: 30ch;
|
|
46
|
+
margin: 0 auto;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.content-state__description {
|
|
50
|
+
text-align: center;
|
|
51
|
+
color: inherit;
|
|
52
|
+
font-size: 1.5rem;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
line-height: 1.5;
|
|
55
|
+
max-width: 48ch;
|
|
56
|
+
opacity: 0.65;
|
|
57
|
+
margin: 0 auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.content-state__image {
|
|
61
|
+
padding-inline: var(--space--1);
|
|
62
|
+
margin-block-end: var(--space--2);
|
|
63
|
+
display: block;
|
|
64
|
+
height: auto;
|
|
65
|
+
padding: 0;
|
|
66
|
+
width: 100%;
|
|
67
|
+
|
|
68
|
+
img {
|
|
69
|
+
max-width: 100%;
|
|
70
|
+
width: 100%;
|
|
71
|
+
height: auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.content-state__image--small {
|
|
75
|
+
max-width: 24rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.content-state__image--large {
|
|
79
|
+
max-width: 48rem;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.expand-button {
|
|
2
|
+
--sd-btn-bg: var(--sd-colour-btn-bg-neutral);
|
|
3
|
+
--sd-btn-bg--hover: var(--sd-colour-btn-bg-neutral--hover);
|
|
4
|
+
--sd-btn-bg--active: var(--sd-colour-btn-bg-neutral--active);
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
height: 3.2rem;
|
|
9
|
+
transition: all 0.2s ease;
|
|
10
|
+
outline: none;
|
|
11
|
+
padding-inline: var(--space--0-5);
|
|
12
|
+
background-color: var(--sd-btn-bg);
|
|
13
|
+
border-radius: 0 var(--b-radius--medium) var(--b-radius--medium) 0;
|
|
14
|
+
opacity: 0.75;
|
|
15
|
+
color: var(--color-text);
|
|
16
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
17
|
+
transition: transform 0.2s ease;
|
|
18
|
+
color: currentColor;
|
|
19
|
+
}
|
|
20
|
+
&:hover {
|
|
21
|
+
padding-inline: var(--space--1);
|
|
22
|
+
}
|
|
23
|
+
&:active {
|
|
24
|
+
opacity: 1;
|
|
25
|
+
}
|
|
26
|
+
&.expand-button--expanded {
|
|
27
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
28
|
+
transform: rotate(180deg);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|