@eeacms/volto-eea-design-system 1.18.3 → 1.20.0
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/CHANGELOG.md +82 -19
- package/RELEASE.md +14 -14
- package/package.json +3 -3
- package/src/ui/Card/Card.stories.jsx +104 -50
- package/src/ui/Card/Card.stories.test.jsx +196 -0
- package/src/ui/Footer/FooterSites.jsx +2 -2
- package/src/ui/Header/Header.stories.js +14 -10
- package/src/ui/Tab/Tab.stories.js +21 -5
- package/src/ui/Tab/Tab.stories.test.js +10 -0
- package/theme/themes/eea/collections/breadcrumb.overrides +4 -3
- package/theme/themes/eea/collections/menu.overrides +201 -15
- package/theme/themes/eea/collections/menu.variables +43 -28
- package/theme/themes/eea/collections/message.overrides +1 -1
- package/theme/themes/eea/collections/table.overrides +9 -15
- package/theme/themes/eea/elements/button.overrides +2 -2
- package/theme/themes/eea/elements/container.overrides +39 -34
- package/theme/themes/eea/elements/divider.overrides +13 -9
- package/theme/themes/eea/elements/image.overrides +5 -6
- package/theme/themes/eea/elements/label.overrides +16 -16
- package/theme/themes/eea/elements/list.overrides +3 -1
- package/theme/themes/eea/elements/segment.overrides +4 -4
- package/theme/themes/eea/extras/custom.overrides +43 -22
- package/theme/themes/eea/extras/header.variables +1 -1
- package/theme/themes/eea/globals/site.overrides +63 -35
- package/theme/themes/eea/globals/site.variables +2 -5
- package/theme/themes/eea/modules/accordion.overrides +36 -24
- package/theme/themes/eea/modules/accordion.variables +4 -4
- package/theme/themes/eea/modules/checkbox.overrides +2 -2
- package/theme/themes/eea/modules/modal.overrides +2 -2
- package/theme/themes/eea/modules/search.overrides +4 -0
- package/theme/themes/eea/modules/tab.overrides +6 -12
- package/theme/themes/eea/modules/tab.variables +2 -1
- package/theme/themes/eea/tokens/colors.less +2 -2
- package/theme/themes/eea/views/card.overrides +49 -35
- package/theme/themes/eea/views/card.variables +5 -0
- package/theme/themes/eea/views/item.overrides +15 -13
- package/theme/themes/eea/views/statistic.overrides +13 -3
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
color @defaultDuration @defaultEasing
|
|
31
31
|
;
|
|
32
32
|
@itemFontWeight: @normal;
|
|
33
|
-
@itemTextColor:
|
|
33
|
+
@itemTextColor: @textColor;
|
|
34
34
|
|
|
35
35
|
/* Divider */
|
|
36
36
|
@dividerSize: 1px;
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
|
|
160
160
|
/* Hovered Item */
|
|
161
161
|
@hoverItemBackground: none;
|
|
162
|
-
@hoverItemTextColor: @
|
|
162
|
+
@hoverItemTextColor: @activeItemTextColor;
|
|
163
163
|
|
|
164
164
|
/* Pressed Item */
|
|
165
165
|
@pressedItemBackground: none;
|
|
@@ -168,14 +168,14 @@
|
|
|
168
168
|
|
|
169
169
|
/* Active Item */
|
|
170
170
|
@activeItemBackground: none;
|
|
171
|
-
@activeItemTextColor: @
|
|
171
|
+
@activeItemTextColor: var(--text-color, @textColor);
|
|
172
172
|
@activeItemFontWeight: @normal;
|
|
173
173
|
@activeIconOpacity: 1;
|
|
174
174
|
@activeItemBoxShadow: none;
|
|
175
175
|
|
|
176
176
|
/* Active Hovered Item */
|
|
177
177
|
@activeHoverItemBackground: @transparentBlack;
|
|
178
|
-
@activeHoverItemColor: @
|
|
178
|
+
@activeHoverItemColor: @activeItemTextColor;
|
|
179
179
|
|
|
180
180
|
/* Selected Dropdown */
|
|
181
181
|
@dropdownSelectedItemBackground: @transparentBlack;
|
|
@@ -200,8 +200,22 @@
|
|
|
200
200
|
@verticalBoxShadow: @boxShadow;
|
|
201
201
|
@verticalPointerWidth: 2px;
|
|
202
202
|
@verticalBackground: #FFFFFF;
|
|
203
|
-
@verticalItemBackground: none;
|
|
204
203
|
@verticalDividerBackground: @dividerBackground;
|
|
204
|
+
@verticalBorderWidth: @1px;
|
|
205
|
+
@verticalMenuBorder: @1px solid @grey-3;
|
|
206
|
+
@verticalMenuBorderWidth: var(--vertical-menu-border, 0 @verticalBorderWidth 0 0) !important;
|
|
207
|
+
@verticalMenuBorderOnLeftSide: 0 0 0 @verticalBorderWidth;
|
|
208
|
+
@verticalMenuBorderColor: @grey-3;
|
|
209
|
+
@verticalItemBackground: none;
|
|
210
|
+
@verticalItemBorderWidth: @3px;
|
|
211
|
+
@verticalItemBorder: var(--vertical-item-border, 0 @verticalItemBorderWidth 0 0) !important;
|
|
212
|
+
@verticalItemBorderStyle: var(--vertical-item-border-style, none solid none none);
|
|
213
|
+
@verticalItemBorderStyleOnLeft: none none none solid;
|
|
214
|
+
@verticalItemBorderOnLeftSide: 0 0 0 @verticalItemBorderWidth;
|
|
215
|
+
@verticalItemMargin: @secondaryVerticalPointingItemMargin;
|
|
216
|
+
@verticalItemMarginOnLeft: 0 0 0 -@secondaryPointingBorderWidth;
|
|
217
|
+
@verticalItemPadding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
|
|
218
|
+
@verticalItemActiveBorder: @3px solid @activeItemTextColor;
|
|
205
219
|
|
|
206
220
|
@verticalActiveBoxShadow: none;
|
|
207
221
|
|
|
@@ -219,13 +233,13 @@
|
|
|
219
233
|
@secondaryItemTransition: none;
|
|
220
234
|
@secondaryItemColor: @unselectedTextColor;
|
|
221
235
|
|
|
222
|
-
@secondaryHoverItemBackground:
|
|
223
|
-
@secondaryHoverItemColor: @
|
|
236
|
+
@secondaryHoverItemBackground: transparent;
|
|
237
|
+
@secondaryHoverItemColor: @activeItemTextColor;
|
|
224
238
|
|
|
225
|
-
@secondaryActiveItemBackground: @
|
|
226
|
-
@secondaryActiveItemColor: @
|
|
227
|
-
@secondaryActiveHoverItemBackground: @
|
|
228
|
-
@secondaryActiveHoverItemColor: @
|
|
239
|
+
@secondaryActiveItemBackground: var(--bg-color, @white);
|
|
240
|
+
@secondaryActiveItemColor: @activeItemTextColor;
|
|
241
|
+
@secondaryActiveHoverItemBackground: @secondaryActiveItemBackground;
|
|
242
|
+
@secondaryActiveHoverItemColor: @secondaryActiveItemColor;
|
|
229
243
|
|
|
230
244
|
@secondaryActiveHoveredItemBackground: @transparentBlack;
|
|
231
245
|
@secondaryActiveHoveredItemColor: @selectedTextColor;
|
|
@@ -234,7 +248,7 @@
|
|
|
234
248
|
@secondaryHeaderBorder: none;
|
|
235
249
|
|
|
236
250
|
@secondaryItemVerticalSpacing: @secondaryItemSpacing;
|
|
237
|
-
@secondaryVerticalItemMargin:
|
|
251
|
+
@secondaryVerticalItemMargin: @secondaryVerticalPointingItemMargin;
|
|
238
252
|
@secondaryVerticalItemBorderRadius: @defaultBorderRadius;
|
|
239
253
|
|
|
240
254
|
@secondaryMenuSubMenuMargin: 0em -@secondaryItemHorizontalPadding;
|
|
@@ -245,7 +259,7 @@
|
|
|
245
259
|
/* Pointing */
|
|
246
260
|
@secondaryPointingBorderWidth: @1px;
|
|
247
261
|
@secondaryPointingActiveBorderWidth: @3px;
|
|
248
|
-
@secondaryPointingBorderColor:
|
|
262
|
+
@secondaryPointingBorderColor: transparent;
|
|
249
263
|
@secondaryPointingItemMargin: 0 1.25rem;
|
|
250
264
|
@secondaryPointingItemVerticalPadding: @tinyGap;
|
|
251
265
|
@secondaryPointingItemActiveVerticalPadding: unit((@relativeTiny - @3px), rem);
|
|
@@ -256,8 +270,8 @@
|
|
|
256
270
|
|
|
257
271
|
@secondaryPointingHoverTextColor: var(--text-color-hover, @textColor);
|
|
258
272
|
|
|
259
|
-
@secondaryPointingActiveBorderColor: @secondaryColor;
|
|
260
|
-
@secondaryPointingActiveTextColor: @secondaryColor;
|
|
273
|
+
@secondaryPointingActiveBorderColor: var(--text-color, @secondaryColor);
|
|
274
|
+
@secondaryPointingActiveTextColor: var(--text-color, @secondaryColor);
|
|
261
275
|
@secondaryPointingActiveFontWeight: @normal;
|
|
262
276
|
|
|
263
277
|
@secondaryPointingActiveDropdownBorderColor: transparent;
|
|
@@ -266,19 +280,20 @@
|
|
|
266
280
|
@secondaryPointingActiveHoverTextColor: @secondaryPointingActiveTextColor;
|
|
267
281
|
|
|
268
282
|
@secondaryPointingHeaderColor: @darkTextColor;
|
|
269
|
-
@secondaryVerticalPointingItemMargin: 0em -@secondaryPointingBorderWidth 0em 0em;
|
|
283
|
+
@secondaryVerticalPointingItemMargin: var(--vertical-item-margin, 0em -@secondaryPointingBorderWidth 0em 0em);
|
|
270
284
|
|
|
271
285
|
|
|
272
|
-
@secondaryPointingItemBorderBottom: @
|
|
273
|
-
@
|
|
286
|
+
@secondaryPointingItemBorderBottom: @3px solid transparent;
|
|
287
|
+
@secondaryPointingItemMargin: 0 0 -@1px 0;
|
|
288
|
+
@secondaryPointingItemMaxWidth: 15.625rem;
|
|
274
289
|
|
|
275
290
|
/* Inverted Secondary */
|
|
276
|
-
@secondaryInvertedColor: @
|
|
291
|
+
@secondaryInvertedColor: @invertedTextColor;
|
|
277
292
|
|
|
278
|
-
@secondaryInvertedHoverBackground: @
|
|
293
|
+
@secondaryInvertedHoverBackground: @strongTransparentBlack;
|
|
279
294
|
@secondaryInvertedHoverColor: @invertedSelectedTextColor;
|
|
280
295
|
|
|
281
|
-
@secondaryInvertedActiveBackground: @
|
|
296
|
+
@secondaryInvertedActiveBackground: @invertedActiveBackground;
|
|
282
297
|
@secondaryInvertedActiveColor: @invertedSelectedTextColor;
|
|
283
298
|
|
|
284
299
|
/* Inverted Pointing */
|
|
@@ -286,7 +301,7 @@
|
|
|
286
301
|
@secondaryPointingInvertedItemTextColor: @invertedTextColor;
|
|
287
302
|
@secondaryPointingInvertedItemHeaderColor: @white;
|
|
288
303
|
@secondaryPointingInvertedItemHoverTextColor: @selectedTextColor;
|
|
289
|
-
@secondaryPointingInvertedActiveBorderColor: @
|
|
304
|
+
@secondaryPointingInvertedActiveBorderColor: @strongTransparentBlack;
|
|
290
305
|
@secondaryPointingInvertedActiveColor: @invertedSelectedTextColor;
|
|
291
306
|
|
|
292
307
|
|
|
@@ -369,7 +384,7 @@
|
|
|
369
384
|
|
|
370
385
|
@textMenuActiveItemFontWeight: @normal;
|
|
371
386
|
@textMenuActiveItemColor: @selectedTextColor;
|
|
372
|
-
@
|
|
387
|
+
@secondaryPointingActiveItemMarginBottom: @1px;
|
|
373
388
|
|
|
374
389
|
@textMenuHeaderSize: @relativeSmall;
|
|
375
390
|
@textMenuHeaderColor: @darkTextColor;
|
|
@@ -389,7 +404,7 @@
|
|
|
389
404
|
---------------*/
|
|
390
405
|
|
|
391
406
|
/* Inverted */
|
|
392
|
-
@invertedBackground: @
|
|
407
|
+
@invertedBackground: var(--bg-color, @textColor);
|
|
393
408
|
@invertedBoxShadow: none;
|
|
394
409
|
@invertedBorder: 0px solid transparent;
|
|
395
410
|
@invertedHeaderBackground: transparent;
|
|
@@ -402,23 +417,23 @@
|
|
|
402
417
|
@invertedSubMenuColor: @invertedUnselectedTextColor;
|
|
403
418
|
|
|
404
419
|
/* Inverted Hover */
|
|
405
|
-
@invertedHoverBackground: @
|
|
420
|
+
@invertedHoverBackground: @strongTransparentBlack;
|
|
406
421
|
@invertedHoverColor: @invertedSelectedTextColor;
|
|
407
422
|
|
|
408
423
|
@invertedSubMenuHoverBackground: transparent;
|
|
409
424
|
@invertedSubMenuHoverColor: @invertedSelectedTextColor;
|
|
410
425
|
|
|
411
426
|
/* Pressed */
|
|
412
|
-
@invertedMenuPressedBackground:
|
|
427
|
+
@invertedMenuPressedBackground: transparent;
|
|
413
428
|
@invertedMenuPressedColor: @invertedSelectedTextColor;
|
|
414
429
|
|
|
415
430
|
/* Inverted Active */
|
|
416
|
-
@invertedActiveBackground: @
|
|
431
|
+
@invertedActiveBackground: @strongTransparentBlack;
|
|
417
432
|
@invertedActiveColor: @invertedSelectedTextColor;
|
|
418
433
|
@invertedArrowActiveColor: #3D3E3F;
|
|
419
434
|
|
|
420
435
|
/* Inverted Active Hover */
|
|
421
|
-
@invertedActiveHoverBackground: @
|
|
436
|
+
@invertedActiveHoverBackground: @strongTransparentBlack;
|
|
422
437
|
@invertedActiveHoverColor: @white;
|
|
423
438
|
@invertedArrowActiveHoverColor: @invertedArrowActiveColor;
|
|
424
439
|
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
text-transform: @headerTextTransform;
|
|
28
28
|
vertical-align: @headerVerticalAlign;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
// fix hiding of table header on mobile resolutions, by default whitespace is no wrap from table.less
|
|
@@ -36,30 +35,29 @@
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
@media only screen and (max-width: @tabletBreakpoint) {
|
|
39
|
-
|
|
40
38
|
.ui.table.responsive {
|
|
41
|
-
|
|
42
39
|
&:not(.unstackable) td:first-child {
|
|
43
40
|
font-weight: @responsiveMobileCellHeaderFontWeight;
|
|
44
41
|
}
|
|
45
42
|
|
|
46
43
|
thead {
|
|
47
|
-
border: none;
|
|
48
|
-
clip: @responsiveMobileCellHeaderClip;
|
|
49
|
-
height: @responsiveMobileHeaderHeight;
|
|
50
|
-
margin: @responsiveMobileHeaderMargin;
|
|
51
|
-
overflow: hidden;
|
|
52
|
-
padding: @responsiveMobileHeaderPadding;
|
|
53
44
|
position: absolute;
|
|
45
|
+
overflow: hidden;
|
|
54
46
|
width: @responsiveMobileHeaderWidth;
|
|
47
|
+
height: @responsiveMobileHeaderHeight;
|
|
48
|
+
padding: @responsiveMobileHeaderPadding;
|
|
49
|
+
border: none;
|
|
50
|
+
margin: @responsiveMobileHeaderMargin;
|
|
51
|
+
clip: @responsiveMobileCellHeaderClip;
|
|
55
52
|
}
|
|
56
53
|
|
|
57
54
|
td {
|
|
58
55
|
display: block;
|
|
59
|
-
text-align: @responsiveMobileCellTextAlign;
|
|
60
56
|
clear: both;
|
|
61
|
-
|
|
57
|
+
text-align: @responsiveMobileCellTextAlign;
|
|
58
|
+
|
|
62
59
|
&::before {
|
|
60
|
+
max-width: @responsiveMobileCellDataLabelMaxSize;
|
|
63
61
|
/*
|
|
64
62
|
* aria-label has no advantage, it won't be read inside a table
|
|
65
63
|
content: attr(aria-label);
|
|
@@ -68,11 +66,7 @@
|
|
|
68
66
|
float: @responsiveMobileCellDataLabelFloat;
|
|
69
67
|
font-weight: @responsiveMobileCellDataLabelFontWeigth;
|
|
70
68
|
text-align: @responsiveMobileCellDataLabelTextAlign;
|
|
71
|
-
max-width: @responsiveMobileCellDataLabelMaxSize;
|
|
72
69
|
}
|
|
73
|
-
|
|
74
70
|
}
|
|
75
|
-
|
|
76
71
|
}
|
|
77
|
-
|
|
78
72
|
}
|
|
@@ -116,10 +116,10 @@ button.ui.button.text,
|
|
|
116
116
|
button.ui.buttons.text,
|
|
117
117
|
a.ui.button.text,
|
|
118
118
|
p.ui.button {
|
|
119
|
+
padding: @textButtonPadding;
|
|
119
120
|
background-color: @textButtonBackground;
|
|
120
121
|
color: @primaryColor;
|
|
121
122
|
text-decoration: underline;
|
|
122
|
-
padding: @textButtonPadding;
|
|
123
123
|
|
|
124
124
|
&:hover,
|
|
125
125
|
&:active,
|
|
@@ -320,4 +320,4 @@ p.ui.button {
|
|
|
320
320
|
.ui.tertiary.buttons .button:active,
|
|
321
321
|
.ui.tertiary.button:active {
|
|
322
322
|
background-color: @tertiaryColorDown;
|
|
323
|
-
}
|
|
323
|
+
}
|
|
@@ -45,18 +45,19 @@ body {
|
|
|
45
45
|
width: auto !important;
|
|
46
46
|
max-width: @containerWidth !important;
|
|
47
47
|
}
|
|
48
|
-
#page-add .container,
|
|
49
|
-
#page-edit .container {
|
|
50
|
-
max-width: unset !important;
|
|
51
|
-
}
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
#page-add .container,
|
|
50
|
+
#page-edit .container {
|
|
51
|
+
max-width: unset !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[class*='block-editor'] {
|
|
55
55
|
padding-right: @editContainerGutter;
|
|
56
|
+
padding-left: @editContainerGutter;
|
|
56
57
|
|
|
57
|
-
[class*=
|
|
58
|
-
padding-left: 0;
|
|
58
|
+
[class*='block-editor'] {
|
|
59
59
|
padding-right: 0;
|
|
60
|
+
padding-left: 0;
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -66,8 +67,8 @@ body {
|
|
|
66
67
|
// top of the edit page selector
|
|
67
68
|
.container > .blocks-form > .invisible > div > * {
|
|
68
69
|
max-width: var(--layout-max-width, @containerWidth);
|
|
69
|
-
margin-left: auto !important;
|
|
70
70
|
margin-right: auto !important;
|
|
71
|
+
margin-left: auto !important;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
.contentWidth(@offset) {
|
|
@@ -110,6 +111,7 @@ body {
|
|
|
110
111
|
[class*='or lower hidden']:not(.computer):not(.tablet):not(.mobile) {
|
|
111
112
|
display: none !important;
|
|
112
113
|
}
|
|
114
|
+
|
|
113
115
|
#page-document {
|
|
114
116
|
width: unset !important;
|
|
115
117
|
max-width: unset !important;
|
|
@@ -134,8 +136,8 @@ body {
|
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
/* Hack for escape the blocks container in blocks full width */
|
|
137
|
-
[class~=
|
|
138
|
-
[class~=
|
|
139
|
+
[class~='view-defaultview'] [id='page-document'] > .full-width,
|
|
140
|
+
[class~='view-viewview'] [id='page-document'] > .full-width {
|
|
139
141
|
max-width: initial !important;
|
|
140
142
|
}
|
|
141
143
|
|
|
@@ -145,58 +147,61 @@ body {
|
|
|
145
147
|
@sidebarWidthCSS: var(--sidebar-width, 0px);
|
|
146
148
|
@scrollbarWidthCSS: var(--scrollbar-width, @scrollbarWidth);
|
|
147
149
|
position: relative;
|
|
148
|
-
width: calc(100vw - @toolbarWidthCSS - @sidebarWidthCSS - @scrollbarWidthCSS) !important;
|
|
149
150
|
right: 50%;
|
|
150
151
|
left: 50%;
|
|
152
|
+
width: calc(
|
|
153
|
+
100vw - @toolbarWidthCSS - @sidebarWidthCSS - @scrollbarWidthCSS
|
|
154
|
+
) !important;
|
|
151
155
|
max-width: initial !important;
|
|
152
|
-
margin-
|
|
153
|
-
|
|
156
|
+
margin-right: calc(
|
|
157
|
+
-50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2
|
|
158
|
+
) !important;
|
|
159
|
+
margin-left: calc(
|
|
160
|
+
-50vw + (@toolbarWidthCSS + @sidebarWidthCSS + @scrollbarWidthCSS) / 2
|
|
161
|
+
) !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
#page-add [class*='block-editor-'].has--size--full,
|
|
165
|
+
#page-edit [class*='block-editor-'].has--size--full {
|
|
166
|
+
position: initial;
|
|
154
167
|
}
|
|
155
168
|
|
|
156
169
|
.has--size--full:not(.block-editor-columnsBlock) .ui.grid {
|
|
157
|
-
margin-left: 0;
|
|
158
170
|
margin-right: 0;
|
|
171
|
+
margin-left: 0;
|
|
159
172
|
}
|
|
160
|
-
|
|
161
|
-
|
|
173
|
+
|
|
174
|
+
.has--size--full:not(.block-editor-columnsBlock)
|
|
175
|
+
.ui.grid
|
|
176
|
+
.column-blocks-wrapper {
|
|
162
177
|
padding-right: 0;
|
|
178
|
+
padding-left: 0;
|
|
163
179
|
}
|
|
164
180
|
|
|
165
181
|
// tweak size of full to take into account toolbar open or collapsed
|
|
166
182
|
@media screen and (min-width: 768px) and (hover: hover) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
#page-add [class*="block-editor-"].has--size--full .block.inner,
|
|
172
|
-
#page-edit [class*="block-editor-"].has--size--full .column-grid {
|
|
173
|
-
width: calc(100vw - 471px) !important;
|
|
174
|
-
left: calc(50% + 240px);
|
|
183
|
+
#page-add [class*='block-editor-'].has--size--full .block.inner,
|
|
184
|
+
#page-edit [class*='block-editor-'].has--size--full .column-grid {
|
|
175
185
|
position: relative;
|
|
176
186
|
right: 50%;
|
|
187
|
+
left: calc(50% + 240px);
|
|
188
|
+
width: calc(100vw - 471px) !important;
|
|
177
189
|
max-width: initial !important;
|
|
178
190
|
margin-right: -50vw !important;
|
|
179
191
|
margin-left: -50vw !important;
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.has-toolbar-collapsed .has--size--full:not(.block-editor-columnsBlock) {
|
|
184
|
-
width: calc(100vw - 37px) !important;
|
|
185
192
|
}
|
|
186
|
-
|
|
187
193
|
}
|
|
188
194
|
|
|
189
195
|
// when we have no hover we have touch where there is no always visible
|
|
190
196
|
// scrollbar
|
|
191
197
|
@media screen and (min-width: 768px) and (hover: none) {
|
|
192
198
|
.has-toolbar .has--size--full:not(.block-editor-columnsBlock) {
|
|
193
|
-
width: calc(100vw - 80px) !important;
|
|
194
199
|
left: calc(50% + 40px);
|
|
200
|
+
width: calc(100vw - 80px) !important;
|
|
195
201
|
}
|
|
196
202
|
|
|
197
203
|
.has-toolbar-collapsed .has--size--full:not(.block-editor-columnsBlock) {
|
|
198
|
-
width: calc(100vw - 20px) !important;
|
|
199
204
|
left: calc(50% + 12px);
|
|
205
|
+
width: calc(100vw - 20px) !important;
|
|
200
206
|
}
|
|
201
|
-
|
|
202
207
|
}
|
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.ui.horizontal.divider.primary
|
|
10
|
+
.ui.horizontal.divider.primary,
|
|
11
|
+
.ui.horizontal.divider.secondary,
|
|
12
|
+
.ui.horizontal.divider.tertiary {
|
|
11
13
|
& > * {
|
|
12
14
|
padding: 0 @space-4;
|
|
13
15
|
}
|
|
@@ -15,23 +17,23 @@
|
|
|
15
17
|
|
|
16
18
|
.ui.horizontal.divider.primary:before,
|
|
17
19
|
.ui.horizontal.divider.primary:after {
|
|
20
|
+
border-top: 1px solid @dividerPrimary;
|
|
18
21
|
background-image: none;
|
|
19
|
-
|
|
20
|
-
transform:translateY(50%);
|
|
22
|
+
transform: translateY(50%);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.ui.horizontal.divider.secondary:before,
|
|
24
26
|
.ui.horizontal.divider.secondary:after {
|
|
27
|
+
border-top: 1px solid @dividerSecondary;
|
|
25
28
|
background-image: none;
|
|
26
|
-
|
|
27
|
-
transform:translateY(50%);
|
|
29
|
+
transform: translateY(50%);
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.ui.horizontal.divider.tertiary:before,
|
|
31
33
|
.ui.horizontal.divider.tertiary:after {
|
|
34
|
+
border-top: 1px solid @dividerTertiary;
|
|
32
35
|
background-image: none;
|
|
33
|
-
|
|
34
|
-
transform:translateY(50%);
|
|
36
|
+
transform: translateY(50%);
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
@media only screen and (max-width: (@tabletBreakpoint - 1px)) {
|
|
@@ -43,7 +45,6 @@
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
|
|
47
48
|
.ui.divider.short {
|
|
48
49
|
width: @shortWidth;
|
|
49
50
|
margin-inline: @shortMarginInline;
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
border-top-color: @dividerPrimary;
|
|
55
56
|
color: @dividerPrimary;
|
|
56
57
|
}
|
|
58
|
+
|
|
57
59
|
.ui.vertical.divider.primary:before,
|
|
58
60
|
.ui.vertical.divider.primary:after {
|
|
59
61
|
border-left-color: @dividerPrimary;
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
border-top-color: @dividerSecondary;
|
|
65
67
|
color: @dividerSecondary;
|
|
66
68
|
}
|
|
69
|
+
|
|
67
70
|
.ui.vertical.divider.secondary:before,
|
|
68
71
|
.ui.vertical.divider.secondary:after {
|
|
69
72
|
border-left-color: @dividerSecondary;
|
|
@@ -74,7 +77,8 @@
|
|
|
74
77
|
border-top-color: @dividerTertiary;
|
|
75
78
|
color: @dividerTertiary;
|
|
76
79
|
}
|
|
80
|
+
|
|
77
81
|
.ui.vertical.divider.tertiary:before,
|
|
78
82
|
.ui.vertical.divider.tertiary:after {
|
|
79
83
|
border-left-color: @dividerTertiary;
|
|
80
|
-
}
|
|
84
|
+
}
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
width: @massiveWidth;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
51
|
/*--------------
|
|
53
52
|
Image block float changes
|
|
54
53
|
---------------*/
|
|
@@ -67,18 +66,19 @@
|
|
|
67
66
|
.block.image.align.left {
|
|
68
67
|
img {
|
|
69
68
|
max-width: 100% !important;
|
|
70
|
-
float: none !important;
|
|
71
69
|
margin: 0 !important;
|
|
70
|
+
float: none !important;
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
/* edit page fixes for float issues */
|
|
76
|
-
#page-edit
|
|
75
|
+
#page-edit .image {
|
|
77
76
|
max-width: 100%;
|
|
78
77
|
min-height: @imageMinHeight;
|
|
79
78
|
}
|
|
80
|
-
|
|
81
|
-
#page-edit
|
|
79
|
+
|
|
80
|
+
#page-edit .image.left,
|
|
81
|
+
#page-edit .image.right,
|
|
82
82
|
#page-document > .image.left,
|
|
83
83
|
#page-document > .image.right {
|
|
84
84
|
float: none;
|
|
@@ -123,4 +123,3 @@
|
|
|
123
123
|
.image.align:not(.full, .center) .image-block-container.small {
|
|
124
124
|
max-width: @imageAlignSmallMaxWidth;
|
|
125
125
|
}
|
|
126
|
-
|
|
@@ -9,51 +9,51 @@
|
|
|
9
9
|
|
|
10
10
|
.ui.low.labels .label,
|
|
11
11
|
.ui.low.label {
|
|
12
|
-
background-color: @lowImportanceBackground;
|
|
13
12
|
border-color: @lowImportanceBackground;
|
|
13
|
+
background-color: @lowImportanceBackground;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ui.medium.labels .label,
|
|
17
17
|
.ui.medium.label {
|
|
18
|
-
background-color: @mediumImportanceBackground;
|
|
19
18
|
border-color: @mediumImportanceBackground;
|
|
19
|
+
background-color: @mediumImportanceBackground;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.ui.high.labels .label,
|
|
23
23
|
.ui.high.label {
|
|
24
|
-
background-color: @highImportanceBackground;
|
|
25
24
|
border-color: @highImportanceBackground;
|
|
25
|
+
background-color: @highImportanceBackground;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.ui.highlight.labels .label,
|
|
29
29
|
.ui.highlight.label {
|
|
30
|
-
background-color: @highlightImportanceBackground;
|
|
31
30
|
border-color: @highlightImportanceBackground;
|
|
31
|
+
background-color: @highlightImportanceBackground;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* Link */
|
|
35
35
|
.ui.low.labels .label:hover,
|
|
36
36
|
.ui.low.label:hover {
|
|
37
|
-
background-color: @lowImportanceHoverBackground;
|
|
38
37
|
border-color: @lowImportanceHoverBackground;
|
|
38
|
+
background-color: @lowImportanceHoverBackground;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.ui.medium.labels .label:hover,
|
|
42
42
|
.ui.medium.label:hover {
|
|
43
|
-
background-color: @mediumImportanceHoverBackground;
|
|
44
43
|
border-color: @mediumImportanceHoverBackground;
|
|
44
|
+
background-color: @mediumImportanceHoverBackground;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ui.high.labels .label:hover,
|
|
48
48
|
.ui.high.label:hover {
|
|
49
|
-
background-color: @highImportanceHoverBackground;
|
|
50
49
|
border-color: @highImportanceHoverBackground;
|
|
50
|
+
background-color: @highImportanceHoverBackground;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.ui.highlight.labels .label:hover,
|
|
54
54
|
.ui.highlight.label:hover {
|
|
55
|
-
background-color: @highlightImportanceHoverBackground;
|
|
56
55
|
border-color: @highlightImportanceHoverBackground;
|
|
56
|
+
background-color: @highlightImportanceHoverBackground;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* Ribbon */
|
|
@@ -79,55 +79,55 @@
|
|
|
79
79
|
|
|
80
80
|
/* Basic */
|
|
81
81
|
.ui.basic.low.label {
|
|
82
|
+
border-color: @lowImportanceBackground;
|
|
82
83
|
background: @white;
|
|
83
84
|
color: @lowImportanceBasicTextColor;
|
|
84
|
-
border-color: @lowImportanceBackground;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.ui.basic.low.labels a.label:hover,
|
|
88
88
|
.ui.basic.low.label:hover {
|
|
89
|
+
border-color: @lowImportanceHoverBackground;
|
|
89
90
|
background-color: @white;
|
|
90
91
|
color: @lowImportanceHoverBackground;
|
|
91
|
-
border-color: @lowImportanceHoverBackground;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.ui.basic.medium.label {
|
|
95
|
+
border-color: @mediumImportanceBackground;
|
|
95
96
|
background: @white;
|
|
96
97
|
color: @mediumImportanceBasicTextColor;
|
|
97
|
-
border-color: @mediumImportanceBackground;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ui.basic.medium.labels a.label:hover,
|
|
101
101
|
.ui.basic.medium.label:hover {
|
|
102
|
+
border-color: @mediumImportanceHoverBackground;
|
|
102
103
|
background-color: @white;
|
|
103
104
|
color: @mediumImportanceHoverBackground;
|
|
104
|
-
border-color: @mediumImportanceHoverBackground;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ui.basic.high.label {
|
|
108
|
+
border-color: @highImportanceBackground;
|
|
108
109
|
background: @white;
|
|
109
110
|
color: @highImportanceBasicTextColor;
|
|
110
|
-
border-color: @highImportanceBackground;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.ui.basic.high.labels a.label:hover,
|
|
114
114
|
.ui.basic.high.label:hover {
|
|
115
|
+
border-color: @highImportanceHoverBackground;
|
|
115
116
|
background-color: @white;
|
|
116
117
|
color: @highImportanceHoverBackground;
|
|
117
|
-
border-color: @highImportanceHoverBackground;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ui.basic.highlight.label {
|
|
121
|
+
border-color: @highlightImportanceBackground;
|
|
121
122
|
background: @white;
|
|
122
123
|
color: @highlightImportanceBasicTextColor;
|
|
123
|
-
border-color: @highlightImportanceBackground;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.ui.basic.highlight.labels a.label:hover,
|
|
127
127
|
.ui.basic.highlight.label:hover {
|
|
128
|
+
border-color: @highlightImportanceHoverBackground;
|
|
128
129
|
background-color: @white;
|
|
129
130
|
color: @highlightImportanceHoverBackground;
|
|
130
|
-
border-color: @highlightImportanceHoverBackground;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
// Custom variations and combinations in slate
|
|
@@ -21,10 +21,12 @@ dl dd {
|
|
|
21
21
|
/* Unordered list */
|
|
22
22
|
|
|
23
23
|
// use padding instead
|
|
24
|
-
ul.ui.list,
|
|
24
|
+
ul.ui.list,
|
|
25
|
+
.ui.bulleted.list {
|
|
25
26
|
padding-left: @bulletDistance;
|
|
26
27
|
margin-left: 0;
|
|
27
28
|
}
|
|
29
|
+
|
|
28
30
|
.ui.bulleted.list .list > .item:before,
|
|
29
31
|
.ui.bulleted.list .list > a.item:before,
|
|
30
32
|
.ui.bulleted.list > .item:before,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
@media print {
|
|
12
12
|
.ui.basic.segment.content-area {
|
|
13
|
-
margin-top: 0;
|
|
14
13
|
padding-top: 0;
|
|
14
|
+
margin-top: 0;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
// eea add .form class for inline form with booleans, the segment doesn't have form class
|
|
34
34
|
.form .segment,
|
|
35
35
|
.ui.form.segment {
|
|
36
|
-
// // commented to restore padding to a list of toggle inputs within field-wrapper-hideContentType
|
|
37
|
-
// padding: 0;
|
|
38
|
-
//
|
|
36
|
+
// // commented to restore padding to a list of toggle inputs within field-wrapper-hideContentType
|
|
37
|
+
// padding: 0;
|
|
38
|
+
//
|
|
39
39
|
.ui.grid > .row {
|
|
40
40
|
padding-top: 0;
|
|
41
41
|
padding-bottom: 0;
|