@eeacms/volto-eea-design-system 1.0.6 → 1.0.7
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 +59 -0
- package/package.json +1 -1
- package/src/ui/Breadcrumbs/Breadcrumb.stories.jsx +6 -34
- package/src/ui/Breadcrumbs/Breadcrumbs.jsx +24 -24
- package/src/ui/Card/Card.stories.jsx +6 -2
- package/src/ui/Comment/Comment.stories.js +25 -19
- package/src/ui/ContextNavigation/ContextNavigation.stories.jsx +18 -4
- package/src/ui/DownloadLabeledIcon/DownloadLabeledIcon.stories.jsx +3 -2
- package/src/ui/Form/Button/Button.stories.jsx +1 -1
- package/src/ui/Header/Header.jsx +13 -3
- package/src/ui/Header/Header.stories.js +112 -210
- package/src/ui/Header/HeaderMenuPopUp.js +50 -55
- package/src/ui/InpageNavigation/InpageNavigation.jsx +4 -4
- package/src/ui/InpageNavigation/InpageNavigation.stories.jsx +5 -4
- package/src/ui/Label/Label.stories.js +3 -1
- package/src/ui/LabeledIconGroup/LabeledIconGroup.jsx +5 -4
- package/src/ui/LanguageLabeledIcon/LanguageLabeledIcon.stories.jsx +3 -2
- package/src/ui/Modal/Modal.stories.js +9 -2
- package/src/ui/NewTabLabeledIcon/NewTabLabeledIcon.jsx +9 -3
- package/src/ui/Tag/Tag.stories.jsx +1 -1
- package/theme/themes/eea/assets/logo/eionet.svg +80 -11
- package/theme/themes/eea/collections/breadcrumb.overrides +11 -0
- package/theme/themes/eea/elements/button.overrides +26 -7
- package/theme/themes/eea/elements/button.variables +1 -0
- package/theme/themes/eea/elements/label.overrides +12 -8
- package/theme/themes/eea/extras/contextNavigation.less +4 -2
- package/theme/themes/eea/extras/contextNavigation.variables +1 -1
- package/theme/themes/eea/extras/downloadLabeledIcon.less +31 -22
- package/theme/themes/eea/extras/downloadLabeledIcon.variables +16 -14
- package/theme/themes/eea/extras/header.less +8 -0
- package/theme/themes/eea/extras/header.variables +4 -1
- package/theme/themes/eea/extras/inpageNavigation.less +2 -0
- package/theme/themes/eea/extras/inpageNavigation.variables +2 -0
- package/theme/themes/eea/extras/labeledIconGroup.variables +3 -3
- package/theme/themes/eea/extras/languageLabeledIcon.less +28 -20
- package/theme/themes/eea/extras/languageLabeledIcon.variables +18 -16
- package/theme/themes/eea/extras/newTabLabeledIcon.less +21 -15
- package/theme/themes/eea/extras/newTabLabeledIcon.variables +7 -5
- package/theme/themes/eea/globals/site.overrides +4 -1
- package/theme/themes/eea/modules/checkbox.overrides +6 -0
- package/theme/themes/eea/modules/checkbox.variables +3 -3
- package/theme/themes/eea/modules/modal.overrides +13 -0
- package/theme/themes/eea/modules/modal.variables +5 -1
- package/theme/themes/eea/views/card.overrides +9 -0
- package/theme/themes/eea/views/card.variables +6 -2
- package/theme/themes/eea/views/item.overrides +2 -2
|
@@ -10,6 +10,17 @@
|
|
|
10
10
|
margin-right: 0;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
.ui.breadcrumb ol {
|
|
15
|
+
list-style: none;
|
|
16
|
+
padding-left: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding-top: @space-025;
|
|
19
|
+
li {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
13
24
|
/*******************************
|
|
14
25
|
Theme Overrides
|
|
15
26
|
*******************************/
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
text-align: initial;
|
|
35
35
|
|
|
36
|
-
&:focus
|
|
36
|
+
&:focus,
|
|
37
|
+
&:focus-visible {
|
|
37
38
|
outline: none;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
cursor: pointer;
|
|
57
58
|
text-align: initial;
|
|
58
59
|
|
|
59
|
-
&:focus
|
|
60
|
+
&:focus,
|
|
61
|
+
&:focus-visible {
|
|
60
62
|
outline: none;
|
|
61
63
|
}
|
|
62
64
|
}
|
|
@@ -112,19 +114,23 @@
|
|
|
112
114
|
/* Text Button */
|
|
113
115
|
button.ui.button.text,
|
|
114
116
|
button.ui.buttons.text,
|
|
117
|
+
a.ui.button.text,
|
|
115
118
|
p.ui.button {
|
|
116
119
|
background-color: @textButtonBackground;
|
|
117
120
|
color: @primaryColor;
|
|
118
121
|
text-decoration: underline;
|
|
122
|
+
padding: @textButtonPadding;
|
|
119
123
|
|
|
120
124
|
&:hover,
|
|
121
125
|
&:active,
|
|
122
|
-
&:focus
|
|
126
|
+
&:focus,
|
|
127
|
+
&:focus-visible {
|
|
123
128
|
background-color: @textButtonBackground;
|
|
124
129
|
color: @primaryColorHover;
|
|
125
130
|
}
|
|
126
131
|
|
|
127
|
-
&:focus
|
|
132
|
+
&:focus,
|
|
133
|
+
&:focus-visible {
|
|
128
134
|
box-shadow: @textButtonFocusedBoxShadow;
|
|
129
135
|
}
|
|
130
136
|
}
|
|
@@ -141,6 +147,7 @@ p.ui.button {
|
|
|
141
147
|
&:active,
|
|
142
148
|
&:visited,
|
|
143
149
|
&:focus,
|
|
150
|
+
&:focus-visible,
|
|
144
151
|
&:hover {
|
|
145
152
|
border: @buttonBorder @white;
|
|
146
153
|
background: @searchButtonBackground;
|
|
@@ -193,6 +200,8 @@ p.ui.button {
|
|
|
193
200
|
.ui.inverted.primary.button:hover,
|
|
194
201
|
.ui.inverted.primary.buttons .button:focus,
|
|
195
202
|
.ui.inverted.primary.button:focus,
|
|
203
|
+
.ui.inverted.primary.buttons .button:focus-visible,
|
|
204
|
+
.ui.inverted.primary.button:focus-visible,
|
|
196
205
|
.ui.inverted.primary.buttons .button.active,
|
|
197
206
|
.ui.inverted.primary.button.active,
|
|
198
207
|
.ui.inverted.primary.buttons .button:active,
|
|
@@ -206,7 +215,9 @@ p.ui.button {
|
|
|
206
215
|
}
|
|
207
216
|
|
|
208
217
|
.ui.inverted.primary.buttons .button:focus,
|
|
209
|
-
.ui.inverted.primary.button:focus
|
|
218
|
+
.ui.inverted.primary.button:focus,
|
|
219
|
+
.ui.inverted.primary.buttons .button:focus-visible,
|
|
220
|
+
.ui.inverted.primary.button:focus-visible {
|
|
210
221
|
background-color: @primaryColorFocus;
|
|
211
222
|
}
|
|
212
223
|
|
|
@@ -231,6 +242,8 @@ p.ui.button {
|
|
|
231
242
|
.ui.inverted.secondary.button:hover,
|
|
232
243
|
.ui.inverted.secondary.buttons .button:focus,
|
|
233
244
|
.ui.inverted.secondary.button:focus,
|
|
245
|
+
.ui.inverted.secondary.buttons .button:focus-visible,
|
|
246
|
+
.ui.inverted.secondary.button:focus-visible,
|
|
234
247
|
.ui.inverted.secondary.buttons .button.active,
|
|
235
248
|
.ui.inverted.secondary.button.active,
|
|
236
249
|
.ui.inverted.secondary.buttons .button:active,
|
|
@@ -244,7 +257,9 @@ p.ui.button {
|
|
|
244
257
|
}
|
|
245
258
|
|
|
246
259
|
.ui.inverted.secondary.buttons .button:focus,
|
|
247
|
-
.ui.inverted.secondary.button:focus
|
|
260
|
+
.ui.inverted.secondary.button:focus,
|
|
261
|
+
\.ui.inverted.secondary.buttons .button:focus-visible,
|
|
262
|
+
.ui.inverted.secondary.button:focus-visible {
|
|
248
263
|
background-color: @secondaryColorFocus;
|
|
249
264
|
}
|
|
250
265
|
|
|
@@ -275,6 +290,8 @@ p.ui.button {
|
|
|
275
290
|
.ui.inverted.tertiary.button:hover,
|
|
276
291
|
.ui.inverted.tertiary.buttons .button:focus,
|
|
277
292
|
.ui.inverted.tertiary.button:focus,
|
|
293
|
+
.ui.inverted.tertiary.buttons .button:focus-visible,
|
|
294
|
+
.ui.inverted.tertiary.button:focus-visible,
|
|
278
295
|
.ui.inverted.tertiary.buttons .button.active,
|
|
279
296
|
.ui.inverted.tertiary.button.active,
|
|
280
297
|
.ui.inverted.tertiary.buttons .button:active,
|
|
@@ -289,7 +306,9 @@ p.ui.button {
|
|
|
289
306
|
}
|
|
290
307
|
|
|
291
308
|
.ui.tertiary.buttons .button:focus,
|
|
292
|
-
.ui.tertiary.button:focus
|
|
309
|
+
.ui.tertiary.button:focus,
|
|
310
|
+
.ui.tertiary.buttons .button:focus-visible,
|
|
311
|
+
.ui.tertiary.button:focus-visible {
|
|
293
312
|
background-color: @tertiaryColorFocus;
|
|
294
313
|
}
|
|
295
314
|
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
|
|
34
34
|
/* Link */
|
|
35
35
|
.ui.low.labels .label:hover,
|
|
36
|
-
|
|
36
|
+
.ui.low.label:hover{
|
|
37
37
|
background-color: @lowImportanceHoverBackground;
|
|
38
38
|
border-color: @lowImportanceHoverBackground;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.ui.medium.labels .label:hover,
|
|
42
|
-
|
|
42
|
+
.ui.medium.label:hover{
|
|
43
43
|
background-color: @mediumImportanceHoverBackground;
|
|
44
44
|
border-color: @mediumImportanceHoverBackground;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ui.high.labels .label:hover,
|
|
48
|
-
|
|
48
|
+
.ui.high.label:hover{
|
|
49
49
|
background-color: @highImportanceHoverBackground;
|
|
50
50
|
border-color: @highImportanceHoverBackground;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.ui.highlight.labels .label:hover,
|
|
54
|
-
|
|
54
|
+
.ui.highlight.label:hover{
|
|
55
55
|
background-color: @highlightImportanceHoverBackground;
|
|
56
56
|
border-color: @highlightImportanceHoverBackground;
|
|
57
57
|
}
|
|
@@ -80,7 +80,7 @@ a.ui.highlight.label:hover{
|
|
|
80
80
|
border-color: @lowImportanceBackground;
|
|
81
81
|
}
|
|
82
82
|
.ui.basic.low.labels a.label:hover,
|
|
83
|
-
|
|
83
|
+
.ui.basic.low.label:hover {
|
|
84
84
|
background-color: @white;
|
|
85
85
|
color: @lowImportanceHoverBackground;
|
|
86
86
|
border-color: @lowImportanceHoverBackground;
|
|
@@ -92,7 +92,7 @@ a.ui.basic.low.label:hover {
|
|
|
92
92
|
border-color: @mediumImportanceBackground;
|
|
93
93
|
}
|
|
94
94
|
.ui.basic.medium.labels a.label:hover,
|
|
95
|
-
|
|
95
|
+
.ui.basic.medium.label:hover {
|
|
96
96
|
background-color: @white;
|
|
97
97
|
color: @mediumImportanceHoverBackground;
|
|
98
98
|
border-color: @mediumImportanceHoverBackground;
|
|
@@ -104,7 +104,7 @@ a.ui.basic.medium.label:hover {
|
|
|
104
104
|
border-color: @highImportanceBackground;
|
|
105
105
|
}
|
|
106
106
|
.ui.basic.high.labels a.label:hover,
|
|
107
|
-
|
|
107
|
+
.ui.basic.high.label:hover {
|
|
108
108
|
background-color: @white;
|
|
109
109
|
color: @highImportanceHoverBackground;
|
|
110
110
|
border-color: @highImportanceHoverBackground;
|
|
@@ -116,7 +116,7 @@ a.ui.basic.high.label:hover {
|
|
|
116
116
|
border-color: @highlightImportanceBackground;
|
|
117
117
|
}
|
|
118
118
|
.ui.basic.highlight.labels a.label:hover,
|
|
119
|
-
|
|
119
|
+
.ui.basic.highlight.label:hover {
|
|
120
120
|
background-color: @white;
|
|
121
121
|
color: @highlightImportanceHoverBackground;
|
|
122
122
|
border-color: @highlightImportanceHoverBackground;
|
|
@@ -164,3 +164,7 @@ a.ui.basic.highlight.label:hover {
|
|
|
164
164
|
background: @labelNoBackground;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
+
|
|
168
|
+
.ui.corner.label i.icon:hover {
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
}
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
font-weight: @sidenavItemFontWeight;
|
|
25
25
|
color : @sidenavItemColor;
|
|
26
26
|
|
|
27
|
-
&:hover
|
|
27
|
+
&:hover,
|
|
28
|
+
&:focus-visible {
|
|
28
29
|
background: @sidenavItemHoverBackground;
|
|
29
30
|
color : @sidenavItemHoverColor;
|
|
30
31
|
}
|
|
@@ -92,7 +93,8 @@
|
|
|
92
93
|
color: @sidenavItemActiveColor;
|
|
93
94
|
font-weight: @sidenavItemActiveFontWeight;
|
|
94
95
|
}
|
|
95
|
-
.context-navigation .active.item > .content > a:hover
|
|
96
|
+
.context-navigation .active.item > .content > a:hover,
|
|
97
|
+
.context-navigation .active.item > .content > a:focus-visible {
|
|
96
98
|
color : @sidenavItemActiveColorHover;
|
|
97
99
|
}
|
|
98
100
|
|
|
@@ -14,28 +14,35 @@
|
|
|
14
14
|
min-width: @downloadLabeledIconMinWidth;
|
|
15
15
|
text-align: @downloadLabeledIconTextAlign;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
font-size: @downloadLabeledIconLabelFontSize;
|
|
20
|
-
color: @downloadLabeledIconLabelColor;
|
|
21
|
-
cursor: pointer;
|
|
17
|
+
button {
|
|
18
|
+
text-decoration: none;
|
|
22
19
|
}
|
|
23
|
-
|
|
24
|
-
text-align: center;
|
|
25
|
-
display: flex;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: @downloadLabeledIconWrapperWidth;
|
|
28
|
-
padding: @downloadLabeledIconWrapperPadding;
|
|
20
|
+
}
|
|
29
21
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
22
|
+
.eea.download.labeled.icon .label {
|
|
23
|
+
width: @downloadLabeledIconLabelWidth;
|
|
24
|
+
font-size: @downloadLabeledIconLabelFontSize;
|
|
25
|
+
font-weight: @downloadLabeledIconLabelFontWeight;
|
|
26
|
+
color: @downloadLabeledIconLabelColor;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.eea.download.labeled.icon .icon.wrapper {
|
|
31
|
+
height: @downloadLabeledIconWrapperMinHeight;
|
|
32
|
+
text-align: center;
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
width: @downloadLabeledIconWrapperWidth;
|
|
36
|
+
padding-bottom: @downloadLabeledIconWrapperPaddingBottom;
|
|
37
|
+
|
|
38
|
+
.icon {
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
font-size: @downloadLabeledIconIconFontSize;
|
|
43
|
+
color: @downloadLabeledIconColor;
|
|
44
|
+
width: @downloadLabeledIconIconWidth;
|
|
45
|
+
height: @downloadLabeledIconWrapperIconHeight;
|
|
39
46
|
}
|
|
40
47
|
}
|
|
41
48
|
|
|
@@ -72,10 +79,12 @@
|
|
|
72
79
|
line-height: @downloadLabeledIconLinkIconLineHeight;
|
|
73
80
|
}
|
|
74
81
|
}
|
|
75
|
-
a:hover
|
|
82
|
+
a:hover,
|
|
83
|
+
a:focus-visible {
|
|
76
84
|
color: @downloadLabeledIconALinkColorHover;
|
|
77
85
|
}
|
|
78
|
-
li:hover
|
|
86
|
+
li:hover,
|
|
87
|
+
li a:focus-visible {
|
|
79
88
|
background-color: @downloadLabeledIconLiHover;
|
|
80
89
|
}
|
|
81
90
|
}
|
|
@@ -9,37 +9,39 @@
|
|
|
9
9
|
|
|
10
10
|
/* Label */
|
|
11
11
|
@downloadLabeledIconLabelWidth: 100%;
|
|
12
|
-
@downloadLabeledIconLabelFontSize: 0
|
|
13
|
-
@
|
|
12
|
+
@downloadLabeledIconLabelFontSize: @font-size-0;
|
|
13
|
+
@downloadLabeledIconLabelFontWeight: @font-weight-4;
|
|
14
|
+
@downloadLabeledIconLabelColor: @tertiaryColor;
|
|
14
15
|
|
|
15
16
|
/* Wrapper */
|
|
17
|
+
@downloadLabeledIconWrapperMinHeight: @rem-space-8;
|
|
16
18
|
@downloadLabeledIconWrapperWidth: 100%;
|
|
17
|
-
@
|
|
19
|
+
@downloadLabeledIconWrapperPaddingBottom: @rem-space-1;
|
|
18
20
|
|
|
19
21
|
/* Icon */
|
|
20
22
|
@downloadLabeledIconIconFontSize: 1.563rem;
|
|
21
23
|
@downloadLabeledIconWrapperIconHeight: 1.25rem;
|
|
22
24
|
@downloadLabeledIconIconWidth: 1.25rem;
|
|
23
|
-
@downloadLabeledIconColor: @
|
|
25
|
+
@downloadLabeledIconColor: @lightPrimaryColor;
|
|
24
26
|
|
|
25
27
|
/* Link Wrapper */
|
|
26
|
-
@downloadLabeledIconLinkWrapperBackgroundColor:
|
|
27
|
-
@downloadLabeledIconLinkWrapperZIndex: 1;
|
|
28
|
+
@downloadLabeledIconLinkWrapperBackgroundColor: @grey-1;
|
|
29
|
+
@downloadLabeledIconLinkWrapperZIndex: @z-index-1;
|
|
28
30
|
@downloadLabeledIconLinkWrapperWidth: 100%;
|
|
29
31
|
|
|
30
32
|
/* Dropdown */
|
|
31
33
|
@downloadLabeledIconDropdownWIdth: 100%;
|
|
32
34
|
|
|
33
35
|
/* List */
|
|
34
|
-
@downloadLabeledIconUlMargin:
|
|
35
|
-
@downloadLabeledIconUlPaddingInlineStart:
|
|
36
|
-
@downloadLabeledIconLiHover: @
|
|
36
|
+
@downloadLabeledIconUlMargin: @rem-space-1 0;
|
|
37
|
+
@downloadLabeledIconUlPaddingInlineStart: @rem-space-1 0px;
|
|
38
|
+
@downloadLabeledIconLiHover: @darkTertiaryColor;
|
|
37
39
|
|
|
38
40
|
/* Link */
|
|
39
41
|
@downloadLabeledIconALinkFontWeight: 700;
|
|
40
|
-
@downloadLabeledIconLinkFontSize: 0
|
|
41
|
-
@downloadLabeledIconLinkIconFontSize:
|
|
42
|
-
@downloadLabeledIconLinkIconPadding:
|
|
42
|
+
@downloadLabeledIconLinkFontSize: @font-size-0;
|
|
43
|
+
@downloadLabeledIconLinkIconFontSize: @font-size-1;
|
|
44
|
+
@downloadLabeledIconLinkIconPadding: @rem-space-050 @rem-space-3-5;
|
|
43
45
|
@downloadLabeledIconLinkIconLineHeight: 1.25rem;
|
|
44
|
-
@downloadLabeledIconALinkColor: @
|
|
45
|
-
@downloadLabeledIconALinkColorHover: @
|
|
46
|
+
@downloadLabeledIconALinkColor: @darkTertiaryColor;
|
|
47
|
+
@downloadLabeledIconALinkColorHover: @grey-0;
|
|
@@ -785,6 +785,12 @@
|
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
787
|
|
|
788
|
+
// add negative margin to the first column subtitle from nested grid
|
|
789
|
+
// so that the subtitle lines up with the subtitle from the left column
|
|
790
|
+
#mega-menu .nested-grid > .column:first-of-type .sub-title {
|
|
791
|
+
margin-top: @megaMenuSubTitleCountriesNestedGridMarginTop;
|
|
792
|
+
}
|
|
793
|
+
|
|
788
794
|
#topics-right-column {
|
|
789
795
|
padding-left: @topicsRightColumnPaddingLeft;
|
|
790
796
|
}
|
|
@@ -930,6 +936,8 @@
|
|
|
930
936
|
color: @megaMenuTextColor;
|
|
931
937
|
font-size: @computerMegaMenuSubTitleFontSize;
|
|
932
938
|
font-weight: @megaMenuSubTitleFontWeight;
|
|
939
|
+
padding: @megaMenuSubTitlePadding;
|
|
940
|
+
display: @megaMenuSubTitleDisplay;
|
|
933
941
|
|
|
934
942
|
&:hover,
|
|
935
943
|
&:focus-visible {
|
|
@@ -178,6 +178,9 @@
|
|
|
178
178
|
@mobileMegaMenuSubTitleFontSize: @font-size-2;
|
|
179
179
|
@computerMegaMenuSubTitleFontSize: @font-size-3;
|
|
180
180
|
@megaMenuSubTitleFontWeight: @font-weight-7;
|
|
181
|
+
@megaMenuSubTitlePadding: 0.5rem 0;
|
|
182
|
+
@megaMenuSubTitleDisplay: block;
|
|
183
|
+
@megaMenuSubTitleCountriesNestedGridMarginTop: -1rem;
|
|
181
184
|
|
|
182
185
|
/* List Item */
|
|
183
186
|
@megaMenuListItemFontSize: @font-size-1;
|
|
@@ -193,7 +196,7 @@
|
|
|
193
196
|
@megaMenuGlanceListItemFontSize: @font-size-1;
|
|
194
197
|
@megaMenuGlanceListItemFontWeight: @font-weight-4;
|
|
195
198
|
@megaMenuGlanceListItemMargin: 0;
|
|
196
|
-
@megaMenuGlanceMenuListMarginTop:
|
|
199
|
+
@megaMenuGlanceMenuListMarginTop: 0;
|
|
197
200
|
|
|
198
201
|
/* Accordion */
|
|
199
202
|
@megaMenuAccordionTitleFontSize: @font-size-3;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*******************************/
|
|
5
5
|
|
|
6
6
|
@labeledIconGroupWidth : 100%;
|
|
7
|
-
@labeledIconGroupPadding : 0
|
|
7
|
+
@labeledIconGroupPadding : 0 @rem-space-8;
|
|
8
8
|
|
|
9
|
-
@labeledIconGroupWrapperMarginLeft:
|
|
10
|
-
@labeledIconGroupWrapperMarginRight:
|
|
9
|
+
@labeledIconGroupWrapperMarginLeft: @rem-space-1;
|
|
10
|
+
@labeledIconGroupWrapperMarginRight: @rem-space-1;
|
|
@@ -15,30 +15,37 @@
|
|
|
15
15
|
min-width: @languageLabeledIconMinWidth;
|
|
16
16
|
text-align: @languageLabeledIconTextAlign;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
display: flex;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: center;
|
|
23
|
-
font-size: @languageLabeledIconIconWrapperFontSize;
|
|
24
|
-
font-weight: @languageLabeledIconIconWrapperFontWeight;
|
|
25
|
-
color: @languageLabeledIconIconWrapperColor;
|
|
26
|
-
|
|
27
|
-
i {
|
|
28
|
-
color: @languageLabeledIconIconWrapperIconColor;
|
|
29
|
-
margin-right: @languageLabeledIconIconWrapperIconMarginRight;
|
|
30
|
-
font-size: @languageLabeledIconIconWrapperIconFontSize;
|
|
31
|
-
}
|
|
18
|
+
button {
|
|
19
|
+
text-decoration: none;
|
|
32
20
|
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.eea.language.labeled.icon .icon.wrapper {
|
|
24
|
+
height: @languageLabeledIconIconWrapperMinHeight;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
font-size: @languageLabeledIconIconWrapperFontSize;
|
|
30
|
+
font-weight: @languageLabeledIconIconWrapperFontWeight;
|
|
31
|
+
color: @languageLabeledIconIconWrapperColor;
|
|
32
|
+
padding-bottom: @languageLabeledIconIconWrapperPaddingBottom;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
i {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
color: @languageLabeledIconIconWrapperIconColor;
|
|
37
|
+
margin-right: @languageLabeledIconIconWrapperIconMarginRight;
|
|
38
|
+
font-size: @languageLabeledIconIconWrapperIconFontSize;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
.eea.language.labeled.icon .label {
|
|
43
|
+
color: @languageLabeledIconLabelColor;
|
|
44
|
+
font-size: @languageLabeledIconLabelFontSize;
|
|
45
|
+
font-weight: @languageLabeledIconLabelFontWeight;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
|
|
42
49
|
.ui.popup.language-popup {
|
|
43
50
|
margin: 0;
|
|
44
51
|
padding: 0;
|
|
@@ -67,7 +74,8 @@
|
|
|
67
74
|
padding: @languageLabeledIconLabelUlLiPadding;
|
|
68
75
|
}
|
|
69
76
|
|
|
70
|
-
li:hover
|
|
77
|
+
li:hover,
|
|
78
|
+
li div:focus-visible {
|
|
71
79
|
color: @languageLabeledIconLabelUlLiColor;
|
|
72
80
|
background-color: @languageLabeledIconLabelUlLiBackgroundColor;
|
|
73
81
|
}
|
|
@@ -8,34 +8,36 @@
|
|
|
8
8
|
@languageLabeledIconTextAlign: center;
|
|
9
9
|
|
|
10
10
|
/* Icon Wrapper */
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
11
|
+
@languageLabeledIconIconWrapperMinHeight: @rem-space-8;
|
|
12
|
+
@languageLabeledIconIconWrapperFontSize : @font-size-0;
|
|
13
|
+
@languageLabeledIconIconWrapperFontWeight : @font-weight-4;
|
|
14
|
+
@languageLabeledIconIconWrapperColor : @tertiaryColor;
|
|
15
|
+
@languageLabeledIconIconWrapperPaddingBottom : @rem-space-1;
|
|
14
16
|
|
|
15
17
|
/* Icon */
|
|
16
|
-
@languageLabeledIconIconWrapperIconColor: @
|
|
17
|
-
@languageLabeledIconIconWrapperIconMarginRight:
|
|
18
|
-
@languageLabeledIconIconWrapperIconFontSize:
|
|
18
|
+
@languageLabeledIconIconWrapperIconColor: @lightPrimaryColor;
|
|
19
|
+
@languageLabeledIconIconWrapperIconMarginRight: @rem-space-1;
|
|
20
|
+
@languageLabeledIconIconWrapperIconFontSize: @font-size-4;
|
|
19
21
|
|
|
20
22
|
/* Label */
|
|
21
|
-
@languageLabeledIconLabelColor: @
|
|
22
|
-
@languageLabeledIconLabelFontSize: 0
|
|
23
|
-
@languageLabeledIconLabelFontWeight:
|
|
23
|
+
@languageLabeledIconLabelColor: @tertiaryColor;
|
|
24
|
+
@languageLabeledIconLabelFontSize: @font-size-0;
|
|
25
|
+
@languageLabeledIconLabelFontWeight: @font-weight-4;
|
|
24
26
|
|
|
25
27
|
/* Dropdown */
|
|
26
|
-
@languageLabeledIconDropdownBackgroundColor:
|
|
28
|
+
@languageLabeledIconDropdownBackgroundColor: @grey-1;
|
|
27
29
|
|
|
28
30
|
/* Link */
|
|
29
31
|
@languageLabeledIconDropdowLinkWrapperWidth: max-content;
|
|
30
32
|
|
|
31
33
|
|
|
32
34
|
/* List */
|
|
33
|
-
@languageLabeledIconLabelUlMargin:0;
|
|
34
|
-
@languageLabeledIconLabelUlColor: @
|
|
35
|
-
@languageLabeledIconLabelUlPadding:
|
|
35
|
+
@languageLabeledIconLabelUlMargin: 0;
|
|
36
|
+
@languageLabeledIconLabelUlColor: @darkTertiaryColor;
|
|
37
|
+
@languageLabeledIconLabelUlPadding: @rem-space-1;
|
|
36
38
|
|
|
37
39
|
/* List Item */
|
|
38
40
|
@languageLabeledIconLabelUlLiPadding: 0.125rem 0.313rem;
|
|
39
|
-
@languageLabeledIconLabelUlLiColor: @
|
|
40
|
-
@languageLabeledIconLabelUlLiBackgroundColor: @
|
|
41
|
-
@languageLabeledIconLabelUlLiSpanFontWeight:
|
|
41
|
+
@languageLabeledIconLabelUlLiColor: @grey-0;
|
|
42
|
+
@languageLabeledIconLabelUlLiBackgroundColor: @darkTertiaryColor;
|
|
43
|
+
@languageLabeledIconLabelUlLiSpanFontWeight: @font-weight-7;
|
|
@@ -14,29 +14,35 @@
|
|
|
14
14
|
min-width: @newTabLabeledIconMinWidth;
|
|
15
15
|
text-align: @newTabLabeledIconTextAlign;
|
|
16
16
|
|
|
17
|
+
a {
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
.label {
|
|
18
22
|
width: @newTabLabeledIconLabelWidth;
|
|
19
23
|
font-size: @newTabLabeledIconLabelFontSize;
|
|
24
|
+
font-weight: @newTabLabeledIconLabelFontWeight;
|
|
20
25
|
color: @newTabLabeledIconLabelColor;
|
|
21
26
|
cursor: pointer;
|
|
22
27
|
}
|
|
28
|
+
}
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
.eea.new.tab.labeled.icon .icon.wrapper {
|
|
31
|
+
min-height: @newTabLabeledIconIconWrapperMinHeight;
|
|
32
|
+
width: @newTabLabeledIconIconWrapperWidth;
|
|
33
|
+
text-align: center;
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
padding-bottom: @newTabLabeledIconWrapperPaddingBottom;
|
|
30
37
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
38
|
+
.icon {
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
font-size: @newTabLabeledIconIconFontSize;
|
|
43
|
+
color: @newTabLabeledIconColor;
|
|
44
|
+
width: @newTabLabeledIconIconWidth;
|
|
45
|
+
height: @newTabLabeledIconWrapperIconHeight;
|
|
40
46
|
}
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -4,18 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
/* Body */
|
|
6
6
|
@newTabLabeledIconWidth: min-content;
|
|
7
|
-
@newTabLabeledIconMinWidth:
|
|
7
|
+
@newTabLabeledIconMinWidth: 8.5rem;
|
|
8
8
|
@newTabLabeledIconTextAlign: center;
|
|
9
9
|
|
|
10
10
|
/* Label */
|
|
11
11
|
@newTabLabeledIconLabelWidth: 100%;
|
|
12
|
-
@newTabLabeledIconLabelFontSize: 0
|
|
13
|
-
@
|
|
14
|
-
@
|
|
12
|
+
@newTabLabeledIconLabelFontSize: @font-size-0;
|
|
13
|
+
@newTabLabeledIconLabelFontWeight: @font-weight-4;
|
|
14
|
+
@newTabLabeledIconLabelColor: @tertiaryColor;
|
|
15
|
+
@newTabLabeledIconColor: @lightPrimaryColor;
|
|
15
16
|
|
|
16
17
|
/* Icon Wrapper */
|
|
18
|
+
@newTabLabeledIconIconWrapperMinHeight: @rem-space-8;
|
|
17
19
|
@newTabLabeledIconIconWrapperWidth: 100%;
|
|
18
|
-
@
|
|
20
|
+
@newTabLabeledIconWrapperPaddingBottom: @rem-space-1;
|
|
19
21
|
|
|
20
22
|
/* Icon */
|
|
21
23
|
@newTabLabeledIconIconFontSize: 1.563rem;
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
outline: @focusVisibleOutline;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
button:focus-visible
|
|
12
|
+
button:focus-visible,
|
|
13
|
+
a.button:focus-visible,
|
|
14
|
+
.ui.checkbox input[type="checkbox"]:focus-visible,
|
|
15
|
+
.ui.checkbox input[type="radio"]:focus-visible {
|
|
13
16
|
outline: @focusVisibleOutline !important;
|
|
14
17
|
}
|
|
15
18
|
|