@eeacms/volto-eea-design-system 0.8.0 → 0.9.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 +1879 -1839
- package/mockups/EEA component library.fig +0 -0
- package/mockups/page-templates/R1 R3 templates.fig +0 -0
- package/mockups/page-templates/WISE BISE FISE.fig +0 -0
- package/mockups/page-templates/datahub/Data hub updated proposal.fig +0 -0
- package/mockups/page-templates/homepage_selected_upd1.fig +0 -0
- package/mockups/special-designs/Mega Menu.fig +0 -0
- package/mockups/special-designs/New footer.fig +0 -0
- package/mockups/special-designs/Search (Final).fig +0 -0
- package/mockups/special-designs/Side Navigation.fig +0 -0
- package/package.json +1 -1
- package/src/ui/ContextNavigation/ContextNavigation.stories.jsx +137 -58
- package/src/ui/Header/Header.jsx +12 -2
- package/theme/themes/eea/collections/message.overrides +19 -20
- package/theme/themes/eea/collections/message.variables +45 -23
- package/theme/themes/eea/elements/button.overrides +3 -3
- package/theme/themes/eea/elements/button.variables +1 -1
- package/theme/themes/eea/extras/contextNavigation.less +66 -59
- package/theme/themes/eea/extras/contextNavigation.variables +41 -0
- package/theme/themes/eea/extras/footer.less +3 -27
- package/theme/themes/eea/extras/footer.variables +4 -5
- package/theme/themes/eea/extras/header.less +107 -34
- package/theme/themes/eea/extras/header.variables +50 -27
- package/theme/themes/eea/globals/site.overrides +15 -0
- package/theme/themes/eea/globals/site.variables +27 -23
- package/theme/themes/eea/views/card.overrides +40 -33
- package/theme/themes/eea/views/card.variables +2 -0
- package/theme/themes/eea/views/statistic.overrides +40 -2
- package/theme/themes/eea/views/statistic.variables +5 -2
|
@@ -123,34 +123,10 @@ footer .footer-wrapper .menu {
|
|
|
123
123
|
display: flex;
|
|
124
124
|
flex-direction: column;
|
|
125
125
|
}
|
|
126
|
-
.copyright {
|
|
127
|
-
display: none !important;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.subfooter {
|
|
131
|
-
order: 1
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.menu {
|
|
135
|
-
order: 2;
|
|
136
|
-
position: relative;
|
|
137
|
-
margin: @mobileMenuMargin;
|
|
138
|
-
}
|
|
139
|
-
.menu::after {
|
|
140
|
-
position: absolute;
|
|
141
|
-
bottom: 0;
|
|
142
|
-
border: @mobileMenuBorder;
|
|
143
|
-
content: " ";
|
|
144
|
-
display: block;
|
|
145
|
-
width: 100vw;
|
|
146
|
-
left: @mobileMenuLeft;
|
|
147
|
-
}
|
|
148
|
-
footer .footer-wrapper .menu a {
|
|
149
|
-
font-weight: @mobileMenuFontWeight;
|
|
150
|
-
}
|
|
151
126
|
|
|
152
|
-
|
|
153
|
-
|
|
127
|
+
footer .footer-wrapper .menu .copyright a {
|
|
128
|
+
font-size: @mobileMenuCopyrightFontSize;
|
|
129
|
+
font-weight: @mobileMenuCopyrightFontWeight;
|
|
154
130
|
}
|
|
155
131
|
}
|
|
156
132
|
|
|
@@ -64,10 +64,9 @@
|
|
|
64
64
|
/* Footer Menu */
|
|
65
65
|
|
|
66
66
|
@menuLinkColor : @white;
|
|
67
|
-
@menuFontWeight : @font-weight-
|
|
67
|
+
@menuFontWeight : @font-weight-4;
|
|
68
68
|
@mobileMenuFontSize : @font-size-0;
|
|
69
|
-
@
|
|
70
|
-
@
|
|
71
|
-
@
|
|
72
|
-
@mobileMenuFontWeight : 400;
|
|
69
|
+
@mobileMenuCopyrightFontSize : @font-size-00;
|
|
70
|
+
@mobileMenuCopyrightFontWeight : @font-weight-3;
|
|
71
|
+
@mobileMenuFontWeight : @font-weight-4;
|
|
73
72
|
@computerMenuFontSize : @font-size-1;
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
.top.bar {
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
|
-
height: @mobileTopSectionHeight;
|
|
28
27
|
background: @topSectionBackground;
|
|
29
28
|
|
|
30
29
|
.ui.container {
|
|
@@ -52,23 +51,35 @@
|
|
|
52
51
|
height: auto !important;
|
|
53
52
|
border-radius: @defaultBorderRadius;
|
|
54
53
|
color: @topSectionItemColor;
|
|
54
|
+
padding: @mobileDropdownPadding;
|
|
55
|
+
max-width: @dropdownMaxWidth;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.top.bar .ui.active.visible.dropdown {
|
|
59
|
+
background: @grey-0;
|
|
60
|
+
box-shadow: @shadow-topbar-dropdown;
|
|
61
|
+
|
|
62
|
+
i.icon {
|
|
63
|
+
transform: rotate(180deg);
|
|
64
|
+
}
|
|
55
65
|
}
|
|
56
66
|
|
|
57
67
|
.top.bar .divider.text {
|
|
58
68
|
color: @dropdownColor;
|
|
59
|
-
font-size: @
|
|
69
|
+
font-size: @mobileDropdownFontSize;
|
|
60
70
|
font-weight: @dropdownFontWeight;
|
|
61
71
|
}
|
|
62
72
|
|
|
63
73
|
.top.bar .ui.dropdown .menu {
|
|
64
|
-
margin-top: @mobileDropdownMenuMarginTop;
|
|
65
74
|
left: @dropdownMenuLeft;
|
|
66
75
|
right: @dropdownMenuRight;
|
|
76
|
+
box-shadow: @shadow-4-no-top;
|
|
77
|
+
border: none;
|
|
67
78
|
}
|
|
68
79
|
|
|
69
80
|
.top.bar .ui.dropdown .menu,
|
|
70
81
|
.top.bar .ui.dropdown .menu .item {
|
|
71
|
-
font-size: @
|
|
82
|
+
font-size: @dropdownMenuFontSize;
|
|
72
83
|
color: @dropdownColor;
|
|
73
84
|
}
|
|
74
85
|
|
|
@@ -98,7 +109,9 @@
|
|
|
98
109
|
position: absolute;
|
|
99
110
|
font-size: @topSectionIconFontSize;
|
|
100
111
|
margin-left: @topSectionIconMarginLeft;
|
|
101
|
-
top:
|
|
112
|
+
top: @mobileTopSectionIconTop;
|
|
113
|
+
line-height: @topSectionIconLineHeight;
|
|
114
|
+
transition: .2s;
|
|
102
115
|
}
|
|
103
116
|
|
|
104
117
|
/* Official union dropdown */
|
|
@@ -108,9 +121,14 @@
|
|
|
108
121
|
|
|
109
122
|
img {
|
|
110
123
|
width: @mobileOfficialUnionImageWidth;
|
|
124
|
+
position: absolute;
|
|
125
|
+
z-index: @z-index-1;
|
|
126
|
+
padding-left: @rem-space-2;
|
|
111
127
|
}
|
|
112
128
|
|
|
113
129
|
.ui.dropdown {
|
|
130
|
+
padding: @mobileOfficialUnionPadding;
|
|
131
|
+
|
|
114
132
|
.menu {
|
|
115
133
|
padding: @officialUnionPadding;
|
|
116
134
|
left: @mobileOfficialUnionMenuLeft;
|
|
@@ -124,7 +142,6 @@
|
|
|
124
142
|
a {
|
|
125
143
|
font-weight: @officialUnionLinkFontWeight;
|
|
126
144
|
white-space: @dropdownMenuContentWhiteSpace;
|
|
127
|
-
color: @officialUnionLinkColor;
|
|
128
145
|
}
|
|
129
146
|
}
|
|
130
147
|
}
|
|
@@ -154,9 +171,12 @@
|
|
|
154
171
|
|
|
155
172
|
/* Language dropdown */
|
|
156
173
|
#language-switcher {
|
|
174
|
+
padding: @mobileLanguageMenuPadding;
|
|
175
|
+
flex-direction: row-reverse;
|
|
176
|
+
|
|
157
177
|
img {
|
|
158
|
-
width: @
|
|
159
|
-
margin-
|
|
178
|
+
width: @mobileLanguageImageWidth;
|
|
179
|
+
margin-right: @topSectionIconMarginRight;
|
|
160
180
|
}
|
|
161
181
|
.menu {
|
|
162
182
|
.wrapper {
|
|
@@ -164,6 +184,10 @@
|
|
|
164
184
|
justify-content: flex-end;
|
|
165
185
|
font-weight: @languageMenuItemFontWeight;
|
|
166
186
|
|
|
187
|
+
span {
|
|
188
|
+
font-size: @mobileLanguageFontSize;
|
|
189
|
+
}
|
|
190
|
+
|
|
167
191
|
span.country-code {
|
|
168
192
|
margin-left: @mobileLanguageCountryCodeMarginLeft;
|
|
169
193
|
font-weight: @mobileLanguageCountryCodeFontWeight;
|
|
@@ -199,16 +223,21 @@
|
|
|
199
223
|
height: @mobileMainSectionHeight;
|
|
200
224
|
|
|
201
225
|
.ui.grid {
|
|
202
|
-
|
|
226
|
+
// All margins and paddings removed for main header
|
|
203
227
|
width: 100%;
|
|
204
228
|
margin: 0;
|
|
205
229
|
|
|
230
|
+
// Override grid specific paddings for header
|
|
206
231
|
div:first-child {
|
|
207
232
|
padding-left: 0;
|
|
233
|
+
padding-top: 0;
|
|
234
|
+
padding-bottom: 0;
|
|
208
235
|
}
|
|
209
236
|
|
|
210
237
|
div:last-child {
|
|
211
238
|
padding-right: 0;
|
|
239
|
+
padding-top: 0;
|
|
240
|
+
padding-bottom: 0;
|
|
212
241
|
}
|
|
213
242
|
}
|
|
214
243
|
}
|
|
@@ -342,7 +371,7 @@
|
|
|
342
371
|
.search-action,
|
|
343
372
|
.burger-action.mobile {
|
|
344
373
|
img {
|
|
345
|
-
width:
|
|
374
|
+
width: 75%;
|
|
346
375
|
}
|
|
347
376
|
// icon to be used
|
|
348
377
|
i.icon {
|
|
@@ -380,21 +409,12 @@
|
|
|
380
409
|
HEADER TOP BAR TABLET
|
|
381
410
|
----------------------------------------------------------------------------*/
|
|
382
411
|
|
|
383
|
-
.top.bar {
|
|
384
|
-
height: @tabletTopSectionHeight;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
412
|
.homepage .block-editor-hero {
|
|
388
413
|
margin-top: @tabletTopSectionHeight;
|
|
389
414
|
}
|
|
390
415
|
|
|
391
|
-
.top.bar .
|
|
392
|
-
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
.top.bar .ui.dropdown .menu,
|
|
396
|
-
.top.bar .ui.dropdown .menu .item {
|
|
397
|
-
font-size: @tabletDropdownMenuFontSize;
|
|
416
|
+
.top.bar .divider.text {
|
|
417
|
+
font-size: @tabletDropdownFontSize;
|
|
398
418
|
}
|
|
399
419
|
|
|
400
420
|
/* Official union dropdown */
|
|
@@ -404,7 +424,10 @@
|
|
|
404
424
|
img {
|
|
405
425
|
width: @tabletOfficialUnionImageWidth;
|
|
406
426
|
}
|
|
407
|
-
|
|
427
|
+
|
|
428
|
+
.ui.dropdown {
|
|
429
|
+
padding: @tabletOfficialUnionPadding;
|
|
430
|
+
|
|
408
431
|
.menu {
|
|
409
432
|
left: @tabletOfficialUnionMenuLeft;
|
|
410
433
|
|
|
@@ -415,14 +438,22 @@
|
|
|
415
438
|
}
|
|
416
439
|
}
|
|
417
440
|
|
|
441
|
+
/* Theme sites dropdown */
|
|
442
|
+
#theme-sites.ui.dropdown .menu {
|
|
443
|
+
.wrapper {
|
|
444
|
+
width: @tabletThemeSitesMenuWidth;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
418
448
|
/* Language dropdown */
|
|
419
449
|
#language-switcher {
|
|
420
|
-
|
|
421
|
-
|
|
450
|
+
.divider.text {
|
|
451
|
+
font-size: @font-size-1;
|
|
452
|
+
line-height: @font-lineheight-00;
|
|
422
453
|
}
|
|
423
454
|
|
|
424
|
-
|
|
425
|
-
|
|
455
|
+
img {
|
|
456
|
+
width: @tabletLanguageImageWidth;
|
|
426
457
|
}
|
|
427
458
|
}
|
|
428
459
|
|
|
@@ -432,7 +463,7 @@
|
|
|
432
463
|
|
|
433
464
|
.main.bar {
|
|
434
465
|
.ui.container {
|
|
435
|
-
height:
|
|
466
|
+
height: @tabletMainSectionHeight;
|
|
436
467
|
}
|
|
437
468
|
}
|
|
438
469
|
|
|
@@ -465,15 +496,43 @@
|
|
|
465
496
|
HEADER TOP BAR DESKTOP
|
|
466
497
|
----------------------------------------------------------------------------*/
|
|
467
498
|
|
|
468
|
-
.top.bar {
|
|
469
|
-
height: @computerTopSectionHeight;
|
|
470
|
-
}
|
|
471
499
|
.homepage .block-editor-hero {
|
|
472
500
|
margin-top: @computerTopSectionHeight;
|
|
473
501
|
}
|
|
474
502
|
|
|
475
|
-
.top.bar .ui.dropdown
|
|
476
|
-
|
|
503
|
+
.top.bar .ui.dropdown {
|
|
504
|
+
padding: @computerDropdownPadding;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.top.bar .ui.dropdown i.chevron.down.icon {
|
|
508
|
+
top: @computerTopSectionIconTop;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.top.bar .official-union {
|
|
512
|
+
.ui.dropdown {
|
|
513
|
+
padding: @computerOfficialUnionPadding;
|
|
514
|
+
|
|
515
|
+
.menu {
|
|
516
|
+
.content {
|
|
517
|
+
max-width: @computerOfficialUnionMaxWidth;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/* Theme sites dropdown */
|
|
524
|
+
#theme-sites.ui.dropdown .menu {
|
|
525
|
+
.wrapper {
|
|
526
|
+
width: @computerThemeSitesMenuWidth;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
#language-switcher {
|
|
531
|
+
padding: @computerLanguageMenuPadding;
|
|
532
|
+
|
|
533
|
+
.menu .wrapper .item span {
|
|
534
|
+
font-size: @computerLanguageFontSize;
|
|
535
|
+
}
|
|
477
536
|
}
|
|
478
537
|
|
|
479
538
|
/*----------------------------------------------------------------------------
|
|
@@ -482,7 +541,7 @@
|
|
|
482
541
|
|
|
483
542
|
.main.bar {
|
|
484
543
|
.ui.container {
|
|
485
|
-
height:
|
|
544
|
+
height: @computerMainSectionHeight;
|
|
486
545
|
|
|
487
546
|
.ui.text.menu {
|
|
488
547
|
flex-wrap: wrap;
|
|
@@ -675,10 +734,24 @@
|
|
|
675
734
|
display: none;
|
|
676
735
|
}
|
|
677
736
|
|
|
678
|
-
@media all and (max-width: @
|
|
737
|
+
@media all and (max-width: @largestMobileScreen) {
|
|
738
|
+
.top.bar .official-union .ui.dropdown .menu {
|
|
739
|
+
left: -20px;
|
|
740
|
+
min-width: calc(100vw - 20px);
|
|
741
|
+
|
|
742
|
+
.content {
|
|
743
|
+
max-width: 100%;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
679
747
|
#theme-sites.ui.dropdown .menu {
|
|
680
748
|
left: @mobileThemeSitesMenuLeft;
|
|
681
749
|
}
|
|
750
|
+
|
|
751
|
+
// Languages on mobile only go full right
|
|
752
|
+
#language-switcher .menu {
|
|
753
|
+
right: -20px;
|
|
754
|
+
}
|
|
682
755
|
}
|
|
683
756
|
|
|
684
757
|
@media all and (min-width: @tabletBreakpoint) {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
--------------------*/
|
|
4
4
|
|
|
5
5
|
/* Heights */
|
|
6
|
-
@mobileTopSectionHeight :
|
|
7
|
-
@tabletTopSectionHeight :
|
|
8
|
-
@computerTopSectionHeight :
|
|
6
|
+
@mobileTopSectionHeight : 42px; //delete
|
|
7
|
+
@tabletTopSectionHeight : 42px;
|
|
8
|
+
@computerTopSectionHeight : 34px;
|
|
9
9
|
|
|
10
|
-
@mobileMainSectionHeight :
|
|
10
|
+
@mobileMainSectionHeight : 69px;
|
|
11
11
|
@tabletMainSectionHeight : 117px;
|
|
12
12
|
@computerMainSectionHeight : 160px;
|
|
13
13
|
|
|
@@ -34,18 +34,23 @@
|
|
|
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;
|
|
39
|
-
|
|
40
|
-
/* Dropdown */
|
|
41
|
-
@mobileDropdownMenuMarginTop : 0;
|
|
42
|
-
@tabletDropdownMenuMarginTop : 0.4rem;
|
|
43
|
-
@computerDropdownMenuMarginTop : 0.438rem;
|
|
44
37
|
@dropdownColor : @blue-grey-6;
|
|
45
|
-
@
|
|
38
|
+
@mobileDropdownFontSize : @font-size-00;
|
|
39
|
+
@tabletDropdownFontSize : @font-size-00;
|
|
46
40
|
@dropdownFontWeight : @bold;
|
|
47
41
|
|
|
42
|
+
/* Icon */
|
|
43
|
+
@topSectionIconMarginLeft : @rem-space-1;
|
|
44
|
+
@topSectionIconMarginRight : @rem-space-1;
|
|
45
|
+
@topSectionIconFontSize : @font-size-0;
|
|
46
|
+
@topSectionIconLineHeight : @font-lineheight-00;
|
|
47
|
+
@mobileTopSectionIconTop : 14px;
|
|
48
|
+
@computerTopSectionIconTop : 10px;
|
|
49
|
+
|
|
48
50
|
/* Dropdown Menu */
|
|
51
|
+
@mobileDropdownPadding : @rem-space-3 @rem-space-6 @rem-space-3 @rem-space-2;
|
|
52
|
+
@computerDropdownPadding : @rem-space-2 @rem-space-6 @rem-space-2 @rem-space-2;
|
|
53
|
+
@dropdownMaxWidth : 410px;
|
|
49
54
|
@dropdownMenuLeft : auto;
|
|
50
55
|
@dropdownMenuRight : 0;
|
|
51
56
|
@dropdownMenuWrapperGap : @rem-space-1;
|
|
@@ -57,34 +62,42 @@
|
|
|
57
62
|
@dropdownMenuItemColorHover : @white;
|
|
58
63
|
@dropdownMenuItemBackgroundColorHover : @blue-grey-6;
|
|
59
64
|
@dropdownMenuItemPadding : @rem-space-050 @rem-space-5;
|
|
60
|
-
@
|
|
61
|
-
@tabletDropdownMenuFontSize : @font-size-0;
|
|
65
|
+
@dropdownMenuFontSize : @font-size-00;
|
|
62
66
|
|
|
63
67
|
// Official Union
|
|
64
68
|
@mobileOfficialUnionGap : 0;
|
|
65
|
-
@tabletOfficialUnionGap :
|
|
69
|
+
@tabletOfficialUnionGap : 0;
|
|
66
70
|
@officialUnionLinkFontWeight : @bold;
|
|
67
|
-
@officialUnionLinkColor : @blue-grey-6;
|
|
68
71
|
@officialUnionPadding : @rem-space-3;
|
|
69
72
|
@mobileOfficialUnionMaxWidth : 108px;
|
|
70
|
-
@tabletOfficialUnionMaxWidth :
|
|
71
|
-
@
|
|
72
|
-
@
|
|
73
|
-
@
|
|
74
|
-
@
|
|
73
|
+
@tabletOfficialUnionMaxWidth : 272px;
|
|
74
|
+
@computerOfficialUnionMaxWidth : 380px;
|
|
75
|
+
@mobileOfficialUnionImageWidth : 25px;
|
|
76
|
+
@tabletOfficialUnionImageWidth : 44px;
|
|
77
|
+
@mobileOfficialUnionMenuLeft : 0;
|
|
78
|
+
@tabletOfficialUnionMenuLeft : 0;
|
|
79
|
+
@mobileOfficialUnionPadding : @rem-space-3 @rem-space-6;
|
|
80
|
+
@tabletOfficialUnionPadding : @rem-space-3 @rem-space-6 @rem-space-3 @rem-space-12;
|
|
81
|
+
@computerOfficialUnionPadding : @rem-space-2 @rem-space-6 @rem-space-2 @rem-space-12;
|
|
75
82
|
|
|
76
83
|
// Theme Sites
|
|
77
|
-
@mobileThemeSitesMenuWidth :
|
|
84
|
+
@mobileThemeSitesMenuWidth : 168px;
|
|
85
|
+
@tabletThemeSitesMenuWidth : 168px;
|
|
86
|
+
@computerThemeSitesMenuWidth : 225px;
|
|
78
87
|
@themeSitesMenuSiteLinkColor : @blue-grey-6;
|
|
79
88
|
@themeSitesMenuSiteLinkFontWeight : @normal;
|
|
80
89
|
@mobileThemeSitesMenuLeft : 0px;
|
|
81
90
|
|
|
82
91
|
// Language
|
|
83
|
-
@
|
|
84
|
-
@
|
|
92
|
+
@mobileLanguageMenuPadding : @rem-space-3 @rem-space-2;
|
|
93
|
+
@computerLanguageMenuPadding : @rem-space-2;
|
|
85
94
|
@languageMenuItemFontWeight : @normal;
|
|
86
95
|
@mobileLanguageCountryCodeMarginLeft : 3px;
|
|
87
96
|
@mobileLanguageCountryCodeFontWeight : @bold;
|
|
97
|
+
@mobileLanguageFontSize : @font-size-0;
|
|
98
|
+
@computerLanguageFontSize : @font-size-1;
|
|
99
|
+
@mobileLanguageImageWidth : 17px;
|
|
100
|
+
@tabletLanguageImageWidth : 18px;
|
|
88
101
|
|
|
89
102
|
/*-----------------------
|
|
90
103
|
HEADER MAIN SECTION
|
|
@@ -96,7 +109,7 @@
|
|
|
96
109
|
|
|
97
110
|
/* Logo */
|
|
98
111
|
@logoWidth : 100%;
|
|
99
|
-
@mobileLogoMaxWidth :
|
|
112
|
+
@mobileLogoMaxWidth : 142px;
|
|
100
113
|
@tabletLogoMaxWidth : 252px;
|
|
101
114
|
@computerLogoMaxWidth : 347px; //348 rendered fuzzy :(
|
|
102
115
|
@mobileLogoMarginTop : @rem-space-2;
|
|
@@ -120,7 +133,7 @@
|
|
|
120
133
|
------------------*/
|
|
121
134
|
|
|
122
135
|
/* Actions (Mega menu & Search) */
|
|
123
|
-
@mobileActionsBoxWidth:
|
|
136
|
+
@mobileActionsBoxWidth: 44px;
|
|
124
137
|
@tabletActionsBoxWidth: 66px;
|
|
125
138
|
@computerActionsBoxWidth: 72px;
|
|
126
139
|
@burgerActionBackgroundColor: @darkMidnightBlue;
|
|
@@ -180,4 +193,14 @@
|
|
|
180
193
|
|
|
181
194
|
/* Search box */
|
|
182
195
|
@searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%);
|
|
183
|
-
@searchBoxWrapperGap : 75px;
|
|
196
|
+
@searchBoxWrapperGap : 75px;
|
|
197
|
+
|
|
198
|
+
/* Custom shadows for dropdowns */
|
|
199
|
+
@shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength + 6%));
|
|
200
|
+
@shadow-4-no-top:
|
|
201
|
+
0 0 0 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
202
|
+
0 1px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
203
|
+
0 2px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
204
|
+
0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
|
|
205
|
+
0 9px 9px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
|
|
206
|
+
0 16px 16px -2px hsla(@shadow-color, calc(@shadow-strength + 6%));
|
|
@@ -32,6 +32,15 @@ h2, h3, h4, h5, h6 {
|
|
|
32
32
|
h4 { font-size: @mobileH4; }
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
a {
|
|
36
|
+
&:visited {
|
|
37
|
+
color: @linkVisitedColor;
|
|
38
|
+
}
|
|
39
|
+
&:active {
|
|
40
|
+
color: @linkActiveColor;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
35
44
|
[class^='ri-'],
|
|
36
45
|
[class*=' ri-'] {
|
|
37
46
|
fill: currentColor;
|
|
@@ -40,3 +49,9 @@ h2, h3, h4, h5, h6 {
|
|
|
40
49
|
.homepage {
|
|
41
50
|
color: @tertiaryColor;
|
|
42
51
|
}
|
|
52
|
+
|
|
53
|
+
/* Add background and color for scroll-to-text fragments */
|
|
54
|
+
::target-text {
|
|
55
|
+
background: @lightLavender;
|
|
56
|
+
color: @black;
|
|
57
|
+
}
|
|
@@ -194,9 +194,11 @@
|
|
|
194
194
|
Links
|
|
195
195
|
--------------------*/
|
|
196
196
|
|
|
197
|
-
@linkColor : @
|
|
197
|
+
@linkColor : @blue-4;
|
|
198
|
+
@linkHoverColor : @blue-5;
|
|
199
|
+
@linkVisitedColor : @purple-5;
|
|
200
|
+
@linkActiveColor : @blue-6;
|
|
198
201
|
@linkUnderline : none;
|
|
199
|
-
@linkHoverColor : darken(saturate(@linkColor, 20), 15, relative);
|
|
200
202
|
@linkHoverUnderline : @linkUnderline;
|
|
201
203
|
|
|
202
204
|
/*-------------------
|
|
@@ -222,7 +224,6 @@
|
|
|
222
224
|
@thumbHoverBackground: rgba(128, 135, 139, 0.8);
|
|
223
225
|
|
|
224
226
|
/* Inverted */
|
|
225
|
-
@statisticInvertedBackground: @bottleGreen;
|
|
226
227
|
@trackInvertedBackground: rgba(255, 255, 255, 0.1);
|
|
227
228
|
@thumbInvertedBackground: rgba(255, 255, 255, 0.25);
|
|
228
229
|
@thumbInvertedInactiveBackground: rgba(255, 255, 255, 0.15);
|
|
@@ -349,7 +350,7 @@
|
|
|
349
350
|
|
|
350
351
|
|
|
351
352
|
/*--- Colors ---*/
|
|
352
|
-
@orange : #
|
|
353
|
+
@orange : #FF9933;
|
|
353
354
|
@yellow : #F2EB49;
|
|
354
355
|
@olive : #78AB66;
|
|
355
356
|
@green : @pineGreen;
|
|
@@ -373,6 +374,7 @@
|
|
|
373
374
|
@lightBlue : #75C9DB;
|
|
374
375
|
@lightViolet : #BFC0FF;
|
|
375
376
|
@lightPurple : #DE99FF;
|
|
377
|
+
@lightLavender : #E8D2FD;
|
|
376
378
|
@lightPink : #FFBFF1;
|
|
377
379
|
@lightBrown : #D9C2AD;
|
|
378
380
|
@lightGrey : #E6E7E8;
|
|
@@ -496,32 +498,34 @@
|
|
|
496
498
|
--------------------*/
|
|
497
499
|
|
|
498
500
|
/* Positive */
|
|
499
|
-
@positiveColor : @
|
|
500
|
-
@positiveBackgroundColor : #
|
|
501
|
-
@positiveBorderColor :
|
|
502
|
-
@positiveHeaderColor : @
|
|
503
|
-
@positiveTextColor : @
|
|
501
|
+
@positiveColor : @green-6;
|
|
502
|
+
@positiveBackgroundColor : #FCFFF5;
|
|
503
|
+
@positiveBorderColor : @green-4;
|
|
504
|
+
@positiveHeaderColor : @green-6;
|
|
505
|
+
@positiveTextColor : @green-6;
|
|
504
506
|
|
|
505
507
|
/* Negative */
|
|
506
|
-
@negativeColor : @red;
|
|
508
|
+
@negativeColor : @red-5;
|
|
507
509
|
@negativeBackgroundColor : @white;
|
|
508
|
-
@negativeBorderColor : @red;
|
|
509
|
-
@negativeHeaderColor : @red;
|
|
510
|
-
@negativeTextColor : @red;
|
|
510
|
+
@negativeBorderColor : @red-4;
|
|
511
|
+
@negativeHeaderColor : @red-5;
|
|
512
|
+
@negativeTextColor : @red-5;
|
|
511
513
|
|
|
512
514
|
/* Info */
|
|
513
|
-
@infoColor : @
|
|
514
|
-
@infoBackgroundColor : #
|
|
515
|
-
@infoBorderColor :
|
|
516
|
-
@infoHeaderColor : @
|
|
517
|
-
@infoTextColor : @
|
|
515
|
+
@infoColor : @blue-6;
|
|
516
|
+
@infoBackgroundColor : #F8FFFF;
|
|
517
|
+
@infoBorderColor : @blue-4;
|
|
518
|
+
@infoHeaderColor : @blue-6;
|
|
519
|
+
@infoTextColor : @blue-6;
|
|
520
|
+
|
|
518
521
|
|
|
519
522
|
/* Warning */
|
|
520
|
-
@warningColor :
|
|
521
|
-
@
|
|
522
|
-
@
|
|
523
|
-
@warningHeaderColor :
|
|
524
|
-
@warningTextColor :
|
|
523
|
+
@warningColor : @brown-6;
|
|
524
|
+
@warningBackgroundColor : #FFFAF3;
|
|
525
|
+
@warningBorderColor : @brown-4;
|
|
526
|
+
@warningHeaderColor : @brown-6;
|
|
527
|
+
@warningTextColor : @brown-6;
|
|
528
|
+
|
|
525
529
|
|
|
526
530
|
/*-------------------
|
|
527
531
|
Paths
|