@eeacms/volto-eea-design-system 0.5.5 → 0.6.5
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 +98 -0
- package/package.json +3 -2
- package/src/ui/Banner/Banner.stories.jsx +0 -3
- package/src/ui/Header/Header.jsx +14 -1
- package/src/ui/Header/HeaderMenuPopUp.js +6 -5
- package/src/ui/Tag/Tag.stories.jsx +6 -1
- package/src/ui/TagList/TagList.jsx +0 -6
- package/src/ui/TagList/TagList.stories.jsx +9 -8
- package/src/ui/UnderlinedTitle/UnderlinedTitle.stories.jsx +98 -0
- package/theme/themes/eea/assets/logo/eea-white.svg +14 -0
- package/theme/themes/eea/collections/breadcrumb.overrides +1 -0
- package/theme/themes/eea/collections/breadcrumb.variables +1 -0
- package/theme/themes/eea/collections/menu.overrides +247 -7
- package/theme/themes/eea/collections/menu.variables +1 -1
- package/theme/themes/eea/elements/button.overrides +1 -0
- package/theme/themes/eea/elements/button.variables +1 -0
- package/theme/themes/eea/elements/container.overrides +15 -0
- package/theme/themes/eea/extras/banner.less +6 -1
- package/theme/themes/eea/extras/banner.variables +3 -2
- package/theme/themes/eea/extras/contentBox.less +9 -1
- package/theme/themes/eea/extras/custom.overrides +66 -0
- package/theme/themes/eea/extras/footer.variables +1 -1
- package/theme/themes/eea/extras/header.less +23 -10
- package/theme/themes/eea/extras/header.variables +6 -5
- package/theme/themes/eea/extras/hero.less +9 -0
- package/theme/themes/eea/extras/hero.variables +7 -5
- package/theme/themes/eea/extras/tagList.less +4 -22
- package/theme/themes/eea/globals/site.variables +4 -4
- package/theme/themes/eea/globals/utilities.less +22 -4
- package/theme/themes/eea/tokens/fonts.less +9 -9
- package/theme/themes/eea/views/card.overrides +10 -0
- package/theme/themes/eea/views/card.variables +3 -3
- package/theme/themes/eea/views/item.overrides +121 -3
- package/theme/themes/eea/views/item.variables +46 -3
- package/theme/themes/eea/assets/logo/eea.svg +0 -9
|
@@ -2,8 +2,233 @@
|
|
|
2
2
|
Theme Overrides
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/*************/
|
|
6
|
+
/* Pastanaga */
|
|
7
|
+
/*************/
|
|
8
|
+
|
|
9
|
+
.ui.menu .item.personal-bar {
|
|
10
|
+
position: fixed;
|
|
11
|
+
bottom: 68px;
|
|
12
|
+
width: 80px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ui.menu.left.fixed ~ .pusher {
|
|
16
|
+
margin-right: 80px;
|
|
17
|
+
transition: margin-right 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ui.menu.collapsed.left.fixed ~ .pusher {
|
|
21
|
+
margin-right: 20px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.chevron-left-icon {
|
|
25
|
+
padding: 0.4em 0.2em !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.chevron-right-icon {
|
|
29
|
+
padding: 0.4em 0.2em !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ui.vertical.icon.menu {
|
|
33
|
+
width: 80px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ui.vertical.icon.menu .item {
|
|
37
|
+
padding: 14px 20px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ui.menu .item.logo {
|
|
41
|
+
position: fixed;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
width: 80px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ui.menu .item.logo > .image {
|
|
47
|
+
width: 64px;
|
|
48
|
+
height: 18px;
|
|
49
|
+
margin: 4px -14px 0;
|
|
50
|
+
background-repeat: no-repeat;
|
|
51
|
+
background-size: 64px 18px;
|
|
52
|
+
transition: width 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045),
|
|
53
|
+
margin 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ui.menu.collapsed .item.logo > .image {
|
|
57
|
+
width: 10px;
|
|
58
|
+
margin: 4px -14px 0 45px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ui.menu .trigger {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 50%;
|
|
64
|
+
left: 60px;
|
|
65
|
+
width: 20px;
|
|
66
|
+
height: 80px;
|
|
67
|
+
padding: 0;
|
|
68
|
+
margin-top: -40px;
|
|
69
|
+
background: transparent;
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
opacity: 0.3;
|
|
72
|
+
transition: opacity 0.3s;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ui.menu .trigger:before {
|
|
76
|
+
position: relative;
|
|
77
|
+
left: 8px;
|
|
78
|
+
display: block;
|
|
79
|
+
width: 4px;
|
|
80
|
+
height: 100%;
|
|
81
|
+
background: @blue;
|
|
82
|
+
content: '';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ui.menu.collapsed .trigger {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ui[class*='left fixed'].menu {
|
|
90
|
+
transition: left 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ui[class*='left fixed'].menu.collapsed {
|
|
94
|
+
left: -60px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ui.grid > .row > .logo.column {
|
|
98
|
+
padding-bottom: 0 !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ui.grid > .row > .tools.column {
|
|
102
|
+
margin-top: 0.6em;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ui.grid > .row > .search.column {
|
|
106
|
+
padding-left: 0;
|
|
107
|
+
margin-top: 0.4em;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ui.grid > .row > .tools.column .ui.list {
|
|
111
|
+
@media only screen and (max-width: (@largestMobileScreen)) {
|
|
112
|
+
float: none;
|
|
113
|
+
font-size: 1em;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.navigation,
|
|
118
|
+
.tools {
|
|
119
|
+
.ui.secondary.pointing.menu {
|
|
120
|
+
border: 0;
|
|
121
|
+
margin: 0 0 0 40px;
|
|
122
|
+
|
|
123
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
|
124
|
+
margin-bottom: 20px;
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.item {
|
|
129
|
+
padding-top: @relativeBig;
|
|
130
|
+
margin: 0;
|
|
131
|
+
text-transform: @secondaryPointingItemTextTransform;
|
|
132
|
+
|
|
133
|
+
@media only screen and (min-width: @largestTabletScreen) {
|
|
134
|
+
padding: 1.7em 0 @relativeBig;
|
|
135
|
+
margin: 0 unit(@relativeLarge * 2, em) 0 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.tools {
|
|
142
|
+
.ui.secondary.pointing.menu {
|
|
143
|
+
margin: 0 @relativeMini 0 0;
|
|
144
|
+
|
|
145
|
+
.item {
|
|
146
|
+
// padding-top: @relativeMini;
|
|
147
|
+
// padding-bottom: 0;
|
|
148
|
+
padding: @relativeSmall 0 @relativeMini;
|
|
149
|
+
margin: 0 @relativeMini 0 0;
|
|
150
|
+
text-transform: none;
|
|
151
|
+
@media only screen and (min-width: @largestTabletScreen) {
|
|
152
|
+
padding: 1.7em 0 @relativeBig;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
//
|
|
159
|
+
// WARNING: Uncommenting the following code will break the sidebar tabs in Volto
|
|
160
|
+
//
|
|
161
|
+
// See https://github.com/eea/volto-eea-design-system/pull/162#issuecomment-1135949927
|
|
162
|
+
//
|
|
163
|
+
// .ui.secondary.attached.pointing.menu {
|
|
164
|
+
// .item {
|
|
165
|
+
// padding: 1.4em 1em;
|
|
166
|
+
// color: @blue;
|
|
167
|
+
// font-size: @large;
|
|
168
|
+
// }
|
|
169
|
+
|
|
170
|
+
// .active.item {
|
|
171
|
+
// border-color: @teal;
|
|
172
|
+
// color: @black;
|
|
173
|
+
// }
|
|
174
|
+
// }
|
|
175
|
+
|
|
176
|
+
@media only screen and (max-width: 767px) {
|
|
177
|
+
.ui.menu.stackable > .menu,
|
|
178
|
+
.ui.menu.stackable > .menu.right {
|
|
179
|
+
display: block;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Pagination */
|
|
184
|
+
.pagination-wrapper {
|
|
185
|
+
text-align: center;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.ui.pagination.menu {
|
|
189
|
+
border: none;
|
|
190
|
+
box-shadow: none;
|
|
191
|
+
|
|
192
|
+
.item {
|
|
193
|
+
color: @linkColor;
|
|
194
|
+
|
|
195
|
+
&:before {
|
|
196
|
+
display: none;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.active.item {
|
|
201
|
+
background: none;
|
|
202
|
+
color: @textColor;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
/*************/
|
|
208
|
+
/* EEA Theme */
|
|
209
|
+
/*************/
|
|
210
|
+
|
|
211
|
+
/***********
|
|
212
|
+
Pagination
|
|
213
|
+
***********/
|
|
214
|
+
|
|
215
|
+
/*
|
|
216
|
+
.ui.pagination.menu {
|
|
217
|
+
border: none;
|
|
218
|
+
box-shadow: none;
|
|
219
|
+
|
|
220
|
+
a.item {
|
|
221
|
+
|
|
222
|
+
&.active {
|
|
223
|
+
background: none;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&::before {
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
.ui.pagination.pointing.secondary, .ui.pagination {
|
|
7
232
|
display: flex;
|
|
8
233
|
width: @paginationWidth;
|
|
9
234
|
justify-content: start;
|
|
@@ -12,14 +237,16 @@
|
|
|
12
237
|
justify-content: center;
|
|
13
238
|
}
|
|
14
239
|
}
|
|
15
|
-
|
|
16
240
|
.ui.pagination.pointing.secondary.menu .item {
|
|
17
241
|
justify-content: center;
|
|
18
242
|
padding: @squareTiny;
|
|
19
243
|
font-size: @paginationFontSize;
|
|
244
|
+
color: @itemTextColor;
|
|
20
245
|
}
|
|
246
|
+
*/
|
|
21
247
|
|
|
22
248
|
/* Pagination active item custom border design */
|
|
249
|
+
/*
|
|
23
250
|
.ui.pagination.pointing.secondary.menu .active.item {
|
|
24
251
|
padding: (@tinyGap - @1px) @tinyGap;
|
|
25
252
|
border-bottom: @secondaryPointingActiveBorderWidth solid @secondaryColor;
|
|
@@ -30,21 +257,28 @@
|
|
|
30
257
|
color: @secondaryPointingActiveTextColor;
|
|
31
258
|
}
|
|
32
259
|
}
|
|
260
|
+
*/
|
|
33
261
|
|
|
34
262
|
/* Hover item pagination */
|
|
263
|
+
/*
|
|
35
264
|
.ui.pagination.pointing.secondary.menu .item:hover {
|
|
36
265
|
padding: (@tinyGap - @1px) @tinyGap;
|
|
37
266
|
border-bottom: @secondaryPointingActiveBorderWidth solid @secondaryColor;
|
|
38
267
|
margin-bottom: -@secondaryPointingctiveItemMarginBottom;
|
|
39
268
|
color: @paginationColor;
|
|
40
269
|
}
|
|
270
|
+
*/
|
|
41
271
|
|
|
42
272
|
/* Hover ellipsis item pagination */
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
border-bottom:
|
|
46
|
-
margin: 0.031rem 0; // Adjust to no border
|
|
273
|
+
/*
|
|
274
|
+
.ui.pagination.pointing.secondary.menu a.item[type='ellipsisItem']:hover {
|
|
275
|
+
border-bottom: @secondaryPointingActiveBorderWidth solid transparent;
|
|
47
276
|
}
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
/***********
|
|
280
|
+
Tabs
|
|
281
|
+
***********/
|
|
48
282
|
|
|
49
283
|
/* Tab active item custom border design */
|
|
50
284
|
.ui.secondary.pointing.menu:not(.vertical):not(.pagination) .active.item,
|
|
@@ -82,3 +316,9 @@
|
|
|
82
316
|
border-top: 1px solid @midGray;
|
|
83
317
|
content: ' ';
|
|
84
318
|
}
|
|
319
|
+
|
|
320
|
+
// edit page, normalize font size of tab headers from the sidebar
|
|
321
|
+
.section-edit .ui.pointing.secondary.menu .item,
|
|
322
|
+
.tabs-wrapper .ui.pointing.secondary.menu .item {
|
|
323
|
+
font-size: 1.25rem;
|
|
324
|
+
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@border: @borderWidth solid @borderColor;
|
|
19
19
|
@boxShadow: @subtleShadow;
|
|
20
20
|
@borderRadius: @defaultBorderRadius;
|
|
21
|
-
@minHeight: (@itemVerticalPadding * 2) + 1em;
|
|
21
|
+
@minHeight: auto;//(@itemVerticalPadding * 2) + 1em;
|
|
22
22
|
|
|
23
23
|
/* Menu Item */
|
|
24
24
|
@itemVerticalPadding: @relativeSmall;
|
|
@@ -65,6 +65,21 @@ body {
|
|
|
65
65
|
.contentWidth(0);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
// WIP container fixes for edit interface
|
|
69
|
+
.section-edit .container {
|
|
70
|
+
max-width: 1120px !important;
|
|
71
|
+
}
|
|
72
|
+
@media only screen and (max-width: 1600px) {
|
|
73
|
+
.has-sidebar.section-edit .container {
|
|
74
|
+
margin-left: 0 !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
@media only screen and (min-width: 1601px) {
|
|
78
|
+
.has-sidebar.section-edit .main.bar .ui.container {
|
|
79
|
+
margin-left: 10% !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
68
83
|
.drag.handle.wrapper {
|
|
69
84
|
margin-left: -15px !important;
|
|
70
85
|
}
|
|
@@ -127,6 +127,12 @@
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
@media only screen and (max-width: @tabletBreakpoint - 1) {
|
|
131
|
+
.actions .action {
|
|
132
|
+
margin-bottom: @mobileActionsActionMarginBottom;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
130
136
|
@media only screen and (min-width: @tabletBreakpoint) {
|
|
131
137
|
.eea.banner {
|
|
132
138
|
.gradient {
|
|
@@ -174,7 +180,6 @@
|
|
|
174
180
|
.actions {
|
|
175
181
|
flex-flow: row;
|
|
176
182
|
display: flex;
|
|
177
|
-
justify-content: space-between;
|
|
178
183
|
|
|
179
184
|
.action {
|
|
180
185
|
display: inherit;
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
/* Metadata */
|
|
40
40
|
@metadataTypeFontWeight : @bold;
|
|
41
|
-
@mobileMetadataFontSize : 0.
|
|
41
|
+
@mobileMetadataFontSize : 0.75rem;
|
|
42
42
|
@tabletMetadataFontSize : 0.875rem;
|
|
43
|
-
@mobileMetadataLineHeight :
|
|
43
|
+
@mobileMetadataLineHeight : 1.2;
|
|
44
44
|
@tabletMetadataLineHeight : 1rem;
|
|
45
45
|
// Metadata field
|
|
46
46
|
@metadataFieldDividerContent: ' | ';
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
@tabletActionsAlignItems : flex-end;
|
|
51
51
|
@tabletActionsFlexDirection : column;
|
|
52
52
|
// Action
|
|
53
|
+
@mobileActionsActionMarginBottom : 0.5rem;
|
|
53
54
|
@tabletActionsActionMinWidth : 95px;
|
|
54
55
|
// Button
|
|
55
56
|
@mobileBannerActionButtonFontSize : 0.75rem;
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
content: " ";
|
|
14
14
|
position: absolute;
|
|
15
15
|
height: 100%;
|
|
16
|
-
z-index: -1;
|
|
17
16
|
margin-right: -50vw;
|
|
18
17
|
left: 50%;
|
|
19
18
|
right: 50%;
|
|
@@ -33,16 +32,25 @@
|
|
|
33
32
|
&.primary {
|
|
34
33
|
background-color: @contentBoxBackgroundColorPrimary;
|
|
35
34
|
color: @contentBoxColor;
|
|
35
|
+
.header {
|
|
36
|
+
color: @contentBoxColor !important;
|
|
37
|
+
}
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
&.secondary {
|
|
39
41
|
background-color: @contentBoxBackgroundColorSecondary;
|
|
40
42
|
color: @contentBoxColor;
|
|
43
|
+
.header {
|
|
44
|
+
color: @contentBoxColor !important;
|
|
45
|
+
}
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
&.tertiary {
|
|
44
49
|
background-color: @contentBoxBackgroundColorTertiary;
|
|
45
50
|
color: @contentBoxColor;
|
|
51
|
+
.header {
|
|
52
|
+
color: @contentBoxColor !important;
|
|
53
|
+
}
|
|
46
54
|
}
|
|
47
55
|
}
|
|
48
56
|
|
|
@@ -58,3 +58,69 @@
|
|
|
58
58
|
.block .ui.basic.button.delete-button {
|
|
59
59
|
z-index: @z-index-5;
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// inherit font weight of styled headers so that if we set 300 weight it's visible also on
|
|
64
|
+
// the edit page
|
|
65
|
+
#page-edit .slate .styled h1,
|
|
66
|
+
#page-edit .slate .styled h2,
|
|
67
|
+
#page-edit .slate .styled h3,
|
|
68
|
+
#page-edit .slate .styled h4,
|
|
69
|
+
#page-edit .slate .styled h5,
|
|
70
|
+
#page-edit .slate .styled h6 {
|
|
71
|
+
font-weight: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// tweak padding of workflow progress titles now that
|
|
75
|
+
// we have larger font size
|
|
76
|
+
.progress__item .progress__title {
|
|
77
|
+
padding-top: 0;
|
|
78
|
+
line-height: 25px; // center bullet of progress item
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// inherit color of description and link from homepage cards
|
|
82
|
+
.homepage .ui.items > .item > .content > .description,
|
|
83
|
+
.homepage .grid-block-teaser a {
|
|
84
|
+
color: inherit;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Tabs block border left/top
|
|
88
|
+
.tabs-block {
|
|
89
|
+
.border-left {
|
|
90
|
+
border-right: none !important;
|
|
91
|
+
border-left: 0.0625rem solid @midGray !important;
|
|
92
|
+
|
|
93
|
+
.item.active {
|
|
94
|
+
border-right: none !important;
|
|
95
|
+
border-left-style: solid !important;
|
|
96
|
+
margin: 0em 0em 0em -0.2rem !important;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.item:active {
|
|
100
|
+
border-right: none !important;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.border-top {
|
|
105
|
+
border: none !important;
|
|
106
|
+
border-top: 0.0625rem solid @midGray !important;
|
|
107
|
+
|
|
108
|
+
&::before {
|
|
109
|
+
border-top: none !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.item {
|
|
113
|
+
border: none !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.item.active {
|
|
117
|
+
border-bottom: none !important;
|
|
118
|
+
border-top-style: solid !important;
|
|
119
|
+
margin: 0em 0em 0em -0.2rem !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.item:active {
|
|
123
|
+
border-bottom: none !important;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -96,8 +96,9 @@
|
|
|
96
96
|
|
|
97
97
|
.top.bar .ui.dropdown i.chevron.down.icon {
|
|
98
98
|
position: absolute;
|
|
99
|
-
font-size:
|
|
100
|
-
|
|
99
|
+
font-size: @topSectionIconFontSize;
|
|
100
|
+
margin-left: @topSectionIconMarginLeft;
|
|
101
|
+
top: 0;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
/* Official union dropdown */
|
|
@@ -132,7 +133,6 @@
|
|
|
132
133
|
|
|
133
134
|
/* Theme sites dropdown */
|
|
134
135
|
#theme-sites.ui.dropdown .menu {
|
|
135
|
-
left: @themeSitesMenuLeft;
|
|
136
136
|
|
|
137
137
|
.wrapper {
|
|
138
138
|
width: @mobileThemeSitesMenuWidth;
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
#language-switcher {
|
|
157
157
|
img {
|
|
158
158
|
width: @mobileOfficialUnionImageWidth;
|
|
159
|
+
margin-left: @topSectionIconMarginLeft;
|
|
159
160
|
}
|
|
160
161
|
.menu {
|
|
161
162
|
.wrapper {
|
|
@@ -303,6 +304,11 @@
|
|
|
303
304
|
z-index: 1;
|
|
304
305
|
width: 100%;
|
|
305
306
|
}
|
|
307
|
+
// reduce width of header when we have toolbar open for better placement
|
|
308
|
+
.has-toolbar.homepage .eea.header {
|
|
309
|
+
width: 96%;
|
|
310
|
+
}
|
|
311
|
+
|
|
306
312
|
/*----------------------------------------------------------------------------
|
|
307
313
|
Header Actions - Burger and Search Icons
|
|
308
314
|
----------------------------------------------------------------------------*/
|
|
@@ -470,11 +476,6 @@
|
|
|
470
476
|
margin-top: @computerDropdownMenuMarginTop;
|
|
471
477
|
}
|
|
472
478
|
|
|
473
|
-
#theme-sites.ui.dropdown .menu {
|
|
474
|
-
.wrapper {
|
|
475
|
-
width: @computerThemeSitesMenuWidth;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
479
|
/*----------------------------------------------------------------------------
|
|
479
480
|
HEADER MAIN BAR DESKTOP
|
|
480
481
|
----------------------------------------------------------------------------*/
|
|
@@ -487,7 +488,7 @@
|
|
|
487
488
|
flex-wrap: wrap;
|
|
488
489
|
display: flex;
|
|
489
490
|
width: 88%;
|
|
490
|
-
max-height:
|
|
491
|
+
max-height: 100%;
|
|
491
492
|
justify-content: space-between;
|
|
492
493
|
margin: 0;
|
|
493
494
|
|
|
@@ -650,7 +651,19 @@
|
|
|
650
651
|
}
|
|
651
652
|
|
|
652
653
|
#main #mega-menu .ui.accordion .title:first-child {
|
|
653
|
-
display:
|
|
654
|
+
display: flex;
|
|
655
|
+
}
|
|
656
|
+
//#main #mega-menu .ui.accordion .title:first-child {
|
|
657
|
+
// display: none; // hide home link from mobile menu
|
|
658
|
+
//}
|
|
659
|
+
#main #mega-menu .mobile > .ui.accordion > .title:first-child {
|
|
660
|
+
display: none;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
@media all and (max-width: @tabletBreakpoint - 1) {
|
|
664
|
+
#theme-sites.ui.dropdown .menu {
|
|
665
|
+
left: @mobileThemeSitesMenuLeft;
|
|
666
|
+
}
|
|
654
667
|
}
|
|
655
668
|
|
|
656
669
|
@media all and (min-width: @tabletBreakpoint) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--------------------*/
|
|
4
4
|
|
|
5
5
|
/* Heights */
|
|
6
|
-
@mobileTopSectionHeight :
|
|
6
|
+
@mobileTopSectionHeight : 22px;
|
|
7
7
|
@tabletTopSectionHeight : 30px;
|
|
8
8
|
@computerTopSectionHeight : 33px;
|
|
9
9
|
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
@mobileTopSectionItemFontSize : @font-size-00;
|
|
35
35
|
@tabletTopSectionItemFontSize : @font-size-00;
|
|
36
36
|
@topSectionZindex : @z-index-1;
|
|
37
|
+
@topSectionIconMarginLeft : 1px;
|
|
38
|
+
@topSectionIconFontSize : 0.8rem;
|
|
37
39
|
|
|
38
40
|
/* Dropdown */
|
|
39
41
|
@mobileDropdownMenuMarginTop : 0;
|
|
@@ -72,11 +74,10 @@
|
|
|
72
74
|
@tabletOfficialUnionMenuLeft : -54px;
|
|
73
75
|
|
|
74
76
|
// Theme Sites
|
|
75
|
-
@mobileThemeSitesMenuWidth :
|
|
76
|
-
@computerThemeSitesMenuWidth : 200px;
|
|
77
|
+
@mobileThemeSitesMenuWidth : 200px;
|
|
77
78
|
@themeSitesMenuSiteLinkColor : @blue-grey-6;
|
|
78
79
|
@themeSitesMenuSiteLinkFontWeight : @normal;
|
|
79
|
-
@
|
|
80
|
+
@mobileThemeSitesMenuLeft : 0px;
|
|
80
81
|
|
|
81
82
|
// Language
|
|
82
83
|
@tabletLanguageMenuTop : 18px;
|
|
@@ -97,7 +98,7 @@
|
|
|
97
98
|
@logoWidth : 100%;
|
|
98
99
|
@mobileLogoMaxWidth : 122px;
|
|
99
100
|
@tabletLogoMaxWidth : 252px;
|
|
100
|
-
@computerLogoMaxWidth :
|
|
101
|
+
@computerLogoMaxWidth : 347px; //348 rendered fuzzy :(
|
|
101
102
|
@mobileLogoMarginTop : @rem-space-2;
|
|
102
103
|
@tabletLogoMarginTop : @rem-space-3-5;
|
|
103
104
|
@computerLogoMarginTop : @rem-space-5;
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
.hero-block-image-wrapper {
|
|
43
43
|
position: absolute;
|
|
44
44
|
min-height: @heroBlockImageWrapperMinHeight;
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
|
|
@@ -68,6 +70,9 @@
|
|
|
68
70
|
.hero-block-body {
|
|
69
71
|
gap: @tabletHeroBlockBodyGap;
|
|
70
72
|
}
|
|
73
|
+
.hero-block-inner-wrapper {
|
|
74
|
+
padding-block: @tableHeroBlockWrapperPadding;
|
|
75
|
+
}
|
|
71
76
|
.homepage #page-document > .eea.hero-block:first-of-type .hero-block-body {
|
|
72
77
|
margin: @heroBlockHomePageBodyMargin;
|
|
73
78
|
}
|
|
@@ -79,6 +84,10 @@
|
|
|
79
84
|
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
80
85
|
min-height: @desktopHeroBlockMinHeight;
|
|
81
86
|
}
|
|
87
|
+
|
|
88
|
+
.hero-block-inner-wrapper {
|
|
89
|
+
padding-block: @desktopHeroBlockWrapperPadding;
|
|
90
|
+
}
|
|
82
91
|
.hero-block-body {
|
|
83
92
|
gap: @desktopHeroBlockBodyGap;
|
|
84
93
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
5
|
/* Hero block */
|
|
6
|
-
@mobileHeroBlockMinHeight :
|
|
7
|
-
@tabletHeroBlockMinHeight :
|
|
8
|
-
@desktopHeroBlockMinHeight:
|
|
6
|
+
@mobileHeroBlockMinHeight : 412px;
|
|
7
|
+
@tabletHeroBlockMinHeight : 446px;
|
|
8
|
+
@desktopHeroBlockMinHeight: 664px;
|
|
9
9
|
|
|
10
10
|
@heroBlockPosition: relative;
|
|
11
11
|
@heroBlockHomePagePadding: 0 @rem-space-5;
|
|
12
|
-
@heroBlockHomePageBodyMargin: @rem-space-
|
|
12
|
+
@heroBlockHomePageBodyMargin: @rem-space-20 0 0 0;
|
|
13
13
|
|
|
14
14
|
/* Hero block spaced */
|
|
15
15
|
@heroBlockSpacedMargin: @rem-space-12 0;
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
@heroBlockImageBackgroundPosition : center;
|
|
24
24
|
|
|
25
25
|
/* Wrapper */
|
|
26
|
-
@heroBlockWrapperPadding :
|
|
26
|
+
@heroBlockWrapperPadding : 5rem;
|
|
27
|
+
@tableHeroBlockWrapperPadding: 6rem;
|
|
28
|
+
@desktopHeroBlockWrapperPadding: 194px 96px;
|
|
27
29
|
|
|
28
30
|
/* Body */
|
|
29
31
|
@mobileHeroBlockBodyGap : @rem-space-6;
|