@eeacms/volto-eea-design-system 0.2.4 → 0.4.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 +115 -1
- package/package.json +3 -2
- package/src/semantic.less +7 -3
- package/src/ui/Callout/Callout.jsx +12 -0
- package/src/ui/Callout/Callout.stories.jsx +42 -0
- package/src/ui/Card/Card.stories.jsx +185 -5
- package/src/ui/{Pullquote/Pullquote.jsx → Quote/Quote.jsx} +9 -9
- package/src/ui/Quote/Quote.stories.jsx +93 -0
- package/src/ui/{Testimonial → Quote/Testimonial}/Testimonial.jsx +10 -11
- package/src/ui/{Testimonial → Quote/Testimonial}/Testimonial.stories.jsx +17 -8
- package/src/ui/index.js +3 -3
- package/theme/theme.config +1 -1
- 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 +48 -0
- package/theme/themes/eea/collections/table.variables +16 -0
- 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/avatar.variables +28 -0
- package/theme/themes/eea/extras/callout.less +43 -0
- package/theme/themes/eea/extras/callout.variables +19 -0
- package/theme/themes/eea/extras/main.variables +1 -1
- package/theme/themes/eea/extras/{pullquote.less → quote.less} +20 -20
- package/theme/themes/eea/extras/quote.variables +34 -0
- package/theme/themes/eea/extras/testimonial.less +46 -6
- package/theme/themes/eea/extras/testimonial.variables +14 -6
- package/theme/themes/eea/globals/site.overrides +2 -0
- package/theme/themes/eea/globals/site.variables +27 -6
- package/theme/themes/eea/globals/utilities.less +31 -0
- package/theme/themes/eea/modules/accordion.variables +2 -2
- 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 +38 -0
- 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 -0
- package/theme/themes/eea/tokens/tokens.less +7 -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
- package/src/ui/Blockquote/Blockquote.jsx +0 -16
- package/src/ui/Blockquote/Blockquote.stories.jsx +0 -48
- package/src/ui/Pullquote/Pullquote.stories.jsx +0 -101
- package/theme/themes/eea/extras/blockquote.less +0 -92
- package/theme/themes/eea/extras/blockquote.variables +0 -35
- package/theme/themes/eea/extras/pullquote.variables +0 -34
|
@@ -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,28 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Avatar
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Global */
|
|
6
|
+
@avatarWidth : 100%;
|
|
7
|
+
@avatarWrapperWidth : 100%;
|
|
8
|
+
@avatarWrapperGap : @largeGap;
|
|
9
|
+
@avatarContentWrapperWidth : 100%;
|
|
10
|
+
@avatarImageBorderRadius : 50%;
|
|
11
|
+
@avatarContentTitleMarginBottom : 0;
|
|
12
|
+
@avatarImageWrapperWidth : 100%;
|
|
13
|
+
@avatarImageBackgroundSize : cover;
|
|
14
|
+
@avatarContentTitleFontWeight : @bold;
|
|
15
|
+
@avatarContentTitleFontSize : 1.25rem;
|
|
16
|
+
|
|
17
|
+
/* Big */
|
|
18
|
+
@avatarBigImageHeight : 173px;
|
|
19
|
+
@avatarBigImageWidth : 173px;
|
|
20
|
+
@avatarBigMetadataFontSize : 1.25rem;
|
|
21
|
+
@avatarBigMetadataFontWeight : @normal;
|
|
22
|
+
|
|
23
|
+
/* Small */
|
|
24
|
+
@avatarSmallImageHeight : 135px;
|
|
25
|
+
@avatarSmallImageWidth : 135px;
|
|
26
|
+
@avatarSmallTitleColor : @secondaryColor;
|
|
27
|
+
@avatarSmallMetadataFontSize : 1rem;
|
|
28
|
+
@avatarSmallMetadataFontWeight : 300;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'callout';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*******************************
|
|
7
|
+
Callout
|
|
8
|
+
*******************************/
|
|
9
|
+
|
|
10
|
+
p.callout,
|
|
11
|
+
blockquote.callout,
|
|
12
|
+
.eea.callout {
|
|
13
|
+
border: @calloutBorder;
|
|
14
|
+
box-shadow: @calloutBoxShadow;
|
|
15
|
+
border-radius: @calloutBorderRadius;
|
|
16
|
+
padding-top: @calloutPadding;
|
|
17
|
+
padding-bottom: @calloutPadding;
|
|
18
|
+
border-left: @mobileCalloutBorderLeft;
|
|
19
|
+
border-right: @calloutBorder;
|
|
20
|
+
border-top: @calloutBorder;
|
|
21
|
+
border-bottom: @calloutBorder;
|
|
22
|
+
color: @quoteColor;
|
|
23
|
+
font-size: @mobileQuoteFontSize;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
|
27
|
+
p.callout,
|
|
28
|
+
blockquote.callout,
|
|
29
|
+
.eea.callout {
|
|
30
|
+
border-left: @tabletCalloutBorderLeft;
|
|
31
|
+
font-size: @tabletQuoteFontSize;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
|
36
|
+
p.callout,
|
|
37
|
+
blockquote.callout,
|
|
38
|
+
.eea.callout {
|
|
39
|
+
font-size: @computerQuoteFontSize;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.loadUIOverrides();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Callout
|
|
3
|
+
*******************************/
|
|
4
|
+
/* Body */
|
|
5
|
+
@mobileCalloutBorderLeft : @5px solid @secondaryColor;
|
|
6
|
+
@tabletCalloutBorderLeft : @10px solid @secondaryColor;
|
|
7
|
+
|
|
8
|
+
/* Text */
|
|
9
|
+
@quoteColor : @japaneseIndigo;
|
|
10
|
+
@mobileQuoteFontSize : 1rem;
|
|
11
|
+
@tabletQuoteFontSize : @h6;
|
|
12
|
+
@computerQuoteFontSize : @h5;
|
|
13
|
+
@quoteFontWeight : 400;
|
|
14
|
+
|
|
15
|
+
/* Layout */
|
|
16
|
+
@calloutBorder : none;
|
|
17
|
+
@calloutBoxShadow : none;
|
|
18
|
+
@calloutBorderRadius : 0;
|
|
19
|
+
@calloutPadding : 0;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
@type: 'extra';
|
|
2
|
-
@element: '
|
|
2
|
+
@element: 'quote';
|
|
3
3
|
|
|
4
4
|
@import (multiple) '../../theme.config';
|
|
5
5
|
|
|
6
6
|
/*******************************
|
|
7
|
-
|
|
7
|
+
Quote
|
|
8
8
|
*******************************/
|
|
9
9
|
|
|
10
|
-
.eea.
|
|
11
|
-
padding: @
|
|
12
|
-
margin: @
|
|
10
|
+
.eea.quote {
|
|
11
|
+
padding: @quotePadding;
|
|
12
|
+
margin: @quoteMargin;
|
|
13
13
|
word-break: @contentWordBreak;
|
|
14
14
|
hyphens: @contentWordBreakHyphens;
|
|
15
15
|
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
40
|
-
color: @
|
|
41
|
-
text-align: @
|
|
42
|
-
font-weight: @
|
|
43
|
-
font-size: @
|
|
44
|
-
margin: @
|
|
39
|
+
.source {
|
|
40
|
+
color: @sourceTextColor;
|
|
41
|
+
text-align: @sourceTextAlign;
|
|
42
|
+
font-weight: @sourceFontWeight;
|
|
43
|
+
font-size: @sourceFontSize;
|
|
44
|
+
margin: @sourceMargin;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
48
|
-
text-align: @
|
|
49
|
-
font-weight: @
|
|
50
|
-
font-size: @
|
|
47
|
+
.info {
|
|
48
|
+
text-align: @extraTextAlign;
|
|
49
|
+
font-weight: @extraFontWeight;
|
|
50
|
+
font-size: @extraFontSize;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
@media only screen and (min-width: @tabletBreakpoint) {
|
|
55
|
-
.eea.
|
|
55
|
+
.eea.quote {
|
|
56
56
|
.quotes.wrapper {
|
|
57
57
|
.quote {
|
|
58
58
|
padding: @tabletQuotePadding;
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
.eea.
|
|
66
|
+
.eea.quote.left {
|
|
67
67
|
width: @maxWidthOnFloat;
|
|
68
|
-
padding: @
|
|
68
|
+
padding: @quoteFloatLeftPadding;
|
|
69
69
|
float: left;
|
|
70
70
|
}
|
|
71
|
-
.eea.
|
|
71
|
+
.eea.quote.right {
|
|
72
72
|
width: @maxWidthOnFloat;
|
|
73
|
-
padding: @
|
|
73
|
+
padding: @quoteFloatRightPadding;
|
|
74
74
|
float: right;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Quote
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Body */
|
|
6
|
+
@quotePadding : @largeGap 0;
|
|
7
|
+
@quoteFloatLeftPadding : @largeGap @hugeGap @largeGap 0;
|
|
8
|
+
@quoteFloatRightPadding : @largeGap 0 @largeGap @hugeGap;
|
|
9
|
+
@quoteMargin : 0;
|
|
10
|
+
@maxWidthOnFloat : 50%;
|
|
11
|
+
@contentWordBreak : break-word;
|
|
12
|
+
@contentWordBreakHyphens : manual;
|
|
13
|
+
|
|
14
|
+
/* Quote paragraph */
|
|
15
|
+
@mobileQuotePadding : 0;
|
|
16
|
+
@tabletQuotePadding : 0.5rem 0 1rem;
|
|
17
|
+
|
|
18
|
+
/* Source */
|
|
19
|
+
@sourceTextColor : @secondaryColor;
|
|
20
|
+
@sourceTextAlign : right;
|
|
21
|
+
@sourceFontWeight : @bold;
|
|
22
|
+
@sourceFontSize : 1.25rem;
|
|
23
|
+
@sourceMargin : 0;
|
|
24
|
+
|
|
25
|
+
/* Extra info */
|
|
26
|
+
@extraTextAlign : right;
|
|
27
|
+
@extraFontWeight : @normal;
|
|
28
|
+
@extraFontSize : 1rem;
|
|
29
|
+
|
|
30
|
+
/* Icon */
|
|
31
|
+
@mobileQuoteIconSize : 2rem;
|
|
32
|
+
@tabletQuoteIconSize : 3rem;
|
|
33
|
+
@quoteIconColor : @secondaryColor;
|
|
34
|
+
@quoteDownIconFloat : right;
|
|
@@ -8,8 +8,15 @@
|
|
|
8
8
|
--------------------*/
|
|
9
9
|
|
|
10
10
|
.eea.testimonial {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: @testimonialGap;
|
|
11
14
|
width: @testimonialWidth;
|
|
12
15
|
|
|
16
|
+
.eea.pullquote {
|
|
17
|
+
padding: 1.25rem 0 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
13
20
|
.avatar-wrapper {
|
|
14
21
|
display: flex;
|
|
15
22
|
justify-content: center;
|
|
@@ -17,12 +24,45 @@
|
|
|
17
24
|
height: @testimonialAvatarWrapperHeight;
|
|
18
25
|
}
|
|
19
26
|
|
|
20
|
-
.
|
|
27
|
+
.ui.card.rounded {
|
|
28
|
+
flex-direction: row-reverse;
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.eea.testimonial .content h3.title {
|
|
34
|
+
margin: @testimonialContentTitleMarginVertical
|
|
35
|
+
@mobileTestimonialContentTitleMarginHorizontal;
|
|
36
|
+
font-weight: @testimonialContentTitleFontWeight;
|
|
37
|
+
color: @testimonialContentTitleColor;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.eea.testimonial .ui.grid div:first-child {
|
|
41
|
+
order: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
|
46
|
+
|
|
47
|
+
.eea.testimonial .ui.card.rounded {
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.eea.testimonial .content h3.title {
|
|
21
52
|
margin: @testimonialContentTitleMarginVertical
|
|
22
|
-
@
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
53
|
+
@tabletTestimonialContentTitleMarginHorizontal;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.eea.testimonial .ui.grid div:first-child {
|
|
57
|
+
order: 0;
|
|
27
58
|
}
|
|
28
59
|
}
|
|
60
|
+
|
|
61
|
+
// Override image default size for mobile
|
|
62
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
|
63
|
+
.eea.testimonial .ui.card.rounded img {
|
|
64
|
+
width: @mobileCardImageWidth;
|
|
65
|
+
height: @mobileCardImageHeight;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -4,10 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
@testimonialWidth : 100%;
|
|
7
|
+
@testimonialGap : @largeGap;
|
|
7
8
|
@testimonialAvatarWrapperHeight : 100%;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@
|
|
13
|
-
@
|
|
9
|
+
|
|
10
|
+
/* Pullquote */
|
|
11
|
+
|
|
12
|
+
/* Title */
|
|
13
|
+
@testimonialContentTitleMarginVertical : 0;
|
|
14
|
+
@mobileTestimonialContentTitleMarginHorizontal : 0;
|
|
15
|
+
@tabletTestimonialContentTitleMarginHorizontal : 3.125rem;
|
|
16
|
+
@testimonialContentTitleFontWeight : 500;
|
|
17
|
+
@testimonialContentTitleColor : @deepBlue;
|
|
18
|
+
|
|
19
|
+
/* Image */
|
|
20
|
+
@mobileCardImageWidth : 100px;
|
|
21
|
+
@mobileCardImageHeight : 100px;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Site Settings
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
+
@import '@eeacms/volto-eea-design-system/../theme/themes/eea/tokens/tokens';
|
|
6
|
+
|
|
5
7
|
/*-------------------
|
|
6
8
|
Fonts
|
|
7
9
|
--------------------*/
|
|
@@ -55,6 +57,7 @@
|
|
|
55
57
|
|
|
56
58
|
@primaryColor : @darkCerulean;
|
|
57
59
|
@secondaryColor : @pineGreen;
|
|
60
|
+
@tertiaryColor : @deepBlue;
|
|
58
61
|
|
|
59
62
|
@lightPrimaryColor : @mediumPersianBlue;
|
|
60
63
|
@lightSecondaryColor : @darkCyan;
|
|
@@ -69,12 +72,12 @@
|
|
|
69
72
|
@headerLineHeight : 1.25;
|
|
70
73
|
@headerFontWeight : 700;
|
|
71
74
|
|
|
72
|
-
@h1 : unit((48 /
|
|
73
|
-
@h2 : unit((40 /
|
|
74
|
-
@h3 : unit((36 /
|
|
75
|
-
@h4 : unit((24 /
|
|
76
|
-
@h5 : unit((20 /
|
|
77
|
-
@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);
|
|
78
81
|
|
|
79
82
|
/*--------------
|
|
80
83
|
Form Input
|
|
@@ -748,6 +751,15 @@
|
|
|
748
751
|
@62px : unit( (62 / @emSize), rem);
|
|
749
752
|
@63px : unit( (63 / @emSize), rem);
|
|
750
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);
|
|
751
763
|
|
|
752
764
|
@relative1px : unit( (1 / @emSize), em);
|
|
753
765
|
@relative2px : unit( (2 / @emSize), em);
|
|
@@ -813,6 +825,15 @@
|
|
|
813
825
|
@relative62px : unit( (62 / @emSize), em);
|
|
814
826
|
@relative63px : unit( (63 / @emSize), em);
|
|
815
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);
|
|
816
837
|
|
|
817
838
|
/* Columns */
|
|
818
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
|
+
}
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
|
|
100
100
|
/* Styled Title States */
|
|
101
101
|
@styledTitleHoverBackground: transparent;
|
|
102
|
-
@styledTitleHoverColor: @
|
|
103
|
-
@styledActiveTitleBackground: @
|
|
102
|
+
@styledTitleHoverColor: @activeTitleBackground;
|
|
103
|
+
@styledActiveTitleBackground: @activeTitleBackground;
|
|
104
104
|
@styledActiveTitleColor: @white;
|
|
105
105
|
|
|
106
106
|
/* Styled Child Title States */
|
|
@@ -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;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@font-weight-1: 100;
|
|
2
|
+
@font-weight-2: 200;
|
|
3
|
+
@font-weight-3: 300;
|
|
4
|
+
@font-weight-4: 400;
|
|
5
|
+
@font-weight-5: 500;
|
|
6
|
+
@font-weight-6: 600;
|
|
7
|
+
@font-weight-7: 700;
|
|
8
|
+
@font-weight-8: 800;
|
|
9
|
+
@font-weight-9: 900;
|
|
10
|
+
@font-lineheight-00: .95;
|
|
11
|
+
@font-lineheight-0: 1.1;
|
|
12
|
+
@font-lineheight-1: 1.25;
|
|
13
|
+
@font-lineheight-2: 1.375;
|
|
14
|
+
@font-lineheight-3: 1.5;
|
|
15
|
+
@font-lineheight-4: 1.75;
|
|
16
|
+
@font-lineheight-5: 2;
|
|
17
|
+
@font-letterspacing-0: -.05em;
|
|
18
|
+
@font-letterspacing-1: .025em;
|
|
19
|
+
@font-letterspacing-2: .050em;
|
|
20
|
+
@font-letterspacing-3: .075em;
|
|
21
|
+
@font-letterspacing-4: .150em;
|
|
22
|
+
@font-letterspacing-5: .500em;
|
|
23
|
+
@font-letterspacing-6: .750em;
|
|
24
|
+
@font-letterspacing-7: 1em;
|
|
25
|
+
@font-size-00: .75rem;
|
|
26
|
+
@font-size-0: .875rem;
|
|
27
|
+
@font-size-1: 1rem;
|
|
28
|
+
@font-size-2: 1.1rem;
|
|
29
|
+
@font-size-3: 1.25rem;
|
|
30
|
+
@font-size-4: 1.5rem;
|
|
31
|
+
@font-size-5: 2rem;
|
|
32
|
+
@font-size-6: 2.5rem;
|
|
33
|
+
@font-size-7: 3rem;
|
|
34
|
+
@font-size-8: 3.5rem;
|
|
35
|
+
@font-size-fluid-0: clamp(.75rem, 2vw, 1rem);
|
|
36
|
+
@font-size-fluid-1: clamp(1rem, 4vw, 1.5rem);
|
|
37
|
+
@font-size-fluid-2: clamp(1.5rem, 6vw, 2.5rem);
|
|
38
|
+
@font-size-fluid-3: clamp(2rem, 9vw, 3.5rem);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@shadow-color: 220, 3%, 15%;
|
|
2
|
+
@shadow-strength: 1%;
|
|
3
|
+
|
|
4
|
+
@shadow-0: none;
|
|
5
|
+
@shadow-1: 0 1px 2px -1px hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
6
|
+
@shadow-2:
|
|
7
|
+
0 3px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
8
|
+
0 7px 14px -5px hsla(@shadow-color, calc(@shadow-strength + 5%));
|
|
9
|
+
@shadow-3:
|
|
10
|
+
0 -1px 3px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
11
|
+
0 1px 2px -5px hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
12
|
+
0 2px 5px -5px hsla(@shadow-color, calc(@shadow-strength + 4%)),
|
|
13
|
+
0 4px 12px -5px hsla(@shadow-color, calc(@shadow-strength + 5%)),
|
|
14
|
+
0 12px 15px -5px hsla(@shadow-color, calc(@shadow-strength + 7%));
|
|
15
|
+
@shadow-4:
|
|
16
|
+
0 -2px 5px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
17
|
+
0 1px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
18
|
+
0 2px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
19
|
+
0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
|
|
20
|
+
0 9px 9px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
|
|
21
|
+
0 16px 16px -2px hsla(@shadow-color, calc(@shadow-strength + 6%));
|
|
22
|
+
@shadow-5:
|
|
23
|
+
0 -1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
24
|
+
0 2px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
25
|
+
0 5px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
26
|
+
0 10px 10px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
|
|
27
|
+
0 20px 20px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
|
|
28
|
+
0 40px 40px -2px hsla(@shadow-color, calc(@shadow-strength + 7%));
|
|
29
|
+
@shadow-6:
|
|
30
|
+
0 -1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
31
|
+
0 3px 2px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
32
|
+
0 7px 5px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
33
|
+
0 12px 10px -2px hsla(@shadow-color, calc(@shadow-strength + 4%)),
|
|
34
|
+
0 22px 18px -2px hsla(@shadow-color, calc(@shadow-strength + 5%)),
|
|
35
|
+
0 41px 33px -2px hsla(@shadow-color, calc(@shadow-strength + 6%)),
|
|
36
|
+
0 100px 80px -2px hsla(@shadow-color, calc(@shadow-strength + 7%));
|
|
37
|
+
@inner-shadow-0: inset 0 0 0 1px hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
38
|
+
@inner-shadow-1: inset 0 1px 2px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
39
|
+
@inner-shadow-2: inset 0 1px 4px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
40
|
+
@inner-shadow-3: inset 0 2px 8px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
41
|
+
@inner-shadow-4: inset 0 2px 14px 0 hsla(@shadow-color, calc(@shadow-strength + 9%));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Blob
|
|
2
|
+
@radius-blob-1: 30% 70% 70% 30% / 53% 30% 70% 47%;
|
|
3
|
+
@radius-blob-2: 53% 47% 34% 66% / 63% 46% 54% 37%;
|
|
4
|
+
@radius-blob-3: 37% 63% 56% 44% / 49% 56% 44% 51%;
|
|
5
|
+
@radius-blob-4: 63% 37% 37% 63% / 43% 37% 63% 57%;
|
|
6
|
+
@radius-blob-5: 49% 51% 48% 52% / 57% 44% 56% 43%;
|