@eeacms/volto-eea-design-system 0.4.1 → 0.4.4

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.
@@ -94,7 +94,7 @@
94
94
 
95
95
  // Maps, Video and Image blocks use buttons without
96
96
  // icons, fix them in css for now
97
- #page-edit .basic.button {
97
+ .toolbar-inner .ui.buttons .basic.button {
98
98
  padding: 0;
99
99
  background-color: transparent !important;
100
100
  box-shadow: none !important;
@@ -7,6 +7,33 @@
7
7
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
8
8
  }
9
9
 
10
+ .ui.horizontal.divider.primary,.ui.horizontal.divider.secondary,.ui.horizontal.divider.tertiary {
11
+ & > * {
12
+ padding: 0 @space-4;
13
+ }
14
+ }
15
+
16
+ .ui.horizontal.divider.primary:before,
17
+ .ui.horizontal.divider.primary:after {
18
+ background-image: none;
19
+ border-top:1px solid @dividerPrimary;
20
+ transform:translateY(50%);
21
+ }
22
+
23
+ .ui.horizontal.divider.secondary:before,
24
+ .ui.horizontal.divider.secondary:after {
25
+ background-image: none;
26
+ border-top:1px solid @dividerSecondary;
27
+ transform:translateY(50%);
28
+ }
29
+
30
+ .ui.horizontal.divider.tertiary:before,
31
+ .ui.horizontal.divider.tertiary:after {
32
+ background-image: none;
33
+ border-top:1px solid @dividerTertiary;
34
+ transform:translateY(50%);
35
+ }
36
+
10
37
  @media only screen and (max-width: (@tabletBreakpoint - 1px)) {
11
38
  .ui.stackable.grid .ui.vertical.divider:before,
12
39
  .ui.grid .stackable.row .ui.vertical.divider:before,
@@ -15,3 +42,39 @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uZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
16
43
  }
17
44
  }
45
+
46
+
47
+ .ui.divider.short {
48
+ width: @shortWidth;
49
+ margin-inline: @shortMarginInline;
50
+ }
51
+
52
+ .ui.divider.primary,
53
+ .ui.divider.primary:not(.vertical):not(.horizontal) {
54
+ border-top-color: @dividerPrimary;
55
+ color: @dividerPrimary;
56
+ }
57
+ .ui.vertical.divider.primary:before,
58
+ .ui.vertical.divider.primary:after {
59
+ border-left-color: @dividerPrimary;
60
+ }
61
+
62
+ .ui.divider.secondary,
63
+ .ui.divider.secondary:not(.vertical):not(.horizontal) {
64
+ border-top-color: @dividerSecondary;
65
+ color: @dividerSecondary;
66
+ }
67
+ .ui.vertical.divider.secondary:before,
68
+ .ui.vertical.divider.secondary:after {
69
+ border-left-color: @dividerSecondary;
70
+ }
71
+
72
+ .ui.divider.tertiary,
73
+ .ui.divider.tertiary:not(.vertical):not(.horizontal) {
74
+ border-top-color: @dividerTertiary;
75
+ color: @dividerTertiary;
76
+ }
77
+ .ui.vertical.divider.tertiary:before,
78
+ .ui.vertical.divider.tertiary:after {
79
+ border-left-color: @dividerTertiary;
80
+ }
@@ -18,7 +18,7 @@
18
18
  @letterSpacing: 0.05em;
19
19
  @fontWeight: @bold;
20
20
  @color: @darkTextColor;
21
- @textTransform: uppercase;
21
+ @textTransform: none;
22
22
 
23
23
  /*-------------------
24
24
  Coupling
@@ -51,3 +51,12 @@
51
51
 
52
52
  /* Sizes */
53
53
  @medium: 1rem;
54
+
55
+ /* ShortDivider */
56
+ @shortWidth : 50%;
57
+ @shortMarginInline: auto;
58
+
59
+ /* Color */
60
+ @dividerPrimary : @primaryColor;
61
+ @dividerSecondary : @secondaryColor;
62
+ @dividerTertiary : @tertiaryColor;
@@ -20,179 +20,153 @@ footer {
20
20
  background-image: @wrapperBackgroundImage;
21
21
  background-position: @wrapperBackgroundPosition;
22
22
  background-size: @mobileWrapperBackgroundSize;
23
+ }
24
+ }
23
25
 
