@eeacms/volto-eea-design-system 0.3.0 → 0.4.1
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 +110 -0
- package/package.json +3 -2
- package/src/semantic.less +21 -1
- package/src/ui/Card/Card.stories.jsx +185 -5
- package/src/ui/DownloadLabeledIcon/DownloadLabeledIcon.jsx +54 -0
- package/src/ui/DownloadLabeledIcon/DownloadLabeledIcon.stories.jsx +68 -0
- package/src/ui/LabeledIconGroup/LabeledIconGroup.jsx +67 -0
- package/src/ui/LabeledIconGroup/LabeledIconGroup.stories.jsx +74 -0
- package/src/ui/LanguageLabeledIcon/LanguageLabeledIcon.jsx +92 -0
- package/src/ui/LanguageLabeledIcon/LanguageLabeledIcon.stories.jsx +63 -0
- package/src/ui/NewTabLabeledIcon/NewTabLabeledIcon.jsx +26 -0
- package/src/ui/NewTabLabeledIcon/NewTabLabeledIcon.stories.jsx +49 -0
- package/src/ui/Quote/Quote.jsx +1 -1
- package/src/ui/Quote/Quote.stories.jsx +21 -29
- package/src/ui/index.js +8 -0
- package/theme/theme.config +4 -0
- package/theme/themes/eea/assets/images/Svg/data-analytics.svg +14 -0
- package/theme/themes/eea/assets/images/Svg/globe-eco.svg +3 -0
- package/theme/themes/eea/assets/images/Svg/knowledge.svg +3 -0
- package/theme/themes/eea/assets/images/Svg/network.svg +3 -0
- package/theme/themes/eea/assets/images/Svg/sustainable.svg +38 -0
- package/theme/themes/eea/collections/table.overrides +1 -1
- package/theme/themes/eea/definitions/views/item.less +475 -0
- package/theme/themes/eea/elements/input.overrides +68 -0
- package/theme/themes/eea/elements/label.overrides +111 -3
- package/theme/themes/eea/elements/label.variables +17 -3
- package/theme/themes/eea/elements/segment.overrides +5 -2
- package/theme/themes/eea/extras/downloadLabeledIcon.less +87 -0
- package/theme/themes/eea/extras/downloadLabeledIcon.variables +45 -0
- package/theme/themes/eea/extras/labeledIconGroup.less +20 -0
- package/theme/themes/eea/extras/labeledIconGroup.variables +10 -0
- package/theme/themes/eea/extras/languageLabeledIcon.less +81 -0
- package/theme/themes/eea/extras/languageLabeledIcon.variables +41 -0
- package/theme/themes/eea/extras/main.variables +1 -1
- package/theme/themes/eea/extras/newTabLabeledIcon.less +41 -0
- package/theme/themes/eea/extras/newTabLabeledIcon.variables +23 -0
- package/theme/themes/eea/extras/quote.less +3 -3
- package/theme/themes/eea/extras/quote.variables +4 -4
- package/theme/themes/eea/globals/site.overrides +2 -0
- package/theme/themes/eea/globals/site.variables +25 -6
- package/theme/themes/eea/globals/utilities.less +31 -0
- package/theme/themes/eea/tokens/borders.less +14 -0
- package/theme/themes/eea/tokens/colors.less +63 -0
- package/theme/themes/eea/tokens/fonts.less +2 -2
- package/theme/themes/eea/tokens/shadows.less +41 -0
- package/theme/themes/eea/tokens/shapes.less +6 -0
- package/theme/themes/eea/tokens/sizes.less +106 -17
- package/theme/themes/eea/tokens/tokens.less +5 -0
- package/theme/themes/eea/tokens/z-index.less +12 -0
- package/theme/themes/eea/views/card.overrides +108 -0
- package/theme/themes/eea/views/card.variables +29 -1
- package/theme/themes/eea/views/item.overrides +37 -0
- package/theme/themes/eea/views/item.variables +12 -3
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
@verticalAlign: baseline;
|
|
12
12
|
@verticalMargin: 0em;
|
|
13
13
|
@horizontalMargin: @relative2px;
|
|
14
|
-
@backgroundColor: @
|
|
14
|
+
@backgroundColor: @grey;
|
|
15
15
|
@color: @white;
|
|
16
16
|
@backgroundImage: none;
|
|
17
17
|
@verticalPadding: 0.5833em; /* medium is not @emSize custom value required */
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@borderRadius: @defaultBorderRadius;
|
|
20
20
|
@textTransform: none;
|
|
21
21
|
@fontWeight: @normal;
|
|
22
|
-
@borderWidth:
|
|
22
|
+
@borderWidth: 1px;
|
|
23
23
|
@border: none;
|
|
24
24
|
|
|
25
25
|
@labelLineHeight: inherit;
|
|
@@ -158,6 +158,19 @@
|
|
|
158
158
|
@highImportanceBackground: #005293;
|
|
159
159
|
@highlightImportanceBackground: @secondaryColor;
|
|
160
160
|
|
|
161
|
+
/* Hover Colors */
|
|
162
|
+
@lowImportanceHoverBackground: darken(@deepBlue,5);
|
|
163
|
+
@mediumImportanceHoverBackground: darken(#346F83,5);
|
|
164
|
+
@highImportanceHoverBackground: darken(#005293,5);
|
|
165
|
+
@highlightImportanceHoverBackground: darken(@secondaryColor,5);
|
|
166
|
+
|
|
167
|
+
@importanceHoverTextColor: @white;
|
|
168
|
+
|
|
169
|
+
@lowImportanceBasicTextColor: @deepBlue;
|
|
170
|
+
@mediumImportanceBasicTextColor: #346F83;
|
|
171
|
+
@highImportanceBasicTextColor: #005293;
|
|
172
|
+
@highlightImportanceBasicTextColor: @secondaryColor;
|
|
173
|
+
|
|
161
174
|
@redTextColor: @white;
|
|
162
175
|
@orangeTextColor: @white;
|
|
163
176
|
@yellowTextColor: @white;
|
|
@@ -235,7 +248,7 @@
|
|
|
235
248
|
@emptyCircleSize: 0.5em;
|
|
236
249
|
|
|
237
250
|
/* Pointing */
|
|
238
|
-
@pointingBorderColor:
|
|
251
|
+
@pointingBorderColor: @grey;
|
|
239
252
|
@pointingBorderWidth: 0;
|
|
240
253
|
@pointingVerticalDistance: 1em;
|
|
241
254
|
@pointingTriangleSize: 0.6666em;
|
|
@@ -246,6 +259,7 @@
|
|
|
246
259
|
|
|
247
260
|
/* Basic Pointing */
|
|
248
261
|
@basicPointingTriangleOffset: -@pointingBorderWidth;
|
|
262
|
+
@basicImportanceBorderWidth: 0 0 1px 1px;
|
|
249
263
|
|
|
250
264
|
/* Floating */
|
|
251
265
|
@floatingTopOffset: -1em;
|
|
@@ -23,9 +23,12 @@
|
|
|
23
23
|
font-size: @14px;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
// eea add .form class for inline form with booleans, the segment doesn't have form class
|
|
27
|
+
.form .segment,
|
|
26
28
|
.ui.form.segment {
|
|
27
|
-
padding
|
|
28
|
-
|
|
29
|
+
// // commented to restore padding to a list of toggle inputs within field-wrapper-hideContentType
|
|
30
|
+
// padding: 0;
|
|
31
|
+
//
|
|
29
32
|
.ui.grid > .row {
|
|
30
33
|
padding-top: 0;
|
|
31
34
|
padding-bottom: 0;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'downloadLabeledIcon';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*******************************
|
|
7
|
+
Download Labeled Icon
|
|
8
|
+
*******************************/
|
|
9
|
+
.eea.download.labeled.icon {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
width: @downloadLabeledIconWidth;
|
|
14
|
+
min-width: @downloadLabeledIconMinWidth;
|
|
15
|
+
text-align: @downloadLabeledIconTextAlign;
|
|
16
|
+
|
|
17
|
+
.label {
|
|
18
|
+
width: @downloadLabeledIconLabelWidth;
|
|
19
|
+
font-size: @downloadLabeledIconLabelFontSize;
|
|
20
|
+
color: @downloadLabeledIconLabelColor;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
.icon.wrapper {
|
|
24
|
+
text-align: center;
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: @downloadLabeledIconWrapperWidth;
|
|
28
|
+
padding: @downloadLabeledIconWrapperPadding;
|
|
29
|
+
|
|
30
|
+
.icon {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
font-size: @downloadLabeledIconIconFontSize;
|
|
35
|
+
color: @downloadLabeledIconColor;
|
|
36
|
+
width: @downloadLabeledIconIconWidth;
|
|
37
|
+
height: @downloadLabeledIconWrapperIconHeight;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ui.popup.download-popup {
|
|
43
|
+
margin: 0;
|
|
44
|
+
padding: 0;
|
|
45
|
+
border: none;
|
|
46
|
+
|
|
47
|
+
.dropdown {
|
|
48
|
+
position: relative;
|
|
49
|
+
width: @downloadLabeledIconDropdownWIdth;
|
|
50
|
+
|
|
51
|
+
.link.wrapper {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
background-color: @downloadLabeledIconLinkWrapperBackgroundColor;
|
|
54
|
+
z-index: @downloadLabeledIconLinkWrapperZIndex;
|
|
55
|
+
width: @downloadLabeledIconLinkWrapperWidth;
|
|
56
|
+
|
|
57
|
+
ul {
|
|
58
|
+
list-style-type: none;
|
|
59
|
+
margin: @downloadLabeledIconUlMargin;
|
|
60
|
+
padding: @downloadLabeledIconUlPaddingInlineStart;
|
|
61
|
+
|
|
62
|
+
a {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
font-weight: @downloadLabeledIconALinkFontWeight;
|
|
66
|
+
font-size: @downloadLabeledIconLinkFontSize;
|
|
67
|
+
padding: @downloadLabeledIconLinkIconPadding;
|
|
68
|
+
color: @downloadLabeledIconALinkColor;
|
|
69
|
+
|
|
70
|
+
.icon {
|
|
71
|
+
font-size: @downloadLabeledIconLinkIconFontSize;
|
|
72
|
+
line-height: @downloadLabeledIconLinkIconLineHeight;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
a:hover {
|
|
76
|
+
color: @downloadLabeledIconALinkColorHover;
|
|
77
|
+
}
|
|
78
|
+
li:hover {
|
|
79
|
+
background-color: @downloadLabeledIconLiHover;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.link.wrapper.hidden {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Download Labeled Icon
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Body */
|
|
6
|
+
@downloadLabeledIconWidth: min-content;
|
|
7
|
+
@downloadLabeledIconMinWidth: 5rem;
|
|
8
|
+
@downloadLabeledIconTextAlign: center;
|
|
9
|
+
|
|
10
|
+
/* Label */
|
|
11
|
+
@downloadLabeledIconLabelWidth: 100%;
|
|
12
|
+
@downloadLabeledIconLabelFontSize: 0.875rem;
|
|
13
|
+
@downloadLabeledIconLabelColor: @deepBlue;
|
|
14
|
+
|
|
15
|
+
/* Wrapper */
|
|
16
|
+
@downloadLabeledIconWrapperWidth: 100%;
|
|
17
|
+
@downloadLabeledIconWrapperPadding: 0.5rem;
|
|
18
|
+
|
|
19
|
+
/* Icon */
|
|
20
|
+
@downloadLabeledIconIconFontSize: 1.563rem;
|
|
21
|
+
@downloadLabeledIconWrapperIconHeight: 1.25rem;
|
|
22
|
+
@downloadLabeledIconIconWidth: 1.25rem;
|
|
23
|
+
@downloadLabeledIconColor: @mediumPersianBlue;
|
|
24
|
+
|
|
25
|
+
/* Link Wrapper */
|
|
26
|
+
@downloadLabeledIconLinkWrapperBackgroundColor: #f9f9f9;
|
|
27
|
+
@downloadLabeledIconLinkWrapperZIndex: 1;
|
|
28
|
+
@downloadLabeledIconLinkWrapperWidth: 100%;
|
|
29
|
+
|
|
30
|
+
/* Dropdown */
|
|
31
|
+
@downloadLabeledIconDropdownWIdth: 100%;
|
|
32
|
+
|
|
33
|
+
/* List */
|
|
34
|
+
@downloadLabeledIconUlMargin: 0.25rem 0;
|
|
35
|
+
@downloadLabeledIconUlPaddingInlineStart: 0.25rem 0px;
|
|
36
|
+
@downloadLabeledIconLiHover: @japaneseIndigo;
|
|
37
|
+
|
|
38
|
+
/* Link */
|
|
39
|
+
@downloadLabeledIconALinkFontWeight: 700;
|
|
40
|
+
@downloadLabeledIconLinkFontSize: 0.875rem;
|
|
41
|
+
@downloadLabeledIconLinkIconFontSize: 1rem;
|
|
42
|
+
@downloadLabeledIconLinkIconPadding: 0.125rem 0.875rem;
|
|
43
|
+
@downloadLabeledIconLinkIconLineHeight: 1.25rem;
|
|
44
|
+
@downloadLabeledIconALinkColor: @japaneseIndigo;
|
|
45
|
+
@downloadLabeledIconALinkColorHover: @white;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'labeledIconGroup';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*******************************
|
|
7
|
+
Labeled Icon Group
|
|
8
|
+
*******************************/
|
|
9
|
+
.eea.labeled.icon.group {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
width: @labeledIconGroupWidth;
|
|
14
|
+
padding: @labeledIconGroupPadding;
|
|
15
|
+
|
|
16
|
+
.group.wrapper {
|
|
17
|
+
margin-left: @labeledIconGroupWrapperMarginLeft;
|
|
18
|
+
margin-right: @labeledIconGroupWrapperMarginRight;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'languageLabeledIcon';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*******************************
|
|
7
|
+
Language Labeled Icon
|
|
8
|
+
*******************************/
|
|
9
|
+
|
|
10
|
+
.eea.language.labeled.icon {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
width: @languageLabeledIconWidth;
|
|
15
|
+
min-width: @languageLabeledIconMinWidth;
|
|
16
|
+
text-align: @languageLabeledIconTextAlign;
|
|
17
|
+
|
|
18
|
+
.icon.wrapper {
|
|
19
|
+
cursor: pointer;
|
|
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
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.label {
|
|
35
|
+
color: @languageLabeledIconLabelColor;
|
|
36
|
+
font-size: @languageLabeledIconLabelFontSize;
|
|
37
|
+
font-weight: @languageLabeledIconLabelFontWeight;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ui.popup.language-popup {
|
|
43
|
+
margin: 0;
|
|
44
|
+
padding: 0;
|
|
45
|
+
border: none;
|
|
46
|
+
|
|
47
|
+
.dropdown {
|
|
48
|
+
|
|
49
|
+
.link.wrapper {
|
|
50
|
+
display: flex;
|
|
51
|
+
width: @languageLabeledIconDropdowLinkWrapperWidth;
|
|
52
|
+
background-color: @languageLabeledIconDropdownBackgroundColor;
|
|
53
|
+
z-index: 1;
|
|
54
|
+
|
|
55
|
+
&.hidden {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
ul {
|
|
60
|
+
list-style-type: none;
|
|
61
|
+
margin: 0;
|
|
62
|
+
color: @languageLabeledIconLabelUlColor;
|
|
63
|
+
padding: @languageLabeledIconLabelUlPadding;
|
|
64
|
+
|
|
65
|
+
li {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
padding: @languageLabeledIconLabelUlLiPadding;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
li:hover {
|
|
71
|
+
color: @languageLabeledIconLabelUlLiColor;
|
|
72
|
+
background-color: @languageLabeledIconLabelUlLiBackgroundColor;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
li span {
|
|
76
|
+
font-weight: @languageLabeledIconLabelUlLiSpanFontWeight;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Language Labeled Icon
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Body */
|
|
6
|
+
@languageLabeledIconWidth : min-content;
|
|
7
|
+
@languageLabeledIconMinWidth: 7rem;
|
|
8
|
+
@languageLabeledIconTextAlign: center;
|
|
9
|
+
|
|
10
|
+
/* Icon Wrapper */
|
|
11
|
+
@languageLabeledIconIconWrapperFontSize : 0.875rem;
|
|
12
|
+
@languageLabeledIconIconWrapperFontWeight : 400;
|
|
13
|
+
@languageLabeledIconIconWrapperColor : @deepBlue;
|
|
14
|
+
|
|
15
|
+
/* Icon */
|
|
16
|
+
@languageLabeledIconIconWrapperIconColor: @mediumPersianBlue;
|
|
17
|
+
@languageLabeledIconIconWrapperIconMarginRight: 0.25rem;
|
|
18
|
+
@languageLabeledIconIconWrapperIconFontSize: 1.5rem;
|
|
19
|
+
|
|
20
|
+
/* Label */
|
|
21
|
+
@languageLabeledIconLabelColor: @deepBlue;
|
|
22
|
+
@languageLabeledIconLabelFontSize: 0.875rem;
|
|
23
|
+
@languageLabeledIconLabelFontWeight: 400;
|
|
24
|
+
|
|
25
|
+
/* Dropdown */
|
|
26
|
+
@languageLabeledIconDropdownBackgroundColor: #f9f9f9;
|
|
27
|
+
|
|
28
|
+
/* Link */
|
|
29
|
+
@languageLabeledIconDropdowLinkWrapperWidth: max-content;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/* List */
|
|
33
|
+
@languageLabeledIconLabelUlMargin:0;
|
|
34
|
+
@languageLabeledIconLabelUlColor: @japaneseIndigo;
|
|
35
|
+
@languageLabeledIconLabelUlPadding: 0.25rem;
|
|
36
|
+
|
|
37
|
+
/* List Item */
|
|
38
|
+
@languageLabeledIconLabelUlLiPadding: 0.125rem 0.313rem;
|
|
39
|
+
@languageLabeledIconLabelUlLiColor: @white;
|
|
40
|
+
@languageLabeledIconLabelUlLiBackgroundColor: @japaneseIndigo;
|
|
41
|
+
@languageLabeledIconLabelUlLiSpanFontWeight: 700;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'newTabLabeledIcon';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*******************************
|
|
7
|
+
New Tab Labeled Icon
|
|
8
|
+
*******************************/
|
|
9
|
+
.eea.new.tab.labeled.icon {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
width: @newTabLabeledIconWidth;
|
|
14
|
+
min-width: @newTabLabeledIconMinWidth;
|
|
15
|
+
text-align: @newTabLabeledIconTextAlign;
|
|
16
|
+
|
|
17
|
+
.label {
|
|
18
|
+
width: @newTabLabeledIconLabelWidth;
|
|
19
|
+
font-size: @newTabLabeledIconLabelFontSize;
|
|
20
|
+
color: @newTabLabeledIconLabelColor;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon.wrapper {
|
|
25
|
+
text-align: center;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
width: @newTabLabeledIconIconWrapperWidth;
|
|
29
|
+
padding: @newTabLabeledIconWrapperPadding;
|
|
30
|
+
|
|
31
|
+
.icon {
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
font-size: @newTabLabeledIconIconFontSize;
|
|
36
|
+
color: @newTabLabeledIconColor;
|
|
37
|
+
width: @newTabLabeledIconIconWidth;
|
|
38
|
+
height: @newTabLabeledIconWrapperIconHeight;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
New Tab Labeled Icon
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Body */
|
|
6
|
+
@newTabLabeledIconWidth: min-content;
|
|
7
|
+
@newTabLabeledIconMinWidth: 7rem;
|
|
8
|
+
@newTabLabeledIconTextAlign: center;
|
|
9
|
+
|
|
10
|
+
/* Label */
|
|
11
|
+
@newTabLabeledIconLabelWidth: 100%;
|
|
12
|
+
@newTabLabeledIconLabelFontSize: 0.875rem;
|
|
13
|
+
@newTabLabeledIconLabelColor: @deepBlue;
|
|
14
|
+
@newTabLabeledIconColor: @mediumPersianBlue;
|
|
15
|
+
|
|
16
|
+
/* Icon Wrapper */
|
|
17
|
+
@newTabLabeledIconIconWrapperWidth: 100%;
|
|
18
|
+
@newTabLabeledIconWrapperPadding: 0.5rem;
|
|
19
|
+
|
|
20
|
+
/* Icon */
|
|
21
|
+
@newTabLabeledIconIconFontSize: 1.563rem;
|
|
22
|
+
@newTabLabeledIconWrapperIconHeight: 1.25rem;
|
|
23
|
+
@newTabLabeledIconIconWidth: 1.25rem;
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
@sourceFontSize : 1.25rem;
|
|
23
23
|
@sourceMargin : 0;
|
|
24
24
|
|
|
25
|
-
/*
|
|
26
|
-
@
|
|
27
|
-
@
|
|
28
|
-
@
|
|
25
|
+
/* Extra info */
|
|
26
|
+
@extraTextAlign : right;
|
|
27
|
+
@extraFontWeight : @normal;
|
|
28
|
+
@extraFontSize : 1rem;
|
|
29
29
|
|
|
30
30
|
/* Icon */
|
|
31
31
|
@mobileQuoteIconSize : 2rem;
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
|
|
58
58
|
@primaryColor : @darkCerulean;
|
|
59
59
|
@secondaryColor : @pineGreen;
|
|
60
|
+
@tertiaryColor : @deepBlue;
|
|
60
61
|
|
|
61
62
|
@lightPrimaryColor : @mediumPersianBlue;
|
|
62
63
|
@lightSecondaryColor : @darkCyan;
|
|
@@ -71,12 +72,12 @@
|
|
|
71
72
|
@headerLineHeight : 1.25;
|
|
72
73
|
@headerFontWeight : 700;
|
|
73
74
|
|
|
74
|
-
@h1 : unit((48 /
|
|
75
|
-
@h2 : unit((40 /
|
|
76
|
-
@h3 : unit((36 /
|
|
77
|
-
@h4 : unit((24 /
|
|
78
|
-
@h5 : unit((20 /
|
|
79
|
-
@h6 : unit((18 /
|
|
75
|
+
@h1 : unit((48 / @fontSize), rem);
|
|
76
|
+
@h2 : unit((40 / @fontSize), rem);
|
|
77
|
+
@h3 : unit((36 / @fontSize), rem);
|
|
78
|
+
@h4 : unit((24 / @fontSize), rem);
|
|
79
|
+
@h5 : unit((20 / @fontSize), rem);
|
|
80
|
+
@h6 : unit((18 / @fontSize), rem);
|
|
80
81
|
|
|
81
82
|
/*--------------
|
|
82
83
|
Form Input
|
|
@@ -750,6 +751,15 @@
|
|
|
750
751
|
@62px : unit( (62 / @emSize), rem);
|
|
751
752
|
@63px : unit( (63 / @emSize), rem);
|
|
752
753
|
@64px : unit( (64 / @emSize), rem);
|
|
754
|
+
// extra sizes
|
|
755
|
+
@68px : unit( (68 / @emSize), em);
|
|
756
|
+
@72px : unit( (72 / @emSize), em);
|
|
757
|
+
@76px : unit( (76 / @emSize), em);
|
|
758
|
+
@80px : unit( (80 / @emSize), rem);
|
|
759
|
+
@96px : unit( (96 / @emSize), rem);
|
|
760
|
+
@112px : unit( (112 / @emSize), rem);
|
|
761
|
+
@128px : unit( (128 / @emSize), rem);
|
|
762
|
+
@140px : unit( (140 / @emSize), rem);
|
|
753
763
|
|
|
754
764
|
@relative1px : unit( (1 / @emSize), em);
|
|
755
765
|
@relative2px : unit( (2 / @emSize), em);
|
|
@@ -815,6 +825,15 @@
|
|
|
815
825
|
@relative62px : unit( (62 / @emSize), em);
|
|
816
826
|
@relative63px : unit( (63 / @emSize), em);
|
|
817
827
|
@relative64px : unit( (64 / @emSize), em);
|
|
828
|
+
// extra sizes
|
|
829
|
+
@relative68px : unit( (68 / @emSize), em);
|
|
830
|
+
@relative72px : unit( (72 / @emSize), em);
|
|
831
|
+
@relative76px : unit( (76 / @emSize), em);
|
|
832
|
+
@relative80px : unit( (80 / @emSize), em);
|
|
833
|
+
@relative96px : unit( (96 / @emSize), em);
|
|
834
|
+
@relative112px : unit( (112 / @emSize), em);
|
|
835
|
+
@relative128px : unit( (128 / @emSize), em);
|
|
836
|
+
@relative140px : unit( (140 / @emSize), em);
|
|
818
837
|
|
|
819
838
|
/* Columns */
|
|
820
839
|
@oneMobile : (1 / @mobileColumns * 100%);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Color utilities
|
|
2
|
+
.color-fg-primary { color: @primaryColor !important; }
|
|
3
|
+
.color-fg-secondary { color: @secondaryColor !important; }
|
|
4
|
+
.color-fg-tertiary { color: @tertiaryColor !important; }
|
|
5
|
+
.color-fg-white { color: @white !important; }
|
|
6
|
+
|
|
7
|
+
.color-bg-primary { background-color: @primaryColor !important; }
|
|
8
|
+
.color-bg-secondary { background-color: @secondaryColor !important; }
|
|
9
|
+
.color-bg-tertiary { background-color: @tertiaryColor !important; }
|
|
10
|
+
.color-bg-grey { background-color: #F9F9F9 !important; }
|
|
11
|
+
|
|
12
|
+
// Display utilities
|
|
13
|
+
.d-flex { display: flex !important; }
|
|
14
|
+
.flex-items-start { align-items: flex-start !important; }
|
|
15
|
+
.flex-items-end { align-items: flex-end !important; }
|
|
16
|
+
.flex-items-center { align-items: center !important; }
|
|
17
|
+
|
|
18
|
+
// Align text utilities
|
|
19
|
+
.text-left { text-align: left !important; }
|
|
20
|
+
.text-center { text-align: center !important;}
|
|
21
|
+
.text-right { text-align: right !important; }
|
|
22
|
+
|
|
23
|
+
//Quotes utilities
|
|
24
|
+
.quoted::before {
|
|
25
|
+
content: "\ec51";
|
|
26
|
+
font-family: 'remixicon' !important;
|
|
27
|
+
}
|
|
28
|
+
.quoted::after {
|
|
29
|
+
content: "\ec52";
|
|
30
|
+
font-family: 'remixicon' !important;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@border-size-0: 0px;
|
|
2
|
+
@border-size-1: 1px;
|
|
3
|
+
@border-size-2: 2px;
|
|
4
|
+
@border-size-3: 3px;
|
|
5
|
+
@border-size-4: 5px;
|
|
6
|
+
@border-size-5: 10px;
|
|
7
|
+
@radius-0: 0px;
|
|
8
|
+
@radius-1: 2px;
|
|
9
|
+
@radius-2: 5px;
|
|
10
|
+
@radius-3: 1rem;
|
|
11
|
+
@radius-4: 2rem;
|
|
12
|
+
@radius-5: 4rem;
|
|
13
|
+
@radius-6: 8rem;
|
|
14
|
+
@radius-round: 1e5px;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@brown-0: #FFF6EC;
|
|
2
|
+
@brown-1: #FFEDD8;
|
|
3
|
+
@brown-2: #E7BC91;
|
|
4
|
+
@brown-3: #BC8A5F;
|
|
5
|
+
@brown-4: #8B5E34;
|
|
6
|
+
@brown-5: #603808;
|
|
7
|
+
@brown-6: #3D2201;
|
|
8
|
+
|
|
9
|
+
@purple-0: #EFEBF2;
|
|
10
|
+
@purple-1: #DFD6E7;
|
|
11
|
+
@purple-2: #BEADCE;
|
|
12
|
+
@purple-3: #9E84B6;
|
|
13
|
+
@purple-4: #7D5B9D;
|
|
14
|
+
@purple-5: #5C3285;
|
|
15
|
+
@purple-6: #3C096C;
|
|
16
|
+
|
|
17
|
+
@red-0: #FBEEF8;
|
|
18
|
+
@red-1: #F6DDF0;
|
|
19
|
+
@red-2: #E7B2C0;
|
|
20
|
+
@red-3: #D78890;
|
|
21
|
+
@red-4: #C65B59;
|
|
22
|
+
@red-5: #B83230;
|
|
23
|
+
@red-6: #5C1918;
|
|
24
|
+
|
|
25
|
+
@green-0: #C8FFF8;
|
|
26
|
+
@green-1: #85FFF1;
|
|
27
|
+
@green-2: #00F5D8;
|
|
28
|
+
@green-3: #00CCB4;
|
|
29
|
+
@green-4: #00A390;
|
|
30
|
+
@green-5: #007B6C;
|
|
31
|
+
@green-6: #005248;
|
|
32
|
+
|
|
33
|
+
@yellow-0: #FEF6CD;
|
|
34
|
+
@yellow-1: #FBEC9B;
|
|
35
|
+
@yellow-2: #FAD936;
|
|
36
|
+
@yellow-3: #FAC50D;
|
|
37
|
+
@yellow-4: #FDAF20;
|
|
38
|
+
@yellow-5: #FF9933;
|
|
39
|
+
@yellow-6: #E56B38;
|
|
40
|
+
|
|
41
|
+
@blue-0: #A0D7FF;
|
|
42
|
+
@blue-1: #47B3FF;
|
|
43
|
+
@blue-2: #0A99FF;
|
|
44
|
+
@blue-3: #0083E0;
|
|
45
|
+
@blue-4: #006BB8;
|
|
46
|
+
@blue-5: #004B7F;
|
|
47
|
+
@blue-6: #003052;
|
|
48
|
+
|
|
49
|
+
@blue-grey-0: #DAE8F4;
|
|
50
|
+
@blue-grey-1: #ACCAE5;
|
|
51
|
+
@blue-grey-2: #8EA6C2;
|
|
52
|
+
@blue-grey-3: #6989A5;
|
|
53
|
+
@blue-grey-4: #4C677F;
|
|
54
|
+
@blue-grey-5: #3D5265;
|
|
55
|
+
@blue-grey-6: #2E3E4C;
|
|
56
|
+
|
|
57
|
+
@grey-0: #FFFFFF;
|
|
58
|
+
@grey-1: #F9F9F9;
|
|
59
|
+
@grey-2: #E6E7E8;
|
|
60
|
+
@grey-3: #BCBEC0;
|
|
61
|
+
@grey-4: #808285;
|
|
62
|
+
@grey-5: #323232;
|
|
63
|
+
@grey-6: #000000;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
@font-letterspacing-5: .500em;
|
|
23
23
|
@font-letterspacing-6: .750em;
|
|
24
24
|
@font-letterspacing-7: 1em;
|
|
25
|
-
@font-size-00: .
|
|
26
|
-
@font-size-0: .
|
|
25
|
+
@font-size-00: .75rem;
|
|
26
|
+
@font-size-0: .875rem;
|
|
27
27
|
@font-size-1: 1rem;
|
|
28
28
|
@font-size-2: 1.1rem;
|
|
29
29
|
@font-size-3: 1.25rem;
|