@eeacms/volto-eea-design-system 0.2.1 → 0.2.2
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 +119 -1
- package/package.json +1 -1
- package/src/semantic.less +1 -5
- package/src/ui/Button/Button.stories.jsx +56 -36
- package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.jsx +14 -14
- package/src/ui/{AvatarGrid → Card/AvatarGrid}/AvatarGrid.stories.jsx +24 -21
- package/src/ui/Card/Card.stories.jsx +249 -0
- package/src/ui/Card/PublicationCard.stories.jsx +46 -0
- package/src/ui/Card/RelatedContent/RelatedContent.jsx +76 -0
- package/src/ui/Card/RelatedContent/RelatedContent.stories.jsx +313 -0
- package/src/ui/Card/RoundedCard.stories.jsx +96 -0
- package/src/ui/KeyContent/KeyContent.jsx +9 -3
- package/src/ui/KeyContent/KeyContent.stories.jsx +1 -22
- package/src/ui/Loader/Loader.stories.jsx +21 -3
- package/src/ui/Testimonial/Testimonial.jsx +9 -8
- package/src/ui/Testimonial/Testimonial.stories.jsx +14 -11
- package/src/ui/Timeline/Timeline.jsx +1 -1
- package/src/ui/Timeline/Timeline.stories.jsx +12 -12
- package/src/ui/index.js +2 -4
- package/theme/theme.config +2 -4
- package/theme/themes/eea/collections/breadcrumb.overrides +27 -19
- package/theme/themes/eea/collections/breadcrumb.variables +3 -3
- package/theme/themes/eea/collections/form.overrides +116 -0
- package/theme/themes/eea/elements/button.overrides +100 -120
- package/theme/themes/eea/elements/button.variables +20 -6
- package/theme/themes/eea/elements/label.overrides +12 -3
- package/theme/themes/eea/elements/label.variables +1 -1
- package/theme/themes/eea/elements/list.overrides +10 -0
- package/theme/themes/eea/elements/list.variables +3 -1
- package/theme/themes/eea/elements/loader.overrides +197 -0
- package/theme/themes/eea/elements/loader.variables +12 -1
- package/theme/themes/eea/elements/segment.variables +2 -2
- package/theme/themes/eea/extras/avatarGrid.less +22 -24
- package/theme/themes/eea/extras/avatarGrid.variables +4 -8
- package/theme/themes/eea/extras/banner.less +32 -41
- package/theme/themes/eea/extras/blockquote.less +6 -3
- package/theme/themes/eea/extras/footer.less +239 -241
- package/theme/themes/eea/extras/keyContent.less +18 -16
- package/theme/themes/eea/extras/keyContent.variables +13 -7
- package/theme/themes/eea/extras/main.overrides +9 -0
- package/theme/themes/eea/extras/main.variables +3 -0
- package/theme/themes/eea/extras/pullquote.less +3 -3
- package/theme/themes/eea/extras/relatedContent.less +27 -0
- package/theme/themes/eea/extras/relatedContent.variables +3 -0
- package/theme/themes/eea/extras/tagList.less +0 -1
- package/theme/themes/eea/globals/site.variables +7 -7
- package/theme/themes/eea/modules/modal.overrides +4 -0
- package/theme/themes/eea/modules/progress.variables +1 -1
- package/theme/themes/eea/modules/tab.overrides +9 -1
- package/theme/themes/eea/modules/tab.variables +2 -1
- package/theme/themes/eea/views/card.overrides +242 -25
- package/theme/themes/eea/views/card.variables +92 -8
- package/src/ui/Avatar/Avatar.jsx +0 -32
- package/src/ui/Avatar/Avatar.stories.jsx +0 -61
- package/src/ui/PublicationCard/PublicationCard.jsx +0 -27
- package/src/ui/PublicationCard/PublicationCard.stories.jsx +0 -69
- package/src/ui/RelatedContent/RelatedContent.jsx +0 -90
- package/src/ui/RelatedContent/RelatedContent.stories.jsx +0 -80
- package/theme/themes/eea/extras/avatar.less +0 -97
- package/theme/themes/eea/extras/avatar.variables +0 -34
- package/theme/themes/eea/extras/publicationCard.less +0 -62
- package/theme/themes/eea/extras/publicationCard.variables +0 -24
|
@@ -1,142 +1,130 @@
|
|
|
1
1
|
/*******************************
|
|
2
|
-
|
|
2
|
+
Pastanaga Theme Overrides
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
.ui.circular.icon.button {
|
|
6
|
+
padding: @circularButtonPadding;
|
|
7
|
+
|
|
8
|
+
.icon {
|
|
9
|
+
font-size: @circularButtonIconFontSize;
|
|
10
|
+
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
// border: @buttonBorder @backgroundColor;
|
|
20
|
-
//
|
|
21
|
-
// &:hover,
|
|
22
|
-
// &:active,
|
|
23
|
-
// &:focus {
|
|
24
|
-
// border-color: @hoverBackgroundColor;
|
|
25
|
-
// }
|
|
26
|
-
//}
|
|
27
|
-
|
|
28
|
-
/* Primary Button Border */
|
|
29
|
-
.ui.button.primary,
|
|
30
|
-
.ui.buttons.primary {
|
|
31
|
-
border: @buttonBorder @primaryButtonColor;
|
|
13
|
+
.searchbox.field > .ui.action.input > .icon.button {
|
|
14
|
+
padding-top: 0;
|
|
15
|
+
padding-right: 0;
|
|
16
|
+
background: none;
|
|
17
|
+
color: @blue;
|
|
18
|
+
line-height: 1.6;
|
|
32
19
|
|
|
33
|
-
&:hover
|
|
34
|
-
|
|
35
|
-
border: @buttonBorder @primaryColorHover;
|
|
20
|
+
&:hover {
|
|
21
|
+
background: none;
|
|
36
22
|
}
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
background: @primaryButtonBackgroundActive;
|
|
24
|
+
.icon {
|
|
25
|
+
font-weight: bold;
|
|
41
26
|
}
|
|
42
27
|
}
|
|
43
28
|
|
|
44
|
-
.ui.
|
|
45
|
-
|
|
46
|
-
border:
|
|
47
|
-
background:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/* Secondary Button */
|
|
52
|
-
.ui.button.secondary,
|
|
53
|
-
.ui.buttons.secondary {
|
|
54
|
-
border: @buttonBorder @secondaryButtonColor;
|
|
55
|
-
background-color: @secondaryButtonBackground;
|
|
56
|
-
color: @secondaryButtonColor;
|
|
29
|
+
.ui.basic.icon.button {
|
|
30
|
+
padding: 0;
|
|
31
|
+
border: 0;
|
|
32
|
+
background: transparent;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
text-align: initial;
|
|
57
35
|
|
|
58
|
-
&:hover,
|
|
59
|
-
&:active,
|
|
60
36
|
&:focus {
|
|
61
|
-
|
|
62
|
-
color: @secondaryButtonColorHover;
|
|
37
|
+
outline: none;
|
|
63
38
|
}
|
|
64
39
|
}
|
|
65
40
|
|
|
66
|
-
.ui.
|
|
67
|
-
.ui.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
41
|
+
.ui.basic.icon.primary.button,
|
|
42
|
+
.ui.basic.icon.secondary.button {
|
|
43
|
+
box-shadow: none !important;
|
|
44
|
+
|
|
45
|
+
&:hover,
|
|
46
|
+
&:active {
|
|
47
|
+
background: transparent !important;
|
|
48
|
+
box-shadow: none !important;
|
|
49
|
+
}
|
|
71
50
|
}
|
|
72
51
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
52
|
+
.ui.noborder.button {
|
|
53
|
+
padding: 0 !important;
|
|
54
|
+
border: 0;
|
|
55
|
+
background: transparent;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
text-align: initial;
|
|
78
58
|
|
|
79
|
-
&:hover,
|
|
80
|
-
&:active,
|
|
81
59
|
&:focus {
|
|
82
|
-
|
|
83
|
-
color: @japaneseIndigo;
|
|
60
|
+
outline: none;
|
|
84
61
|
}
|
|
85
62
|
}
|
|
86
63
|
|
|
87
|
-
ui.
|
|
88
|
-
|
|
89
|
-
box-shadow: none !important; // to override the important box shadow - button.less:3271
|
|
64
|
+
.ui.noborder.button:not(.icon) > .icon:not(.button):not(.dropdown) {
|
|
65
|
+
margin: 0;
|
|
90
66
|
}
|
|
91
67
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
border: @buttonBorder @actionButtonBackground;
|
|
95
|
-
background-color: @actionButtonBackground;
|
|
96
|
-
color: @actionButtonColor;
|
|
68
|
+
.ui.button.gallery {
|
|
69
|
+
background-color: transparent;
|
|
97
70
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
border: @buttonBorder @actionButtonBackgroundHover;
|
|
101
|
-
background-color: @actionButtonBackgroundHover;
|
|
71
|
+
.icon.circled {
|
|
72
|
+
margin: 0;
|
|
102
73
|
}
|
|
74
|
+
}
|
|
103
75
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
76
|
+
/*******************************
|
|
77
|
+
EEA Theme Overrides
|
|
78
|
+
*******************************/
|
|
79
|
+
// ensure circular button gets the border color of the current text color
|
|
80
|
+
// and acts as a circular button
|
|
81
|
+
.ui.circular.icon.button {
|
|
82
|
+
padding: @circularButtonPadding;
|
|
83
|
+
border-width: @circularButtonBorderWidth;
|
|
84
|
+
border-color: @circularButtonBorderColor;
|
|
85
|
+
line-height: @circularButtonLineHeight;
|
|
108
86
|
}
|
|
109
87
|
|
|
110
|
-
|
|
111
|
-
|
|
88
|
+
// toolbar yes and cancel icons go outside the button area with default line
|
|
89
|
+
// height
|
|
90
|
+
#toolbar .toolbar-content button,
|
|
91
|
+
#toolbar .toolbar button {
|
|
92
|
+
line-height: @toolbarButtonLineHeight;
|
|
93
|
+
}
|
|
112
94
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
95
|
+
// Maps, Video and Image blocks use buttons without
|
|
96
|
+
// icons, fix them in css for now
|
|
97
|
+
#page-edit .basic.button {
|
|
98
|
+
padding: 0;
|
|
99
|
+
background-color: transparent !important;
|
|
100
|
+
box-shadow: none !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// sidebar.less has original code
|
|
104
|
+
// bump z-index of sidenav btn due to itml
|
|
105
|
+
// .ui.secondary.pointing.menu:not(.vertical) overrides
|
|
106
|
+
.ui.button.full-size-sidenav-btn {
|
|
107
|
+
z-index: 1;
|
|
116
108
|
}
|
|
117
109
|
|
|
110
|
+
/* Global Button Styles */
|
|
118
111
|
/* Text Button */
|
|
119
112
|
button.ui.button.text,
|
|
120
113
|
button.ui.buttons.text,
|
|
121
114
|
p.ui.button {
|
|
122
|
-
border: none;
|
|
123
115
|
background-color: @textButtonBackground;
|
|
124
116
|
color: @primaryColor;
|
|
117
|
+
text-decoration: underline;
|
|
125
118
|
|
|
126
119
|
&:hover,
|
|
127
120
|
&:active,
|
|
128
121
|
&:focus {
|
|
129
|
-
border: none;
|
|
130
122
|
background-color: @textButtonBackground;
|
|
131
123
|
color: @primaryColorHover;
|
|
132
124
|
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.ui.circular.icon.button {
|
|
136
|
-
padding: @circularButtonPadding;
|
|
137
125
|
|
|
138
|
-
|
|
139
|
-
|
|
126
|
+
&:focus {
|
|
127
|
+
box-shadow: @textButtonFocusedBoxShadow;
|
|
140
128
|
}
|
|
141
129
|
}
|
|
142
130
|
|
|
@@ -159,6 +147,26 @@ p.ui.button {
|
|
|
159
147
|
}
|
|
160
148
|
}
|
|
161
149
|
|
|
150
|
+
/* Labeled and left and right icons on buttons */
|
|
151
|
+
.ui.button:not(.icon) > .left.icon:not(.button):not(.dropdown),
|
|
152
|
+
.ui.button:not(.icon) > .icon:not(.right) {
|
|
153
|
+
margin: @iconMargin;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Left Labeled */
|
|
157
|
+
.ui.labeled.icon.buttons > .button > .icon,
|
|
158
|
+
.ui.labeled.icon.button > .icon {
|
|
159
|
+
top: @labeledLeftTop;
|
|
160
|
+
left: @labeledLeftLeft;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* Right Labeled */
|
|
164
|
+
.ui[class*='right labeled'].icon.button > .icon {
|
|
165
|
+
top: @labeledRightTop;
|
|
166
|
+
right: @labeledRightRight;
|
|
167
|
+
left: @labeledRightLeft;
|
|
168
|
+
}
|
|
169
|
+
|
|
162
170
|
.ui.icon.left.labeled.button.search {
|
|
163
171
|
padding-left: 3.375em !important;
|
|
164
172
|
}
|
|
@@ -169,31 +177,3 @@ p.ui.button {
|
|
|
169
177
|
font-size: @searchButtonFontSize;
|
|
170
178
|
opacity: @searchButtonIconOpacity;
|
|
171
179
|
}
|
|
172
|
-
|
|
173
|
-
.searchbox.field > .ui.action.input > .icon.button {
|
|
174
|
-
padding-top: 0;
|
|
175
|
-
padding-right: 0;
|
|
176
|
-
background: none;
|
|
177
|
-
color: @blue;
|
|
178
|
-
line-height: 1.6;
|
|
179
|
-
|
|
180
|
-
&:hover {
|
|
181
|
-
background: none;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.icon {
|
|
185
|
-
font-weight: bold;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.ui.basic.button {
|
|
190
|
-
padding: 0;
|
|
191
|
-
border: 0;
|
|
192
|
-
background: transparent;
|
|
193
|
-
cursor: pointer;
|
|
194
|
-
text-align: initial;
|
|
195
|
-
|
|
196
|
-
&:focus {
|
|
197
|
-
outline: none;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
/* Text Button */
|
|
40
40
|
@textButtonBackground: transparent;
|
|
41
|
+
@textButtonFocusedBoxShadow: 0 0 0 2px @primaryColorHover inset;
|
|
41
42
|
|
|
42
43
|
/* Search Button */
|
|
43
44
|
@searchButtonBackground: transparent;
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
|
|
57
58
|
/* Button defaults to using same height as input globally */
|
|
58
59
|
@verticalPadding: @inputVerticalPadding;
|
|
59
|
-
@horizontalPadding: 1.
|
|
60
|
+
@horizontalPadding: 1.75em;
|
|
60
61
|
|
|
61
62
|
/* Text */
|
|
62
63
|
@textTransform: none;
|
|
@@ -92,8 +93,8 @@
|
|
|
92
93
|
@iconTransition: opacity @defaultDuration @defaultEasing;
|
|
93
94
|
@iconVerticalAlign: '';
|
|
94
95
|
|
|
95
|
-
@iconMargin:
|
|
96
|
-
@rightIconMargin:
|
|
96
|
+
@iconMargin: 0 @iconDistance 0 -(@iconDistance / 2); // 0 means there is no margin between the icon and the button
|
|
97
|
+
@rightIconMargin: 0 -(@iconDistance / 2) 0 @iconDistance;
|
|
97
98
|
|
|
98
99
|
/* Loader */
|
|
99
100
|
@invertedLoaderFillColor: rgba(0, 0, 0, 0.15);
|
|
@@ -213,11 +214,18 @@
|
|
|
213
214
|
@labeledLabelBorderOffset: -@borderBoxShadowWidth;
|
|
214
215
|
@labeledTagLabelSize: 1.85em; /* hypotenuse of triangle */
|
|
215
216
|
@labeledIconMargin: 0em;
|
|
217
|
+
/* Labeled left */
|
|
218
|
+
@labeledLeftTop: 0;
|
|
219
|
+
@labeledLeftLeft: 0.85em;
|
|
220
|
+
/* Labeled Right */
|
|
221
|
+
@labeledRightTop: 0;
|
|
222
|
+
@labeledRightLeft: auto;
|
|
223
|
+
@labeledRightRight: 0.85em;
|
|
216
224
|
|
|
217
225
|
/* Labeled Icon */
|
|
218
226
|
@labeledIconWidth: 1em + (@verticalPadding * 2);
|
|
219
227
|
@labeledIconBackgroundColor: none;
|
|
220
|
-
@labeledIconPadding: (@horizontalPadding + @labeledIconWidth);
|
|
228
|
+
@labeledIconPadding: 3em; //(@horizontalPadding + @labeledIconWidth);
|
|
221
229
|
@labeledIconBorder: transparent;
|
|
222
230
|
@labeledIconColor: '';
|
|
223
231
|
|
|
@@ -292,8 +300,11 @@
|
|
|
292
300
|
@basicGroupBoxShadow: none;
|
|
293
301
|
|
|
294
302
|
/* Circular */
|
|
295
|
-
@
|
|
296
|
-
@
|
|
303
|
+
@circularButtonBorderWidth: 2px;
|
|
304
|
+
@circularButtonBorderColor: currentColor;
|
|
305
|
+
@circularButtonPadding: 0.25em;
|
|
306
|
+
@circularButtonIconFontSize: 1.375em;
|
|
307
|
+
@circularButtonLineHeight: 1;
|
|
297
308
|
|
|
298
309
|
/*-------------------
|
|
299
310
|
Variations
|
|
@@ -403,3 +414,6 @@
|
|
|
403
414
|
@animationEasing: ease;
|
|
404
415
|
@fadeScaleHigh: 1.5;
|
|
405
416
|
@fadeScaleLow: 0.75;
|
|
417
|
+
|
|
418
|
+
/* Pastanaga Toolbar Button */
|
|
419
|
+
@toolbarButtonLineHeight: 0.75;
|
|
@@ -20,30 +20,39 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// Custom variations and combinations in slate
|
|
23
|
-
.ui.label.medium,
|
|
23
|
+
.ui.label.medium,
|
|
24
|
+
.ui.label.high,
|
|
25
|
+
.ui.label.highlight {
|
|
24
26
|
a {
|
|
25
27
|
color: @color;
|
|
26
28
|
opacity: @labelOpacity;
|
|
27
29
|
text-decoration: @labelTextDecoration;
|
|
30
|
+
|
|
28
31
|
&:hover {
|
|
29
32
|
text-decoration: @labelNoTextDecoration;
|
|
30
33
|
}
|
|
31
34
|
}
|
|
35
|
+
|
|
32
36
|
.slate-editor-link {
|
|
33
37
|
color: @color;
|
|
34
38
|
text-decoration: @labelTextDecoration;
|
|
35
39
|
}
|
|
40
|
+
|
|
36
41
|
span[aria-describedby='footnote-label'] {
|
|
37
42
|
color: @color;
|
|
38
43
|
}
|
|
39
|
-
|
|
44
|
+
|
|
45
|
+
.footnote-edit-node,
|
|
46
|
+
.citation-item {
|
|
40
47
|
background: @labelNoBackground;
|
|
41
48
|
|
|
42
49
|
&::after {
|
|
43
50
|
color: @color;
|
|
44
51
|
}
|
|
45
52
|
}
|
|
46
|
-
|
|
53
|
+
|
|
54
|
+
.metadata.mention.edit,
|
|
55
|
+
.metadata.mention.empty {
|
|
47
56
|
background: @labelNoBackground;
|
|
48
57
|
}
|
|
49
58
|
}
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
@lowImportanceBackground: @deepBlue;
|
|
157
157
|
@mediumImportanceBackground: #346F83;
|
|
158
158
|
@highImportanceBackground: #005293;
|
|
159
|
-
@highlightImportanceBackground:
|
|
159
|
+
@highlightImportanceBackground: @secondaryColor;
|
|
160
160
|
|
|
161
161
|
@redTextColor: @white;
|
|
162
162
|
@orangeTextColor: @white;
|
|
@@ -14,6 +14,10 @@ div.ui.list > .item .description {
|
|
|
14
14
|
margin: @itemDescriptionMarginTop;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
dl dd {
|
|
18
|
+
margin-inline-start: @descriptionMarginInlineStart;
|
|
19
|
+
}
|
|
20
|
+
|
|
17
21
|
/* Unordered list */
|
|
18
22
|
.ui.bulleted.list .list > .item:before,
|
|
19
23
|
.ui.bulleted.list .list > a.item:before,
|
|
@@ -23,6 +27,12 @@ ul.ui.list li:before {
|
|
|
23
27
|
font-size: @bulletSize;
|
|
24
28
|
}
|
|
25
29
|
|
|
30
|
+
// Third layer margin fix
|
|
26
31
|
.ui.ordered.list .list .list > .item:before {
|
|
27
32
|
margin-left: @orderedGrandchildCountOffset;
|
|
28
33
|
}
|
|
34
|
+
|
|
35
|
+
// Fourth layer margin fix
|
|
36
|
+
.ui.ordered.list .list .list .list > .item:before {
|
|
37
|
+
margin-left: @orderedGreatGrandchildCountOffset;
|
|
38
|
+
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
@itemLineHeight: @relativeBig;
|
|
23
23
|
|
|
24
24
|
/* Sub List */
|
|
25
|
-
@childListPadding: 0.
|
|
25
|
+
@childListPadding: 0.25em 0em 0.25em 0.5em;
|
|
26
26
|
@childListIndent: 1em;
|
|
27
27
|
|
|
28
28
|
/* Sub List Item */
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
/* Description */
|
|
64
64
|
@itemDescriptionColor: rgba(0, 0, 0, 0.7);
|
|
65
65
|
@itemDescriptionMarginTop: 0.5rem 0;
|
|
66
|
+
@descriptionMarginInlineStart: 0;
|
|
66
67
|
|
|
67
68
|
/* Link */
|
|
68
69
|
@itemLinkColor: @linkColor;
|
|
@@ -190,6 +191,7 @@
|
|
|
190
191
|
@orderedChildCountDistance: 1em;
|
|
191
192
|
@orderedChildCountOffset: -2em;
|
|
192
193
|
@orderedGrandchildCountOffset: -2.8em;
|
|
194
|
+
@orderedGreatGrandchildCountOffset: -3.8em;
|
|
193
195
|
|
|
194
196
|
@orderedInvertedCountColor: @invertedLightTextColor;
|
|
195
197
|
|
|
@@ -1,3 +1,200 @@
|
|
|
1
1
|
/*******************************
|
|
2
2
|
Theme Overrides
|
|
3
3
|
*******************************/
|
|
4
|
+
|
|
5
|
+
.ui.loader.eea-loader:after,
|
|
6
|
+
.ui.loader.eea-loader:before {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ui.text.loader.eea-loader {
|
|
11
|
+
display: flex;
|
|
12
|
+
min-width: @eeaLoaderMinWidth;
|
|
13
|
+
max-width: @eeaLoaderMaxWidth;
|
|
14
|
+
align-items: end;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
padding: @eeaLoaderPadding;
|
|
17
|
+
animation: loaderPulse ease-out 2.5s infinite;
|
|
18
|
+
background: @eeaLoaderBackground;
|
|
19
|
+
background-image: linear-gradient(
|
|
20
|
+
rgba(255, 255, 255, 0),
|
|
21
|
+
rgba(255, 255, 255, 0)
|
|
22
|
+
),
|
|
23
|
+
url('../assets/images/loaderImage.png');
|
|
24
|
+
background-position: @eeaLoaderBackgroundPosition;
|
|
25
|
+
background-repeat: no-repeat;
|
|
26
|
+
border-radius: @eeaLoaderBorderRadius;
|
|
27
|
+
color: @eeaLoaderTextColor;
|
|
28
|
+
font-size: @bigFontSize;
|
|
29
|
+
font-weight: @eeaLoaderTextFontWeight;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes loaderPulse {
|
|
33
|
+
0% {
|
|
34
|
+
background-image: linear-gradient(
|
|
35
|
+
rgba(255, 255, 255, 0),
|
|
36
|
+
rgba(255, 255, 255, 0)
|
|
37
|
+
),
|
|
38
|
+
url('../assets/images/loaderImage.png');
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
5% {
|
|
42
|
+
background-image: linear-gradient(
|
|
43
|
+
rgba(255, 255, 255, 0),
|
|
44
|
+
rgba(255, 255, 255, 0)
|
|
45
|
+
),
|
|
46
|
+
url('../assets/images/loaderImage.png');
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
10% {
|
|
50
|
+
background-image: linear-gradient(
|
|
51
|
+
rgba(255, 255, 255, 0),
|
|
52
|
+
rgba(255, 255, 255, 0)
|
|
53
|
+
),
|
|
54
|
+
url('../assets/images/loaderImage.png');
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
15% {
|
|
58
|
+
background-image: linear-gradient(
|
|
59
|
+
rgba(255, 255, 255, 0.1),
|
|
60
|
+
rgba(255, 255, 255, 0.1)
|
|
61
|
+
),
|
|
62
|
+
url('../assets/images/loaderImage.png');
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
20% {
|
|
66
|
+
background-image: linear-gradient(
|
|
67
|
+
rgba(255, 255, 255, 0.2),
|
|
68
|
+
rgba(255, 255, 255, 0.2)
|
|
69
|
+
),
|
|
70
|
+
url('../assets/images/loaderImage.png');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
25% {
|
|
74
|
+
background-image: linear-gradient(
|
|
75
|
+
rgba(255, 255, 255, 0.3),
|
|
76
|
+
rgba(255, 255, 255, 0.3)
|
|
77
|
+
),
|
|
78
|
+
url('../assets/images/loaderImage.png');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
30% {
|
|
82
|
+
background-image: linear-gradient(
|
|
83
|
+
rgba(255, 255, 255, 0.4),
|
|
84
|
+
rgba(255, 255, 255, 0.4)
|
|
85
|
+
),
|
|
86
|
+
url('../assets/images/loaderImage.png');
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
35% {
|
|
90
|
+
background-image: linear-gradient(
|
|
91
|
+
rgba(255, 255, 255, 0.5),
|
|
92
|
+
rgba(255, 255, 255, 0.5)
|
|
93
|
+
),
|
|
94
|
+
url('../assets/images/loaderImage.png');
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
40% {
|
|
98
|
+
background-image: linear-gradient(
|
|
99
|
+
rgba(255, 255, 255, 0.6),
|
|
100
|
+
rgba(255, 255, 255, 0.6)
|
|
101
|
+
),
|
|
102
|
+
url('../assets/images/loaderImage.png');
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
45% {
|
|
106
|
+
background-image: linear-gradient(
|
|
107
|
+
rgba(255, 255, 255, 0.7),
|
|
108
|
+
rgba(255, 255, 255, 0.7)
|
|
109
|
+
),
|
|
110
|
+
url('../assets/images/loaderImage.png');
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
50% {
|
|
114
|
+
background-image: linear-gradient(
|
|
115
|
+
rgba(255, 255, 255, 0.75),
|
|
116
|
+
rgba(255, 255, 255, 0.8)
|
|
117
|
+
),
|
|
118
|
+
url('../assets/images/loaderImage.png');
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
55% {
|
|
122
|
+
background-image: linear-gradient(
|
|
123
|
+
rgba(255, 255, 255, 0.7),
|
|
124
|
+
rgba(255, 255, 255, 0.7)
|
|
125
|
+
),
|
|
126
|
+
url('../assets/images/loaderImage.png');
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
60% {
|
|
130
|
+
background-image: linear-gradient(
|
|
131
|
+
rgba(255, 255, 255, 0.6),
|
|
132
|
+
rgba(255, 255, 255, 0.6)
|
|
133
|
+
),
|
|
134
|
+
url('../assets/images/loaderImage.png');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
65% {
|
|
138
|
+
background-image: linear-gradient(
|
|
139
|
+
rgba(255, 255, 255, 0.5),
|
|
140
|
+
rgba(255, 255, 255, 0.5)
|
|
141
|
+
),
|
|
142
|
+
url('../assets/images/loaderImage.png');
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
70% {
|
|
146
|
+
background-image: linear-gradient(
|
|
147
|
+
rgba(255, 255, 255, 0.4),
|
|
148
|
+
rgba(255, 255, 255, 0.4)
|
|
149
|
+
),
|
|
150
|
+
url('../assets/images/loaderImage.png');
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
75% {
|
|
154
|
+
background-image: linear-gradient(
|
|
155
|
+
rgba(255, 255, 255, 0.3),
|
|
156
|
+
rgba(255, 255, 255, 0.3)
|
|
157
|
+
),
|
|
158
|
+
url('../assets/images/loaderImage.png');
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
80% {
|
|
162
|
+
background-image: linear-gradient(
|
|
163
|
+
rgba(255, 255, 255, 0.2),
|
|
164
|
+
rgba(255, 255, 255, 0.2)
|
|
165
|
+
),
|
|
166
|
+
url('../assets/images/loaderImage.png');
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
85% {
|
|
170
|
+
background-image: linear-gradient(
|
|
171
|
+
rgba(255, 255, 255, 0.1),
|
|
172
|
+
rgba(255, 255, 255, 0.1)
|
|
173
|
+
),
|
|
174
|
+
url('../assets/images/loaderImage.png');
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
90% {
|
|
178
|
+
background-image: linear-gradient(
|
|
179
|
+
rgba(255, 255, 255, 0),
|
|
180
|
+
rgba(255, 255, 255, 0)
|
|
181
|
+
),
|
|
182
|
+
url('../assets/images/loaderImage.png');
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
95% {
|
|
186
|
+
background-image: linear-gradient(
|
|
187
|
+
rgba(255, 255, 255, 0),
|
|
188
|
+
rgba(255, 255, 255, 0)
|
|
189
|
+
),
|
|
190
|
+
url('../assets/images/loaderImage.png');
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
100% {
|
|
194
|
+
background-image: linear-gradient(
|
|
195
|
+
rgba(255, 255, 255, 0),
|
|
196
|
+
rgba(255, 255, 255, 0)
|
|
197
|
+
),
|
|
198
|
+
url('../assets/images/loaderImage.png');
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
@loaderTextColor: @textColor;
|
|
30
30
|
@invertedLoaderTextColor: @invertedTextColor;
|
|
31
31
|
|
|
32
|
-
|
|
33
32
|
/*-------------------
|
|
34
33
|
States
|
|
35
34
|
--------------------*/
|
|
@@ -44,6 +43,18 @@
|
|
|
44
43
|
@inlineVerticalAlign: middle;
|
|
45
44
|
@inlineMargin: 0em;
|
|
46
45
|
|
|
46
|
+
/*-------------------
|
|
47
|
+
EEA Loader
|
|
48
|
+
--------------------*/
|
|
49
|
+
@eeaLoaderPadding: 8.5rem 2rem 1.5rem 2rem;
|
|
50
|
+
@eeaLoaderMinWidth: 190px;
|
|
51
|
+
@eeaLoaderMaxWidth: 210px;
|
|
52
|
+
@eeaLoaderBackground: @white;
|
|
53
|
+
@eeaLoaderBackgroundPosition: center 1.5rem;
|
|
54
|
+
@eeaLoaderBorderRadius: 4.5rem 2rem 0 2rem;
|
|
55
|
+
@eeaLoaderTextColor: @primaryColor;
|
|
56
|
+
@eeaLoaderTextFontWeight: @bold;
|
|
57
|
+
|
|
47
58
|
/* Exact Sizes (Avoids Rounding Errors) */
|
|
48
59
|
@mini : @14px;
|
|
49
60
|
@tiny : @16px;
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
@coloredBorderSize: 2px;
|
|
128
128
|
|
|
129
129
|
/* Ordinality */
|
|
130
|
-
@secondaryBackground: @
|
|
131
|
-
@secondaryColor: @
|
|
130
|
+
@secondaryBackground: @tealBackground;
|
|
131
|
+
@secondaryColor: @textColor;
|
|
132
132
|
|
|
133
133
|
@tertiaryBackground: @midWhite;
|
|
134
134
|
@tertiaryColor: @mutedTextColor;
|