24
- .theme-sites {
25
- padding: @mobileThemeSitesPadding;
26
+ footer .theme-sites {
27
+ padding: @mobileThemeSitesPadding;
26
28
 
27
- .header {
28
- font-weight: @headerFontWeight;
29
- font-size: @mobileHeaderFontSize;
30
- margin-bottom: @mobileHeaderMarginBottom;
31
- text-align: center;
32
- }
29
+ .header {
30
+ font-weight: @footerTitleFontWeight;
31
+ }
33
32
 
34
- .logos .logo {
35
- display: flex;
36
- align-items: center;
37
- justify-content: center;
38
- }
33
+ .logos .ui.grid {
34
+ align-items: center;
35
+ }
36
+
37
+ .logos .logo {
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+
42
+ img {
43
+ margin: auto;
39
44
  }
40
- .subfooter {
41
- .item {
42
- margin-top: @mobileItemMarginTop;
43
-
44
- .site.logo {
45
- .description {
46
- margin: @mobileDescriptionMargin;
47
- font-size: @mobileDescriptionFontSize;
48
- line-height: @mobileDescriptionLineHeight;
49
- }
50
- }
51
-
52
- .eionet.logo {
53
- display: flex;
54
- align-items: center;
55
- margin-top: @mobileEionetMarginTop;
56
-
57
- img {
58
- width: @mobileEionetLogoWidth;
59
- margin-left: @mobileEionetLogoMarginLeft;
60
- margin-right: @mobileEionetLogoMarginRight;
61
- }
62
-
63
- .description {
64
- padding-top: @mobileEionetDescriptionPaddingTop;
65
- font-size: @mobileEionetDescriptionFontSize;
66
- line-height: @mobileEionetDescriptionLineHeight;
67
- font-weight: @eionetDescriptionFontWeight;
68
- }
69
- }
70
-
71
- .header {
72
- margin-bottom: @mobileItemHeaderMarginBottom;
73
- font-size: @mobileItemHeaderFontSize;
74
- font-weight: @itemHeaderFontWeight;
75
- }
76
-
77
- .contact {
78
- display: flex;
79
- align-items: center;
80
- margin: @mobileContactMargin;
81
- font-size: @mobileContactFontSize;
82
-
83
- a {
84
- color: @menuLinkColor;
85
- }
86
- }
87
- .address {
88
- font-size: @mobileAdressFontSize;
89
- }
90
-
91
- .social a {
92
- color: @socialIconColor;
93
-
94
- &:active,
95
- &:hover {
96
- color: @socialIconColor;
97
- }
98
-
99
- i.icon {
100
- font-size: @mobileSocialIconSize;
101
- }
102
- }
103
- }
104
- .menu {
105
- display: flex;
106
- align-items: center;
107
- justify-content: space-around;
108
- margin: @mobileMenuMargin;
109
-
110
- a {
111
- color: @menuLinkColor;
112
- font-weight: @menuFontWeight;
113
- font-size: @mobileMenuFontSize;
114
- cursor: pointer;
115
-
116
- &:hover,
117
- &:active {
118
- color: @menuLinkColor;
119
- }
120
- }
121
- }
45
+ }
46
+ }
47
+
48
+ .subfooter .item .ui.grid {
49
+ align-items: center;
50
+ }
51
+
52
+ .subfooter .item {
53
+ margin-top: @mobileItemMarginTop;
54
+
55
+ .header {
56
+ margin-bottom: @mobileItemHeaderMarginBottom;
57
+ font-size: @mobileFooterTitleFontSize;
58
+ font-weight: @footerTitleFontWeight;
59
+ text-align: center;
60
+ }
61
+ }
62
+
63
+ .subfooter .contact-block {
64
+ margin-inline: @mobileContactBlockMarginInline;
65
+ margin-bottom: @tabletContactBlockMarginbottom;
66
+ }
67
+
68
+ .subfooter .contact {
69
+ display: flex;
70
+ align-items: center;
71
+ margin: @mobileContactMargin;
72
+ font-size: @mobileContactFontSize;
73
+
74
+ a {
75
+ color: @menuLinkColor;
76
+ }
77
+
78
+ i.big.icon {
79
+ margin-right: @mobileContactIconMarginRight;
80
+ font-size: @mobileContactIconFontSize;
81
+ }
82
+ }
83
+
84
+ .subfooter .address {
85
+ font-size: @addressFontSize;
86
+ }
87
+
88
+ .subfooter .social {
89
+ display: flex;
90
+ justify-content: @mobileSocialJustifyContent;
91
+
92
+ a {
93
+ color: @socialIconColor;
94
+
95
+ &:active,
96
+ &:hover {
97
+ color: @socialIconColor;
98
+ }
99
+
100
+ i.icon {
101
+ font-size: @mobileSocialIconSize;
102
+ }
103
+ }
104
+ }
105
+
106
+ .subfooter .menu {
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: space-between;
110
+ width: @mobileMenuWidth;
111
+ margin: @mobileMenuMargin;
112
+
113
+ a {
114
+ color: @menuLinkColor;
115
+ font-weight: @menuFontWeight;
116
+ font-size: @mobileMenuFontSize;
117
+ cursor: pointer;
118
+
119
+ &:hover,
120
+ &:active {
121
+ color: @menuLinkColor;
122
122
  }
123
123
  }
124
124
  }
125
125
 
126
126
  @media only screen and (min-width: @tabletBreakpoint) {
127
- footer {
128
- .wrapper {
129
- .theme-sites {
130
- .header {
131
- font-size: @tabletHeaderFontSize;
132
- margin-bottom: @tabletHeaderMarginBottom;
133
- }
134
- }
135
- .subfooter {
136
- .item {
137
- margin-top: @tabletItemMarginTop;
138
-
139
- .site.logo {
140
- img {
141
- width: @tabletSiteLogoWidth;
142
- display: @tabletSiteLogoDisplay;
143
- }
144
- .description {
145
- font-size: @tabletDescriptionFontSize;
146
- line-height: @tabletDescriptionLineHeight;
147
- }
148
- }
149
-
150
- .eionet.logo {
151
- img {
152
- width: @tabletEionetLogoWidth;
153
- margin-left: @tabletEionetLogoMarginLeft;
154
- }
155
-
156
- .description {
157
- padding-top: @tabletEionetDescriptionPaddingTop;
158
- font-size: @tabetEionetDescriptionFontSize;
159
- line-height: @tabletEionetDescriptionLineHeight;
160
- }
161
- }
162
-
163
- .header {
164
- margin-bottom: @tabletItemHeaderMarginBottom;
165
- font-size: @tabletItemHeaderFontSize;
166
- }
167
-
168
- .contact {
169
- font-size: @tabletContactFontSize;
170
- margin: @tabletContactMargin;
171
-
172
- i.big.icon {
173
- margin-right: @tabletContactIconMarginRight;
174
- font-size: @tabletContactIconFontSize;
175
- }
176
- }
177
-
178
- .address {
179
- font-size: @tabletAddressFontSize;
180
- }
181
-
182
- .social a i.icon {
183
- font-size: @tabletSocialIconSize;
184
- }
185
- }
186
- .menu {
187
- width: @tabletMenuWidth;
188
- margin: @tabletMenuMargin;
189
-
190
- a {
191
- font-size: @tabletMenuFontSize;
192
- }
193
- }
127
+ footer .theme-sites {
128
+ .header {
129
+ font-size: @tabletFooterTitleFontSize;
130
+ }
131
+ }
132
+
133
+ .subfooter .item {
134
+ margin-top: @tabletItemMarginTop;
135
+
136
+ .site.logo {
137
+ img {
138
+ width: @tabletSiteLogoWidth;
139
+ display: @tabletSiteLogoDisplay;
194
140
  }
195
141
  }
142
+
143
+ .header {
144
+ font-size: @tabletFooterTitleFontSize;
145
+ text-align: left;
146
+ }
147
+
148
+ .social a i.icon {
149
+ font-size: @tabletSocialIconSize;
150
+ }
151
+ }
152
+
153
+ .eionet.logo img {
154
+ margin-left: @tabletEionetLogoMarginLeft;
155
+ width: @tabletEionetLogoWidth;
156
+ }
157
+
158
+ .subfooter .contact-block {
159
+ margin-inline: @tabletContactBlockMarginInline;
160
+ }
161
+
162
+ .subfooter .social {
163
+ justify-content: @tabletSocialJustifyContent;
164
+ gap: @tabletSocialGap;
165
+ }
166
+
167
+ .subfooter .menu {
168
+ width: @tabletMenuWidth;
169
+ margin: @tabletMenuMargin;
196
170
  }
197
171
  }
198
172
 
@@ -201,71 +175,60 @@ footer {
201
175
  .wrapper {
202
176
  padding: @computerWrapperPadding;
203
177
  background-size: @computerWrapperBackgroundSize;
178
+ }
179
+ }
204
180
 
205
- .theme-sites {
206
- padding: @computerThemeSitesPadding;
181
+ footer .theme-sites {
182
+ padding: @computerThemeSitesPadding;
207
183
 
208
- .header {
209
- font-size: @computerHeaderFontSize;
210
- margin-bottom: @computerHeaderMarginBottom;
211
- }
212
- }
213
- .subfooter {
214
- .item {
215
- margin-top: @computerItemMarginTop;
216
-
217
- .site.logo {
218
- img {
219
- width: @computerSiteLogoWidth;
220
- }
221
- .description {
222
- margin: @computerDescriptionMargin;
223
- }
224
- }
225
-
226
- .eionet.logo {
227
- margin-top: @computerEionetMarginTop;
228
-
229
- img {
230
- width: @computerEionetLogoWidth;
231
- margin-left: @computerEionetLogoMarginLeft;
232
- margin-right: @computerEionetLogoMarginRight;
233
- }
234
-
235
- .description {
236
- font-size: @computerEionetDescriptionFontSize;
237
- line-height: @computerEionetDescriptionLineHeight;
238
- }
239
- }
240
-
241
- .header {
242
- margin-bottom: @computerItemHeaderMarginBottom;
243
- font-size: @computerItemHeaderFontSize;
244
- }
245
-
246
- .contact {
247
- font-size: @computerContactFontSize;
248
- margin: @computerContactMargin;
249
-
250
- i.big.icon {
251
- font-size: @computerContactIconFontSize;
252
- }
253
- }
254
-
255
- .social a i.icon {
256
- font-size: @computerSocialIconSize;
257
- }
258
- }
259
- .menu {
260
- justify-content: flex-end;
261
- width: 100%;
262
-
263
- a {
264
- padding-left: 3rem;
265
- font-size: @computerMenuFontSize;
266
- }
267
- }
184
+ .header {
185
+ font-size: @computerFooterTitleFontSize;
186
+ }
187
+ }
188
+
189
+ .subfooter .logo-header {
190
+ // To match the figma align
191
+ margin-left: @computerLogoHeaderMarginLeft
192
+ }
193
+
194
+ .subfooter .item {
195
+ margin-top: @computerItemMarginTop;
196
+
197
+ .site.logo {
198
+ img {
199
+ width: @computerSiteLogoWidth;
268
200
  }
269
201
  }
202
+
203
+ .header {
204
+ margin-bottom: @computerItemHeaderMarginBottom;
205
+ font-size: @computerFooterTitleFontSize;
206
+ }
207
+
208
+ .social a i.icon {
209
+ font-size: @computerSocialIconSize;
210
+ }
270
211
  }
271
- }
212
+
213
+ .subfooter .contact {
214
+ font-size: @computerContactFontSize;
215
+ margin: @computerContactMargin;
216
+
217
+ i.big.icon {
218
+ font-size: @computerContactIconFontSize;
219
+ }
220
+ }
221
+
222
+ .eionet.logo img {
223
+ width: @computerEionetLogoWidth;
224
+ margin-left: 0;
225
+ }
226
+
227
+ .subfooter .menu {
228
+ width: @computerMenuWidth;
229
+
230
+ a {
231
+ font-size: @computerMenuFontSize;
232
+ }
233
+ }
234
+ }