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
package/app/styles/_helpers.scss
CHANGED
@@ -9,15 +9,19 @@
|
|
9
9
|
.clearfix {
|
10
10
|
@include clearfix();
|
11
11
|
}
|
12
|
+
|
12
13
|
.no-padding {
|
13
14
|
padding: 0 !important;
|
14
15
|
}
|
16
|
+
|
15
17
|
.no-margin {
|
16
18
|
margin: 0 !important;
|
17
19
|
}
|
20
|
+
|
18
21
|
.no-border {
|
19
22
|
border: 0 !important;
|
20
23
|
}
|
24
|
+
|
21
25
|
.no-line-height {
|
22
26
|
line-height: 0 !important;
|
23
27
|
}
|
@@ -27,25 +31,26 @@
|
|
27
31
|
}
|
28
32
|
|
29
33
|
// DISPLAY HELPERS
|
30
|
-
// --------------------------------------------------
|
31
34
|
// Use classes with the form '.sd-display-- ', others will be deprecated
|
32
|
-
|
33
35
|
.sd-display--none {
|
34
36
|
display: none !important;
|
35
37
|
}
|
38
|
+
|
36
39
|
.sd-display--inline {
|
37
40
|
display: inline !important;
|
38
41
|
}
|
42
|
+
|
39
43
|
.sd-display--inline-block {
|
40
44
|
display: inline-block !important;
|
41
45
|
}
|
46
|
+
|
42
47
|
.sd-display--block {
|
43
48
|
display: block !important;
|
44
49
|
}
|
45
50
|
|
46
51
|
// Browser ignores this element from the flow.
|
47
52
|
// Use it to wrap other elements without breaking the layout (e.g. flex or grid)
|
48
|
-
.sd-display--contents {
|
53
|
+
.sd-display--contents {
|
49
54
|
display: contents !important;
|
50
55
|
}
|
51
56
|
|
@@ -53,125 +58,157 @@
|
|
53
58
|
.sd-display--table {
|
54
59
|
display: table;
|
55
60
|
}
|
61
|
+
|
56
62
|
.sd-display--table-cell {
|
57
63
|
display: table-cell;
|
58
64
|
}
|
65
|
+
|
59
66
|
.sd-display--table-row {
|
60
67
|
display: table-row;
|
61
68
|
}
|
69
|
+
|
62
70
|
.sd-display--table-column {
|
63
71
|
display: table-column;
|
64
72
|
}
|
73
|
+
|
65
74
|
.sd-display--table-column-group {
|
66
75
|
display: table-column-group;
|
67
76
|
}
|
77
|
+
|
68
78
|
.sd-display--table-row-group {
|
69
79
|
display: table-row-group;
|
70
80
|
}
|
81
|
+
|
71
82
|
.sd-display--table-footer-group {
|
72
83
|
display: table-footer-group;
|
73
84
|
}
|
85
|
+
|
74
86
|
.sd-display--table-header-group {
|
75
87
|
display: table-header-group;
|
76
88
|
}
|
89
|
+
|
77
90
|
.sd-display--table-caption {
|
78
91
|
display: table-caption;
|
79
92
|
}
|
80
93
|
|
81
|
-
|
82
94
|
.sd-display--inline-flex {
|
83
95
|
display: inline-flex !important;
|
84
96
|
}
|
97
|
+
|
85
98
|
.sd-display--flex {
|
86
99
|
display: flex !important;
|
87
100
|
}
|
88
101
|
|
89
|
-
|
90
102
|
// FLEXBOX PROPERTIES
|
91
|
-
|
92
103
|
// Flex direction
|
93
104
|
.sd-flex--direction-row {
|
94
105
|
flex-direction: row !important;
|
95
106
|
}
|
107
|
+
|
96
108
|
.sd-flex--direction-col {
|
97
109
|
flex-direction: column !important;
|
98
110
|
}
|
111
|
+
|
99
112
|
.sd-flex--direction-row-reverse {
|
100
113
|
flex-direction: row-reverse !important;
|
101
114
|
}
|
115
|
+
|
102
116
|
.sd-flex--direction-col-reverse {
|
103
117
|
flex-direction: column-reverse !important;
|
104
118
|
}
|
119
|
+
|
105
120
|
// Flex wrap
|
106
121
|
.sd-flex--wrap {
|
107
122
|
flex-wrap: wrap;
|
108
123
|
}
|
124
|
+
|
109
125
|
.sd-flex--wrap-reverse {
|
110
126
|
flex-wrap: wrap-reverse;
|
111
127
|
}
|
128
|
+
|
112
129
|
.sd-flex--nowrap {
|
113
130
|
flex-wrap: nowrap;
|
114
131
|
}
|
132
|
+
|
115
133
|
// Flex flex
|
116
134
|
.sd-flex--flex-1 {
|
117
135
|
flex: 1 1 0%;
|
118
136
|
}
|
137
|
+
|
119
138
|
.sd-flex--flex-1 {
|
120
139
|
flex: 1 1 0%;
|
121
140
|
}
|
141
|
+
|
122
142
|
.sd-flex--flex-auto {
|
123
143
|
flex: 1 1 auto;
|
124
144
|
}
|
145
|
+
|
125
146
|
.sd-flex--flex-initial {
|
126
147
|
flex: 0 1 auto;
|
127
148
|
}
|
149
|
+
|
128
150
|
.sd-flex--flex-none {
|
129
151
|
flex: none;
|
130
152
|
}
|
153
|
+
|
131
154
|
// Flex shrink & grow
|
132
155
|
.sd-flex--shrink {
|
133
156
|
flex-shrink: 1 !important;
|
134
157
|
}
|
158
|
+
|
135
159
|
.sd-flex--shrink-0 {
|
136
160
|
flex-shrink: 0 !important;
|
137
161
|
}
|
162
|
+
|
138
163
|
.sd-flex--grow {
|
139
164
|
flex-grow: 1 !important;
|
140
165
|
}
|
166
|
+
|
141
167
|
.sd-flex--grow-0 {
|
142
168
|
flex-grow: 0 !important;
|
143
169
|
}
|
170
|
+
|
144
171
|
// Flex alignment
|
145
172
|
.sd-flex--justify-start {
|
146
173
|
justify-content: flex-start !important;
|
147
174
|
}
|
175
|
+
|
148
176
|
.sd-flex--justify-end {
|
149
177
|
justify-content: flex-end !important;
|
150
178
|
}
|
179
|
+
|
151
180
|
.sd-flex--justify-center {
|
152
181
|
justify-content: center !important;
|
153
182
|
}
|
183
|
+
|
154
184
|
.sd-flex--justify-between {
|
155
185
|
justify-content: space-between !important;
|
156
186
|
}
|
187
|
+
|
157
188
|
.sd-flex--justify-around {
|
158
189
|
justify-content: space-around !important;
|
159
190
|
}
|
191
|
+
|
160
192
|
.sd-flex--justify-evenly {
|
161
193
|
justify-content: space-evenly !important;
|
162
194
|
}
|
195
|
+
|
163
196
|
.sd-flex--items-start {
|
164
197
|
align-items: flex-start !important;
|
165
198
|
}
|
199
|
+
|
166
200
|
.sd-flex--items-end {
|
167
201
|
align-items: flex-end !important;
|
168
202
|
}
|
203
|
+
|
169
204
|
.sd-flex--items-center {
|
170
205
|
align-items: center !important;
|
171
206
|
}
|
207
|
+
|
172
208
|
.sd-flex--items-baseline {
|
173
209
|
align-items: baseline !important;
|
174
210
|
}
|
211
|
+
|
175
212
|
.sd-flex--items-stretch {
|
176
213
|
align-items: stretch !important;
|
177
214
|
}
|
@@ -182,131 +219,152 @@
|
|
182
219
|
}
|
183
220
|
|
184
221
|
// POSITION HELPERS
|
185
|
-
// --------------------------------------------------
|
186
222
|
.sd-position--static {
|
187
223
|
position: static;
|
188
224
|
}
|
225
|
+
|
189
226
|
.sd-position--fixed {
|
190
227
|
position: fixed;
|
191
228
|
}
|
229
|
+
|
192
230
|
.sd-position--relative {
|
193
231
|
position: relative;
|
194
232
|
}
|
233
|
+
|
195
234
|
.sd-position--absolute {
|
196
235
|
position: absolute;
|
197
236
|
}
|
237
|
+
|
198
238
|
.sd-position--sticky {
|
199
239
|
position: sticky;
|
200
240
|
}
|
201
241
|
|
202
242
|
// OVERFLOW HELPERS
|
203
|
-
// --------------------------------------------------
|
204
|
-
|
205
243
|
.sd-overflow--auto {
|
206
244
|
overflow: auto !important;
|
207
245
|
}
|
246
|
+
|
208
247
|
.sd-overflow--hidden {
|
209
248
|
overflow: hidden !important;
|
210
249
|
}
|
250
|
+
|
211
251
|
.sd-overflow--visible {
|
212
252
|
overflow: visible !important;
|
213
253
|
}
|
254
|
+
|
214
255
|
.sd-overflow--scroll {
|
215
256
|
overflow: scroll !important;
|
216
257
|
}
|
258
|
+
|
217
259
|
.sd-overflow--x-auto {
|
218
260
|
overflow-x: auto !important;
|
219
261
|
}
|
262
|
+
|
220
263
|
.sd-overflow--y-auto {
|
221
264
|
overflow-y: auto !important;
|
222
265
|
}
|
266
|
+
|
223
267
|
.sd-overflow--x-hidden {
|
224
268
|
overflow-x: hidden !important;
|
225
269
|
}
|
270
|
+
|
226
271
|
.sd-overflow--y-hidden {
|
227
272
|
overflow-y: hidden !important;
|
228
273
|
}
|
274
|
+
|
229
275
|
.sd-overflow--x-visible {
|
230
276
|
overflow-x: visible !important;
|
231
277
|
}
|
278
|
+
|
232
279
|
.sd-overflow--y-visible {
|
233
280
|
overflow-y: visible !important;
|
234
281
|
}
|
282
|
+
|
235
283
|
.sd-overflow--x-scroll {
|
236
284
|
overflow-x: scroll !important;
|
237
285
|
}
|
286
|
+
|
238
287
|
.sd-overflow--y-scroll {
|
239
288
|
overflow-y: scroll !important;
|
240
289
|
}
|
241
290
|
|
242
291
|
// Text overflow
|
243
|
-
.sd-overflow-ellipsis,
|
292
|
+
.sd-overflow-ellipsis,
|
293
|
+
.sd-overflow--ellipsis {
|
244
294
|
text-overflow: ellipsis;
|
245
295
|
white-space: nowrap;
|
246
296
|
overflow: hidden;
|
247
297
|
}
|
248
298
|
|
249
299
|
// OBJECT FIT HELPERS
|
250
|
-
// --------------------------------------------------
|
251
|
-
|
252
300
|
.sd-object-fit--contain {
|
253
301
|
object-fit: contain;
|
254
302
|
}
|
303
|
+
|
255
304
|
.sd-object-fit--cover {
|
256
305
|
object-fit: cover;
|
257
306
|
}
|
307
|
+
|
258
308
|
.sd-object-fit--fill {
|
259
309
|
object-fit: fill;
|
260
310
|
}
|
311
|
+
|
261
312
|
.sd-object-fit--none {
|
262
313
|
object-fit: none;
|
263
314
|
}
|
315
|
+
|
264
316
|
.sd-object-fit--scale-down {
|
265
317
|
object-fit: scale-down;
|
266
318
|
}
|
267
319
|
|
268
320
|
// OBJECT POSITION HELPERS
|
269
|
-
// --------------------------------------------------
|
270
321
|
// Defines the positin of any selected replaced element (e.g., an <img>)
|
271
322
|
// within the box that contains it. For it to work it must be used with 'sd-object-fit--none' (object-fit: none;)
|
272
323
|
|
273
324
|
.sd-object-position--bottom {
|
274
325
|
object-position: bottom;
|
275
326
|
}
|
327
|
+
|
276
328
|
.sd-object-position--center {
|
277
329
|
object-position: center;
|
278
330
|
}
|
331
|
+
|
279
332
|
.sd-object-position--left {
|
280
333
|
object-position: left;
|
281
334
|
}
|
335
|
+
|
282
336
|
.sd-object-position--left-bottom {
|
283
337
|
object-position: left bottom;
|
284
338
|
}
|
339
|
+
|
285
340
|
.sd-object-position--left-top {
|
286
341
|
object-position: left top;
|
287
342
|
}
|
343
|
+
|
288
344
|
.sd-object-position--right {
|
289
345
|
object-position: right;
|
290
346
|
}
|
347
|
+
|
291
348
|
.sd-object-position--right-bottom {
|
292
349
|
object-position: right bottom;
|
293
350
|
}
|
351
|
+
|
294
352
|
.sd-object-position--right-top {
|
295
353
|
object-position: right top;
|
296
354
|
}
|
355
|
+
|
297
356
|
.sd-object-position--top {
|
298
357
|
object-position: top;
|
299
358
|
}
|
300
359
|
|
301
360
|
// SHADOW HELPER CLASSES
|
302
|
-
// --------------------------------------------------
|
303
361
|
|
304
362
|
$sd-shadowProperties: (
|
305
363
|
'z0': (none),
|
306
|
-
'z1': (0 1px 3px rgba(0,0,0
|
307
|
-
'z2': (0 1px 4px rgba(0,0,0
|
308
|
-
'z3': (0 1px 6px rgba(0,0,0
|
309
|
-
'z4': (0 2px 10px rgba(0,0,0
|
364
|
+
'z1': (0 1px 3px rgba(0, 0, 0, .16), 0 0 1px rgba(0, 0, 0, .1)),
|
365
|
+
'z2': (0 1px 4px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .12), 0 0 1px rgba(0, 0, 0, .1)),
|
366
|
+
'z3': (0 1px 6px rgba(0, 0, 0, .16), 0 3px 8px rgba(0, 0, 0, .24), 0 0 1px rgba(0, 0, 0, .1)),
|
367
|
+
'z4': (0 2px 10px rgba(0, 0, 0, .2), 0 6px 16px rgba(0, 0, 0, .3), 0 0 1px rgba(0, 0, 0, .1)),
|
310
368
|
);
|
311
369
|
// Add more shadow items with this syntax and new classes will be generated:
|
312
370
|
// z5: (0 2px 10px rgba(0,0,0,.2), ... ),
|
@@ -315,13 +373,15 @@ $sd-shadowProperties: (
|
|
315
373
|
|
316
374
|
@mixin shadowMixinExtend {
|
317
375
|
transition: box-shadow 0.3s ease-out;
|
376
|
+
|
318
377
|
&.btn:active {
|
319
378
|
box-shadow: none !important;
|
320
379
|
transition: box-shadow 0.4s ease-out;
|
321
380
|
}
|
322
381
|
}
|
323
382
|
|
324
|
-
@each $name,
|
383
|
+
@each $name,
|
384
|
+
$value in $sd-shadowProperties {
|
325
385
|
.sd-shadow--#{$name} {
|
326
386
|
box-shadow: #{$value} !important;
|
327
387
|
@include shadowMixinExtend;
|
@@ -348,7 +408,6 @@ $sd-shadowProperties: (
|
|
348
408
|
|
349
409
|
|
350
410
|
// WEBKIT SCROLL
|
351
|
-
// --------------------------------------------------
|
352
411
|
|
353
412
|
::-webkit-scrollbar {
|
354
413
|
width: 8px;
|
@@ -357,6 +416,7 @@ $sd-shadowProperties: (
|
|
357
416
|
position: fixed;
|
358
417
|
right: 10px;
|
359
418
|
}
|
419
|
+
|
360
420
|
::-webkit-scrollbar:hover {
|
361
421
|
background-color: var(--sd-colour__webkit-scrollbar--hover);
|
362
422
|
cursor: pointer;
|
@@ -365,28 +425,28 @@ $sd-shadowProperties: (
|
|
365
425
|
::-webkit-scrollbar-thumb {
|
366
426
|
background: var(--sd-colour__webkit-scrollbar-thumb);
|
367
427
|
}
|
428
|
+
|
368
429
|
::-webkit-scrollbar-thumb:hover {
|
369
430
|
background: var(--sd-colour__webkit-scrollbar-thumb--hover);
|
370
431
|
cursor: pointer;
|
371
432
|
}
|
372
433
|
|
373
434
|
// HEADINGS
|
374
|
-
// --------------------------------------------------
|
375
|
-
|
376
435
|
.sd-heading-3 {
|
377
436
|
font-size: 1.6rem;
|
378
|
-
margin-bottom: 1.6rem;
|
437
|
+
margin-bottom: 1.6rem;
|
379
438
|
}
|
380
439
|
|
381
440
|
// Deafult text syles based on type of data
|
382
|
-
// --------------------------------------------------
|
383
441
|
p strong {
|
384
442
|
font-weight: 500;
|
385
443
|
}
|
444
|
+
|
386
445
|
time {
|
387
446
|
color: $sd-text-light;
|
388
447
|
font-weight: 400;
|
389
448
|
letter-spacing: .025em;
|
449
|
+
|
390
450
|
&.small {
|
391
451
|
font-size: calc(100% - 0.1rem);
|
392
452
|
}
|
@@ -407,39 +467,50 @@ time {
|
|
407
467
|
// }
|
408
468
|
// }
|
409
469
|
|
410
|
-
h1,
|
470
|
+
h1,
|
471
|
+
h2,
|
472
|
+
h3,
|
473
|
+
h4,
|
474
|
+
h5,
|
475
|
+
h6 {
|
411
476
|
margin: 0;
|
412
477
|
}
|
478
|
+
|
413
479
|
.sd-heading {
|
414
480
|
margin: 0;
|
415
|
-
&--h1 {
|
416
|
-
font-size: calc(var(--text-size--base) * 2.4);
|
417
|
-
font-weight: 400;
|
418
|
-
}
|
419
|
-
&--h2 {
|
420
|
-
font-size: calc(var(--text-size--base) * 2);
|
421
|
-
font-weight: 500;
|
422
|
-
}
|
423
|
-
&--h3 {
|
424
|
-
font-size: calc(var(--text-size--base) * 1.6);
|
425
|
-
font-weight: 400;
|
426
|
-
}
|
427
|
-
&--h4 {
|
428
|
-
font-size: calc(var(--text-size--base) * 1.5);
|
429
|
-
font-weight: 500;
|
430
|
-
}
|
431
|
-
&--h5 {
|
432
|
-
font-size: calc(var(--text-size--base) * 1.4);
|
433
|
-
font-weight: 500;
|
434
|
-
}
|
435
|
-
&--h6 {
|
436
|
-
font-size: calc(var(--text-size--base) * 1.2);
|
437
|
-
font-weight: 500;
|
438
|
-
text-transform: uppercase;
|
439
|
-
color: $sd-text-light;
|
440
|
-
}
|
441
481
|
}
|
442
482
|
|
483
|
+
.sd-heading--h1 {
|
484
|
+
font-size: calc(var(--text-size--base) * 2.4);
|
485
|
+
font-weight: 400;
|
486
|
+
}
|
487
|
+
|
488
|
+
.sd-heading--h2 {
|
489
|
+
font-size: calc(var(--text-size--base) * 2);
|
490
|
+
font-weight: 500;
|
491
|
+
}
|
492
|
+
|
493
|
+
.sd-heading--h3 {
|
494
|
+
font-size: calc(var(--text-size--base) * 1.6);
|
495
|
+
font-weight: 400;
|
496
|
+
}
|
497
|
+
|
498
|
+
.sd-heading--h4 {
|
499
|
+
font-size: calc(var(--text-size--base) * 1.5);
|
500
|
+
font-weight: 500;
|
501
|
+
}
|
502
|
+
|
503
|
+
.sd-heading--h5 {
|
504
|
+
font-size: calc(var(--text-size--base) * 1.4);
|
505
|
+
font-weight: 500;
|
506
|
+
}
|
507
|
+
|
508
|
+
.sd-heading--h6 {
|
509
|
+
font-size: calc(var(--text-size--base) * 1.2);
|
510
|
+
font-weight: 500;
|
511
|
+
text-transform: uppercase;
|
512
|
+
color: $sd-text-light;
|
513
|
+
}
|
443
514
|
|
444
515
|
.sd-text {
|
445
516
|
font-size: 1.4rem;
|
@@ -459,103 +530,131 @@ h1, h2, h3, h4, h5, h6 {
|
|
459
530
|
.sd-text--light {
|
460
531
|
font-weight: 300;
|
461
532
|
}
|
533
|
+
|
462
534
|
.sd-text__normal,
|
463
535
|
.sd-text--normal {
|
464
536
|
font-weight: 400;
|
465
537
|
}
|
466
|
-
|
538
|
+
|
539
|
+
.sd-text--medium {
|
467
540
|
font-weight: 500;
|
468
541
|
}
|
542
|
+
|
469
543
|
.sd-text__strong,
|
470
|
-
.sd-text--strong
|
544
|
+
.sd-text--strong {
|
471
545
|
font-weight: 700;
|
472
546
|
}
|
473
|
-
|
547
|
+
|
548
|
+
.sd-text--bold {
|
474
549
|
font-weight: 700;
|
475
550
|
}
|
551
|
+
|
476
552
|
// Font style
|
477
553
|
.sd-text__italic,
|
478
554
|
.sd-text--italic {
|
479
555
|
font-style: italic;
|
480
556
|
}
|
557
|
+
|
481
558
|
.sd-text--non-italic {
|
482
559
|
font-style: normal;
|
483
560
|
}
|
561
|
+
|
484
562
|
// Text alignment
|
485
563
|
.sd-text-align--left,
|
486
564
|
.sd-text-align--start {
|
487
565
|
text-align: start;
|
488
566
|
}
|
567
|
+
|
489
568
|
.sd-text__center,
|
490
569
|
.sd-text-align--center {
|
491
570
|
text-align: center;
|
492
571
|
}
|
572
|
+
|
493
573
|
.sd-text__right,
|
494
574
|
.sd-text-align--right,
|
495
575
|
.sd-text-align--end {
|
496
576
|
text-align: end;
|
497
577
|
}
|
578
|
+
|
498
579
|
.sd-text-align--justify {
|
499
580
|
text-align: justify;
|
500
581
|
}
|
582
|
+
|
501
583
|
// Font family
|
502
584
|
.sd-text__serif,
|
503
|
-
.sd-text--serif
|
585
|
+
.sd-text--serif {
|
504
586
|
font-family: $baseFontFamilySerif;
|
505
587
|
}
|
506
|
-
|
588
|
+
|
589
|
+
.sd-text--sans {
|
507
590
|
font-family: $baseFontFamily;
|
508
591
|
}
|
509
|
-
|
592
|
+
|
593
|
+
.sd-text--mono {
|
510
594
|
font-family: $baseFontFamilyMono;
|
511
595
|
}
|
596
|
+
|
512
597
|
// Word Break
|
513
598
|
.sd-word-break--normal {
|
514
599
|
overflow-wrap: normal;
|
515
600
|
word-break: normal;
|
516
601
|
}
|
602
|
+
|
517
603
|
.sd-word-break--words {
|
518
604
|
overflow-wrap: break-word;
|
519
605
|
}
|
606
|
+
|
520
607
|
.sd-word-break--all {
|
521
608
|
word-break: break-all;
|
522
609
|
}
|
610
|
+
|
523
611
|
// Whitespace
|
524
612
|
.sd-whitespace--normal {
|
525
613
|
white-space: normal;
|
526
614
|
}
|
615
|
+
|
527
616
|
.sd-whitespace--nowrap {
|
528
617
|
white-space: nowrap;
|
529
618
|
}
|
619
|
+
|
530
620
|
.sd-whitespace--pre {
|
531
621
|
white-space: pre;
|
532
622
|
}
|
623
|
+
|
533
624
|
.sd-whitespace--pre-line {
|
534
625
|
white-space: pre-line;
|
535
626
|
}
|
627
|
+
|
536
628
|
.sd-whitespace--pre-wrap {
|
537
629
|
white-space: pre-wrap;
|
538
630
|
}
|
631
|
+
|
539
632
|
// Text Transform
|
540
633
|
.sd-txt-transform--uppercase {
|
541
634
|
text-transform: uppercase;
|
542
635
|
}
|
636
|
+
|
543
637
|
.sd-txt-transform--lowercase {
|
544
638
|
text-transform: lowercase;
|
545
639
|
}
|
640
|
+
|
546
641
|
.sd-txt-transform--capitalize {
|
547
642
|
text-transform: capitalize;
|
548
643
|
}
|
644
|
+
|
549
645
|
.sd-txt-transform--none {
|
550
646
|
text-transform: none;
|
551
647
|
}
|
648
|
+
|
552
649
|
// Text Decoration
|
553
650
|
.sd-txt-decoration--underline {
|
554
651
|
text-decoration: underline;
|
555
652
|
}
|
653
|
+
|
556
654
|
.sd-txt-decoration--line-through {
|
557
655
|
text-decoration: line-through;
|
558
656
|
}
|
657
|
+
|
559
658
|
.sd-txt-decoration--none {
|
560
659
|
text-decoration: none;
|
561
660
|
}
|
@@ -568,30 +667,37 @@ h1, h2, h3, h4, h5, h6 {
|
|
568
667
|
display: -webkit-box;
|
569
668
|
-webkit-box-orient: vertical;
|
570
669
|
}
|
670
|
+
|
571
671
|
.sd-line-clamp--1 {
|
572
672
|
@include line-clamp-base;
|
573
673
|
-webkit-line-clamp: 1;
|
574
674
|
}
|
675
|
+
|
575
676
|
.sd-line-clamp--2 {
|
576
677
|
@include line-clamp-base;
|
577
678
|
-webkit-line-clamp: 2;
|
578
679
|
}
|
680
|
+
|
579
681
|
.sd-line-clamp--3 {
|
580
682
|
@include line-clamp-base;
|
581
683
|
-webkit-line-clamp: 3;
|
582
684
|
}
|
685
|
+
|
583
686
|
.sd-line-clamp--4 {
|
584
687
|
@include line-clamp-base;
|
585
688
|
-webkit-line-clamp: 4;
|
586
689
|
}
|
690
|
+
|
587
691
|
.sd-line-clamp--5 {
|
588
692
|
@include line-clamp-base;
|
589
693
|
-webkit-line-clamp: 5;
|
590
694
|
}
|
695
|
+
|
591
696
|
.sd-line-clamp--6 {
|
592
697
|
@include line-clamp-base;
|
593
698
|
-webkit-line-clamp: 6;
|
594
699
|
}
|
700
|
+
|
595
701
|
.sd-line-clamp--none {
|
596
702
|
-webkit-line-clamp: unset;
|
597
703
|
}
|
@@ -604,6 +710,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
604
710
|
text-transform: uppercase;
|
605
711
|
margin-right: 1rem;
|
606
712
|
}
|
713
|
+
|
607
714
|
.sd-text__title {
|
608
715
|
color: inherit;
|
609
716
|
font-weight: 500;
|
@@ -615,13 +722,16 @@ h1, h2, h3, h4, h5, h6 {
|
|
615
722
|
color: var(--color-text-light);
|
616
723
|
font-weight: 400;
|
617
724
|
letter-spacing: .025em;
|
618
|
-
&--small {
|
619
|
-
font-size: 1.2rem;
|
620
|
-
}
|
621
725
|
}
|
726
|
+
|
727
|
+
.sd-text__date-time--small {
|
728
|
+
font-size: 1.2rem;
|
729
|
+
}
|
730
|
+
|
622
731
|
.sd-text__date-and-author {
|
623
732
|
font-size: 1.3rem;
|
624
733
|
}
|
734
|
+
|
625
735
|
.sd-text__author {
|
626
736
|
font-weight: 500;
|
627
737
|
}
|
@@ -633,106 +743,140 @@ h1, h2, h3, h4, h5, h6 {
|
|
633
743
|
|
634
744
|
.sd-text-icon {
|
635
745
|
display: inline-flex;
|
746
|
+
|
636
747
|
i {
|
637
748
|
margin-right: 0.3rem;
|
638
749
|
}
|
639
750
|
}
|
640
|
-
|
751
|
+
|
752
|
+
.sd-text-icon+.sd-text-icon {
|
641
753
|
margin-right: 1rem;
|
642
754
|
}
|
643
|
-
|
755
|
+
|
756
|
+
.sd-text-icon.sd-text-icon--aligned-r+.sd-text-icon.sd-text-icon--aligned-r {
|
644
757
|
margin-right: 0;
|
645
758
|
margin-left: 1rem;
|
646
759
|
}
|
647
760
|
|
648
761
|
// Opacity helpers
|
649
|
-
// -------------------------------------------------
|
650
|
-
|
651
762
|
.sd-opacity--20 {
|
652
763
|
opacity: 0.2 !important;
|
653
764
|
}
|
765
|
+
|
654
766
|
.sd-opacity--25 {
|
655
767
|
opacity: 0.25 !important;
|
656
768
|
}
|
769
|
+
|
657
770
|
.sd-opacity--30 {
|
658
771
|
opacity: 0.3 !important;
|
659
772
|
}
|
773
|
+
|
660
774
|
.sd-opacity--40 {
|
661
775
|
opacity: 0.4 !important;
|
662
776
|
}
|
777
|
+
|
663
778
|
.sd-opacity--50 {
|
664
779
|
opacity: 0.5 !important;
|
665
780
|
}
|
781
|
+
|
666
782
|
.sd-opacity--60 {
|
667
783
|
opacity: 0.6 !important;
|
668
784
|
}
|
785
|
+
|
669
786
|
.sd-opacity--75 {
|
670
787
|
opacity: 0.75 !important;
|
671
788
|
}
|
672
789
|
|
673
790
|
|
674
791
|
// Margin auto
|
675
|
-
// -------------------------------------------------
|
676
|
-
|
677
792
|
.ml-auto,
|
678
793
|
.sd-margin-l--auto,
|
679
794
|
.sd-margin-s--auto {
|
680
795
|
margin-inline-start: auto !important;
|
681
796
|
}
|
797
|
+
|
682
798
|
.mr-auto,
|
683
799
|
.sd-margin-r--auto,
|
684
800
|
.sd-margin-e--auto {
|
685
801
|
margin-inline-end: auto !important;
|
686
802
|
}
|
803
|
+
|
687
804
|
.mt-auto,
|
688
805
|
.sd-margin-t--auto {
|
689
806
|
margin-top: auto !important;
|
690
807
|
}
|
808
|
+
|
691
809
|
.mb-auto,
|
692
810
|
.sd-margin-b--auto {
|
693
811
|
margin-bottom: auto !important;
|
694
812
|
}
|
813
|
+
|
695
814
|
.mlr-auto,
|
696
815
|
.sd-margin-x--auto {
|
697
816
|
margin-inline-start: auto !important;
|
698
817
|
margin-inline-end: auto !important;
|
699
818
|
}
|
819
|
+
|
700
820
|
.sd-margin-y--auto {
|
701
821
|
margin-top: auto !important;
|
702
822
|
margin-bottom: auto !important;
|
703
823
|
}
|
824
|
+
|
704
825
|
.sd-margin--auto {
|
705
826
|
margin: auto !important;
|
706
827
|
}
|
707
828
|
|
708
829
|
// Common margin overrides
|
709
|
-
// -------------------------------------------------
|
710
|
-
|
711
830
|
// $sd-base-increment - default size of the increment is 0.8rem;
|
712
831
|
// For example: .sd-margin-t--1 {margin-top: 0.8rem}, .sd-padding-l--2 {padding-left: 1.6rem}
|
713
|
-
$sd-increments: (
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
832
|
+
$sd-increments: (
|
833
|
+
'0': 0,
|
834
|
+
'0-5': 0.5,
|
835
|
+
'1': 1,
|
836
|
+
'1-5': 1.5,
|
837
|
+
'2': 2,
|
838
|
+
'3': 3,
|
839
|
+
'4' : 4,
|
840
|
+
'5' : 5
|
841
|
+
); // Number of increments, genarates new classes eg. .sd-padding-top--4, .sd-margin-top--4
|
842
|
+
$sd-sides: (
|
843
|
+
top,
|
844
|
+
right,
|
845
|
+
bottom,
|
846
|
+
left,
|
847
|
+
x,
|
848
|
+
y
|
849
|
+
); // It's generating these sides
|
850
|
+
$sd-properties: (
|
851
|
+
padding,
|
852
|
+
margin
|
853
|
+
); // It's generating these properties
|
854
|
+
|
855
|
+
@each $incrementName,
|
856
|
+
$incrementValue in $sd-increments {
|
718
857
|
@each $property in $sd-properties {
|
719
858
|
@each $side in $sd-sides {
|
720
|
-
@if($side ==
|
859
|
+
@if($side ==x) {
|
721
860
|
.sd-#{$property}-#{$side}--#{$incrementName} {
|
722
861
|
#{$property}-left: #{$sd-base-increment * $incrementValue} !important;
|
723
862
|
#{$property}-right: #{$sd-base-increment * $incrementValue} !important;
|
724
863
|
}
|
725
|
-
}
|
864
|
+
}
|
865
|
+
|
866
|
+
@else if ($side ==y) {
|
726
867
|
.sd-#{$property}-#{$side}--#{$incrementName} {
|
727
868
|
#{$property}-top: #{$sd-base-increment * $incrementValue} !important;
|
728
869
|
#{$property}-bottom: #{$sd-base-increment * $incrementValue} !important;
|
729
870
|
}
|
730
|
-
}
|
871
|
+
}
|
872
|
+
|
873
|
+
@else {
|
731
874
|
.sd-#{$property}-#{str-slice($side, 1, 1)}--#{$incrementName} {
|
732
875
|
#{$property}-#{$side}: #{$sd-base-increment * $incrementValue} !important;
|
733
876
|
}
|
734
877
|
}
|
735
878
|
}
|
879
|
+
|
736
880
|
.sd-#{$property}--#{$incrementName} {
|
737
881
|
#{$property}: #{$sd-base-increment * $incrementValue} !important;
|
738
882
|
}
|
@@ -748,16 +892,20 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
748
892
|
|
749
893
|
|
750
894
|
@mixin sd-spacing($property, $sd-incrementValue, $side) {
|
751
|
-
@if ($side ==
|
895
|
+
@if ($side ==false) {
|
752
896
|
#{$property}: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
753
|
-
}
|
897
|
+
}
|
898
|
+
|
899
|
+
@else if ($side ==x) {
|
754
900
|
#{$property}-left: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
755
901
|
#{$property}-right: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
756
902
|
}
|
757
|
-
|
903
|
+
|
904
|
+
@else if ($side ==y) {
|
758
905
|
#{$property}-top: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
759
906
|
#{$property}-bottom: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
760
907
|
}
|
908
|
+
|
761
909
|
@else {
|
762
910
|
#{$property}-#{$side}: #{$sd-base-increment * map-get($sd-increments, $sd-incrementValue)};
|
763
911
|
}
|
@@ -771,7 +919,7 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
771
919
|
@include sd-spacing('padding', $sd-incrementValue, $side)
|
772
920
|
}
|
773
921
|
|
774
|
-
|
922
|
+
|
775
923
|
// START: This part should not be used for new stuff, it's only here for older implemetation.
|
776
924
|
// Once the implemented classes are refactored this should be removed
|
777
925
|
|
@@ -779,50 +927,58 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
779
927
|
.sd-padding-all--0 {
|
780
928
|
padding: 0 !important;
|
781
929
|
}
|
930
|
+
|
782
931
|
.sd-padding-all--0-5 {
|
783
932
|
padding: $sd-base-increment * 0.5 !important;
|
784
933
|
}
|
934
|
+
|
785
935
|
.sd-padding-all--1 {
|
786
936
|
padding: $sd-base-increment !important;
|
787
937
|
}
|
938
|
+
|
788
939
|
.sd-padding-all--1-5 {
|
789
940
|
padding: $sd-base-increment * 1.5 !important;
|
790
941
|
}
|
942
|
+
|
791
943
|
.sd-padding-all--2 {
|
792
944
|
padding: $sd-base-increment * 2 !important;
|
793
945
|
}
|
946
|
+
|
794
947
|
.sd-padding-all--3 {
|
795
948
|
padding: $sd-base-increment * 3 !important;
|
796
949
|
}
|
950
|
+
|
797
951
|
// margin all (KILL THIS AFTER REFACTORING)
|
798
952
|
.sd-margin-all--0 {
|
799
953
|
margin: 0 !important;
|
800
954
|
}
|
955
|
+
|
801
956
|
.sd-margin-all--0-5 {
|
802
957
|
margin: $sd-base-increment * 0.5 !important;
|
803
958
|
}
|
959
|
+
|
804
960
|
.sd-margin-all--1 {
|
805
961
|
margin: $sd-base-increment * 1 !important;
|
806
962
|
}
|
963
|
+
|
807
964
|
.sd-margin-all--1-5 {
|
808
965
|
margin: $sd-base-increment * 1.5 !important;
|
809
966
|
}
|
967
|
+
|
810
968
|
.sd-margin-all--2 {
|
811
969
|
margin: $sd-base-increment * 2 !important;
|
812
970
|
}
|
971
|
+
|
813
972
|
.sd-margin-all--3 {
|
814
973
|
margin: $sd-base-increment * 3 !important;
|
815
974
|
}
|
816
975
|
// END
|
817
|
-
//-------------------------------------------------------
|
818
976
|
|
819
977
|
|
820
978
|
.sd-wrap-helper {
|
821
979
|
display: contents !important;
|
822
980
|
}
|
823
981
|
|
824
|
-
|
825
|
-
|
826
982
|
.sd-accessibility__btn-text--invisible,
|
827
983
|
.sd-accessibility__screenreader-text {
|
828
984
|
position: absolute;
|
@@ -833,92 +989,111 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
833
989
|
pointer-events: none;
|
834
990
|
}
|
835
991
|
|
836
|
-
|
837
992
|
// remove this after refactoring
|
838
|
-
// --------------------------------------------
|
839
993
|
.overflow-auto {
|
840
994
|
overflow: auto !important;
|
841
995
|
}
|
996
|
+
|
842
997
|
.overflow-hidden {
|
843
998
|
overflow: hidden !important;
|
844
999
|
}
|
1000
|
+
|
845
1001
|
.overflow-x-hidden {
|
846
1002
|
overflow-x: hidden !important;
|
847
1003
|
}
|
1004
|
+
|
848
1005
|
.sd-d-none {
|
849
1006
|
display: none !important;
|
850
1007
|
}
|
1008
|
+
|
851
1009
|
.sd-d-inline {
|
852
1010
|
display: inline !important;
|
853
1011
|
}
|
1012
|
+
|
854
1013
|
.sd-d-inline-block {
|
855
1014
|
display: inline-block !important;
|
856
1015
|
}
|
1016
|
+
|
857
1017
|
.sd-d-block {
|
858
1018
|
display: block !important;
|
859
1019
|
}
|
1020
|
+
|
860
1021
|
.sd-d-flex {
|
861
1022
|
display: flex !important;
|
862
1023
|
}
|
1024
|
+
|
863
1025
|
.sd-d-inline-flex {
|
864
1026
|
display: inline-flex !important;
|
865
1027
|
}
|
866
1028
|
|
867
|
-
|
868
1029
|
.sd-display-flex-column {
|
869
1030
|
display: flex;
|
870
1031
|
flex-direction: column;
|
871
1032
|
overflow: auto;
|
872
1033
|
}
|
1034
|
+
|
873
1035
|
.sd-flex-wrap {
|
874
1036
|
flex-wrap: wrap;
|
875
1037
|
}
|
1038
|
+
|
876
1039
|
.sd-flex-shrink {
|
877
1040
|
flex-shrink: 1 !important;
|
878
1041
|
}
|
1042
|
+
|
879
1043
|
.sd-flex-no-shrink {
|
880
1044
|
flex-shrink: 0 !important;
|
881
1045
|
}
|
1046
|
+
|
882
1047
|
.sd-flex-justify-end {
|
883
1048
|
justify-content: flex-end !important;
|
884
1049
|
}
|
1050
|
+
|
885
1051
|
.sd-flex-justify-center {
|
886
|
-
justify-content: center
|
1052
|
+
justify-content: center !important;
|
887
1053
|
}
|
1054
|
+
|
888
1055
|
.sd-flex-justify-space-between {
|
889
|
-
justify-content: space-between
|
1056
|
+
justify-content: space-between !important;
|
890
1057
|
}
|
1058
|
+
|
891
1059
|
.sd-flex-align-items-center {
|
892
1060
|
align-items: center !important;
|
893
1061
|
}
|
1062
|
+
|
894
1063
|
.sd-flex-grow {
|
895
1064
|
flex-grow: 1 !important;
|
896
1065
|
}
|
1066
|
+
|
897
1067
|
.sd-flex-no-grow {
|
898
1068
|
flex-grow: 0 !important;
|
899
1069
|
}
|
1070
|
+
|
900
1071
|
.sd-no-wrap {
|
901
1072
|
white-space: nowrap;
|
902
1073
|
}
|
903
|
-
// --------------------------------------------
|
904
1074
|
|
905
1075
|
|
906
1076
|
// Border Radius
|
907
1077
|
.sd-radius--x-small {
|
908
1078
|
border-radius: var(--b-radius--x-small);
|
909
1079
|
}
|
1080
|
+
|
910
1081
|
.sd-radius--small {
|
911
1082
|
border-radius: var(--b-radius--small);
|
912
1083
|
}
|
1084
|
+
|
913
1085
|
.sd-radius--medium {
|
914
1086
|
border-radius: var(--b-radius--medium);
|
915
1087
|
}
|
1088
|
+
|
916
1089
|
.sd-radius--large {
|
917
1090
|
border-radius: var(--b-radius--large);
|
918
1091
|
}
|
1092
|
+
|
919
1093
|
.sd-radius--x-large {
|
920
1094
|
border-radius: var(--b-radius--x-large);
|
921
1095
|
}
|
1096
|
+
|
922
1097
|
.sd-radius--full {
|
923
1098
|
border-radius: var(--b-radius--full);
|
924
1099
|
}
|
@@ -927,28 +1102,35 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
927
1102
|
.sd-border--x-light {
|
928
1103
|
border: 1px solid var(--sd-colour-line--x-light);
|
929
1104
|
}
|
1105
|
+
|
930
1106
|
.sd-border--light {
|
931
1107
|
border: 1px solid var(--sd-colour-line--light);
|
932
1108
|
}
|
1109
|
+
|
933
1110
|
.sd-border--medium {
|
934
1111
|
border: 1px solid var(--sd-colour-line--medium);
|
935
1112
|
}
|
1113
|
+
|
936
1114
|
.sd-border--strong {
|
937
1115
|
border: 1px solid var(--sd-colour-line--strong);
|
938
1116
|
}
|
1117
|
+
|
939
1118
|
.sd-border--x-light {
|
940
1119
|
border: 1px solid var(--sd-colour-line--x-light);
|
941
1120
|
}
|
1121
|
+
|
942
1122
|
.sd-border-style--dotted {
|
943
1123
|
border-style: dotted !important;
|
944
1124
|
}
|
945
|
-
|
1125
|
+
|
1126
|
+
.sd-border-style--dashed {
|
946
1127
|
border-style: dashed !important;
|
947
1128
|
}
|
948
1129
|
|
949
1130
|
.sd-border-width--2 {
|
950
1131
|
border-width: 2px;
|
951
1132
|
}
|
1133
|
+
|
952
1134
|
.sd-border-width--3 {
|
953
1135
|
border-width: 3px;
|
954
1136
|
}
|
@@ -957,12 +1139,15 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
957
1139
|
.sd-font-size--x-small {
|
958
1140
|
font-size: calc(var(--text-size--base) * 1.2); // 12px;
|
959
1141
|
}
|
1142
|
+
|
960
1143
|
.sd-font-size--small {
|
961
1144
|
font-size: calc(var(--text-size--base) * 1.4); // 14px;
|
962
1145
|
}
|
1146
|
+
|
963
1147
|
.sd-font-size--medium {
|
964
1148
|
font-size: calc(var(--text-size--base) * 1.6); // 16px;
|
965
1149
|
}
|
1150
|
+
|
966
1151
|
.sd-font-size--large {
|
967
1152
|
font-size: calc(var(--text-size--base) * 2); // 20px;
|
968
1153
|
}
|
@@ -971,9 +1156,11 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
971
1156
|
.sd-text-color--lighter {
|
972
1157
|
color: var(--color-text-lighter) !important;
|
973
1158
|
}
|
1159
|
+
|
974
1160
|
.sd-text-color--light {
|
975
1161
|
color: var(--color-text-light) !important;
|
976
1162
|
}
|
1163
|
+
|
977
1164
|
.sd-text-color--normal {
|
978
1165
|
color: var(--color-text) !important;
|
979
1166
|
}
|
@@ -982,9 +1169,11 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
982
1169
|
.sd-panel-bg--100 {
|
983
1170
|
background-color: var(--sd-colour-panel-bg--100);
|
984
1171
|
}
|
1172
|
+
|
985
1173
|
.sd-panel-bg--000 {
|
986
1174
|
background-color: var(--sd-item__main-Bg);
|
987
1175
|
}
|
1176
|
+
|
988
1177
|
.sd-panel-bg--gradient-1 {
|
989
1178
|
background-color: var(--sd-item__main-Bg);
|
990
1179
|
background: linear-gradient(180deg, var(--sd-colour-interactive--alpha-20) 0%, var(--sd-item__main-Bg) 40%);
|
@@ -993,58 +1182,73 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
993
1182
|
.sd-state--focus:focus-within,
|
994
1183
|
.sd-state--active {
|
995
1184
|
box-shadow: var(--sd-shadow__item--selected) !important;
|
996
|
-
transition: box-shadow 0.3s ease, filter 0.3s ease
|
1185
|
+
transition: box-shadow 0.3s ease, filter 0.3s ease;
|
997
1186
|
}
|
1187
|
+
|
998
1188
|
.sd-width--xxx-small {
|
999
1189
|
width: var(--width__container--xxx-small) !important;
|
1000
1190
|
}
|
1191
|
+
|
1001
1192
|
.sd-width--xx-small {
|
1002
1193
|
width: var(--width__container--xx-small);
|
1003
1194
|
}
|
1195
|
+
|
1004
1196
|
.sd-width--x-small {
|
1005
1197
|
width: var(--width__container--x-small);
|
1006
1198
|
}
|
1199
|
+
|
1007
1200
|
.sd-width--small {
|
1008
1201
|
width: var(--width__container--small);
|
1009
1202
|
}
|
1203
|
+
|
1010
1204
|
.sd-width--medium {
|
1011
1205
|
width: var(--width__container--medium);
|
1012
1206
|
}
|
1013
|
-
|
1207
|
+
|
1208
|
+
.sd-width--large {
|
1014
1209
|
width: var(--width__container--large);
|
1015
1210
|
}
|
1211
|
+
|
1016
1212
|
.sd-width--x-large {
|
1017
1213
|
width: var(--width__container--x-large);
|
1018
1214
|
}
|
1215
|
+
|
1019
1216
|
.sd-width--xx-large {
|
1020
1217
|
width: var(--width__container--xx-large);
|
1021
1218
|
}
|
1219
|
+
|
1022
1220
|
.sd-width--xxx-large {
|
1023
1221
|
width: var(--width__container--xxx-large);
|
1024
1222
|
}
|
1223
|
+
|
1025
1224
|
.sd-width--full {
|
1026
1225
|
width: var(--width__container--full);
|
1027
1226
|
}
|
1028
1227
|
|
1029
|
-
|
1030
1228
|
.sd-gap--x-small {
|
1031
1229
|
gap: var(--gap--x-small);
|
1032
1230
|
}
|
1231
|
+
|
1033
1232
|
.sd-gap--small {
|
1034
1233
|
gap: var(--gap--small);
|
1035
1234
|
}
|
1235
|
+
|
1036
1236
|
.sd-gap--medium {
|
1037
1237
|
gap: var(--gap--medium);
|
1038
1238
|
}
|
1239
|
+
|
1039
1240
|
.sd-gap--large {
|
1040
1241
|
gap: var(--gap--large);
|
1041
1242
|
}
|
1243
|
+
|
1042
1244
|
.sd-gap--x-large {
|
1043
1245
|
gap: var(--gap--x-large);
|
1044
1246
|
}
|
1247
|
+
|
1045
1248
|
.sd-gap--xx-large {
|
1046
1249
|
gap: var(--gap--xx-large);
|
1047
1250
|
}
|
1251
|
+
|
1048
1252
|
.sd-gap--auto {
|
1049
1253
|
gap: var(--gap--auto);
|
1050
1254
|
}
|