@eeacms/volto-eea-design-system 1.17.0 → 1.18.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 +26 -0
- package/package.json +1 -1
- package/src/ui/Card/Card.stories.test.jsx +2 -6
- package/src/ui/Header/HeaderSearchPopUp.test.js +2 -1
- package/src/ui/Hero/Hero.stories.test.jsx +1 -1
- package/src/ui/Statistic/Statistic.stories.test.js +24 -0
- package/theme/themes/eea/assets/images/Footer/Extras/footer-visual.svg +1 -2065
- package/theme/themes/eea/modules/accordion.overrides +36 -11
- package/theme/themes/eea/modules/accordion.variables +2 -0
- package/theme/themes/eea/views/item.overrides +21 -0
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.ui.accordion button.title {
|
|
10
|
-
background: transparent;
|
|
11
10
|
width: 100%;
|
|
12
11
|
border: none;
|
|
12
|
+
background: transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ui.accordion {
|
|
@@ -60,7 +60,18 @@
|
|
|
60
60
|
color: @iconColor;
|
|
61
61
|
font-size: @iconFontSize;
|
|
62
62
|
line-height: @iconFontSize;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.filter {
|
|
66
|
+
.icon {
|
|
67
|
+
margin: @filterIconMargin;
|
|
68
|
+
color: var(--text-color, @filterTextColor);
|
|
69
|
+
font-size: @filterIconFontSize;
|
|
70
|
+
}
|
|
63
71
|
|
|
72
|
+
.ui.input input::placeholder {
|
|
73
|
+
color: var(--text-color, @filterTextColor);
|
|
74
|
+
}
|
|
64
75
|
}
|
|
65
76
|
}
|
|
66
77
|
|
|
@@ -75,9 +86,9 @@
|
|
|
75
86
|
}
|
|
76
87
|
|
|
77
88
|
.content {
|
|
89
|
+
padding: @contentPadding;
|
|
78
90
|
background: @contentBackground;
|
|
79
91
|
color: @contentColor;
|
|
80
|
-
padding: @contentPadding;
|
|
81
92
|
}
|
|
82
93
|
}
|
|
83
94
|
|
|
@@ -94,11 +105,12 @@
|
|
|
94
105
|
Styled
|
|
95
106
|
---------------*/
|
|
96
107
|
|
|
97
|
-
.ui.styled.accordion
|
|
98
|
-
.ui.styled.accordion
|
|
99
|
-
.ui.styled.accordion
|
|
108
|
+
.ui.styled.accordion .title,
|
|
109
|
+
.ui.styled.accordion .title:hover,
|
|
110
|
+
.ui.styled.accordion .title:focus-visible {
|
|
100
111
|
background-color: @styledActiveTitleBackground;
|
|
101
112
|
}
|
|
113
|
+
|
|
102
114
|
.ui.styled.accordion .active.title input {
|
|
103
115
|
color: @styledActiveTitleColor;
|
|
104
116
|
}
|
|
@@ -125,8 +137,7 @@
|
|
|
125
137
|
Variations
|
|
126
138
|
---------------*/
|
|
127
139
|
.ui.accordion[class*='ary'] .active.title,
|
|
128
|
-
.ui.accordion[class*='ary'] .filter
|
|
129
|
-
{
|
|
140
|
+
.ui.accordion[class*='ary'] .filter {
|
|
130
141
|
--text-color-hover: white;
|
|
131
142
|
--text-color: white;
|
|
132
143
|
}
|
|
@@ -136,6 +147,7 @@
|
|
|
136
147
|
.ui.accordion.primary .filter {
|
|
137
148
|
--bg-color: @primaryColorCSSVar;
|
|
138
149
|
}
|
|
150
|
+
|
|
139
151
|
.ui.accordion.primary .title:not(.active, .filter):hover,
|
|
140
152
|
.ui.accordion.primary .title:not(.active, .filter):focus-visible {
|
|
141
153
|
--text-color-hover: @primaryColorCSSVar;
|
|
@@ -146,6 +158,7 @@
|
|
|
146
158
|
.ui.accordion.secondary .filter {
|
|
147
159
|
--bg-color: @secondaryColorCSSVar;
|
|
148
160
|
}
|
|
161
|
+
|
|
149
162
|
.ui.accordion.secondary .title:not(.active, .filter):hover,
|
|
150
163
|
.ui.accordion.secondary .title:not(.active, .filter):focus-visible {
|
|
151
164
|
--text-color-hover: @secondaryColorCSSVar;
|
|
@@ -156,14 +169,26 @@
|
|
|
156
169
|
.ui.accordion.tertiary .filter {
|
|
157
170
|
--bg-color: @tertiaryColorCSSVar;
|
|
158
171
|
}
|
|
172
|
+
|
|
159
173
|
.ui.accordion.tertiary .title:not(.active, .filter):hover,
|
|
160
174
|
.ui.accordion.tertiary .title:not(.active, .filter):focus-visible {
|
|
161
175
|
--text-color-hover: @tertiaryColorCSSVar;
|
|
162
176
|
}
|
|
163
177
|
|
|
164
178
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
165
|
-
.accordion-block h1 * {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
179
|
+
.accordion-block h1 * {
|
|
180
|
+
font-size: @mobileH1;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.accordion-block h2 * {
|
|
184
|
+
font-size: @mobileH2;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.accordion-block h3 * {
|
|
188
|
+
font-size: @mobileH3;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.accordion-block h4 * {
|
|
192
|
+
font-size: @mobileH4;
|
|
193
|
+
}
|
|
169
194
|
}
|
|
@@ -172,6 +172,27 @@
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
.flex-items-wrapper.items-2-columns .flex-item {
|
|
176
|
+
width: var(--flex-item-width, 100%);
|
|
177
|
+
}
|
|
178
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
|
179
|
+
.flex-items-wrapper.items-2-columns .flex-item {
|
|
180
|
+
--flex-item-width: calc(@width / 2 - 1%);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.flex-items-wrapper.items-3-columns .flex-item {
|
|
184
|
+
--flex-item-width: calc(@width / 3);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.flex-items-wrapper.items-4-columns .flex-item {
|
|
188
|
+
--flex-item-width: calc(@width / 4);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.flex-items-wrapper.items-5-columns .flex-item {
|
|
192
|
+
--flex-item-width: calc(@width / 5);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
175
196
|
|
|
176
197
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
177
198
|
.ui.items.row > .item {
|