@eeacms/volto-cca-policy 0.1.9 → 0.1.11

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 CHANGED
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.1.11](https://github.com/eea/volto-cca-policy/compare/0.1.10...0.1.11) - 21 March 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Be more specific with the full-width layout [kreafox - [`8905a26`](https://github.com/eea/volto-cca-policy/commit/8905a264a33afb0ba2211c82f3f9badae2542684)]
12
+ - Improve full-width layout [kreafox - [`25bc6de`](https://github.com/eea/volto-cca-policy/commit/25bc6de1a00e5b85977f117d4b37ee503227ff52)]
13
+ ### [0.1.10](https://github.com/eea/volto-cca-policy/compare/0.1.9...0.1.10) - 20 March 2023
14
+
15
+ #### :hammer_and_wrench: Others
16
+
17
+ - Prettier [kreafox - [`89cd1e5`](https://github.com/eea/volto-cca-policy/commit/89cd1e5d8c72533227298dfa510e379b21aab8f4)]
18
+ - Add style for full class [kreafox - [`b124820`](https://github.com/eea/volto-cca-policy/commit/b124820402b0c775619f5f8e4865a08120811173)]
19
+ - Update footer link [kreafox - [`b587810`](https://github.com/eea/volto-cca-policy/commit/b5878105561ad5c2fcbb257aad4d50c112928809)]
20
+ - Add button.overrides [kreafox - [`0c4c12b`](https://github.com/eea/volto-cca-policy/commit/0c4c12bbc72cad147a5d4b192b58f0a9c724a873)]
7
21
  ### [0.1.9](https://github.com/eea/volto-cca-policy/compare/0.1.8...0.1.9) - 20 March 2023
8
22
 
9
23
  #### :hammer_and_wrench: Others
@@ -14,7 +28,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
14
28
  - Use latest eea-design-system [kreafox - [`460a28b`](https://github.com/eea/volto-cca-policy/commit/460a28b99d7aa17d1eab27052772841e08ba44fe)]
15
29
  - Better logo [kreafox - [`5dda132`](https://github.com/eea/volto-cca-policy/commit/5dda132268f5943e3fbfcf0689088afbc9a85d25)]
16
30
  - Update footer [kreafox - [`680f29a`](https://github.com/eea/volto-cca-policy/commit/680f29acf1458ea238df114ad464c3d0025cd707)]
17
- - Add override for volto-banner [Tiberiu Ichim - [`16d921a`](https://github.com/eea/volto-cca-policy/commit/16d921a65948c1c5adda6a5e16e18b5ccf262fdc)]
18
31
  ### [0.1.8](https://github.com/eea/volto-cca-policy/compare/0.1.7...0.1.8) - 16 March 2023
19
32
 
20
33
  #### :hammer_and_wrench: Others
@@ -279,6 +292,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
279
292
  #### :hammer_and_wrench: Others
280
293
 
281
294
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
295
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
282
296
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
283
297
 
284
298
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -92,7 +92,7 @@ const applyConfig = (config) => {
92
92
  {
93
93
  icon: 'comment outline',
94
94
  text: 'Contact us',
95
- link: '/en/mission/contact-us',
95
+ link: '/en/mission/about-us/contact-us',
96
96
  },
97
97
  // {
98
98
  // icon: 'envelope outline',
@@ -0,0 +1,22 @@
1
+ .ui.basic.button {
2
+ padding: 0;
3
+ border: 0;
4
+ background: transparent;
5
+ cursor: pointer;
6
+ text-align: initial;
7
+
8
+ &:focus {
9
+ outline: none;
10
+ }
11
+ }
12
+
13
+ .ui.basic.primary.button,
14
+ .ui.basic.secondary.button {
15
+ box-shadow: none !important;
16
+
17
+ &:hover,
18
+ &:active {
19
+ background: transparent !important;
20
+ box-shadow: none !important;
21
+ }
22
+ }
@@ -134,6 +134,7 @@ body.subsite-mkh {
134
134
  }
135
135
 
136
136
  .eea.header .subsite-logo {
137
+ z-index: unset;
137
138
  height: 100%;
138
139
 
139
140
  .logo {
@@ -166,3 +167,79 @@ body.subsite-mkh {
166
167
  left: 280px !important;
167
168
  }
168
169
  }
170
+
171
+ body.view-viewview .full {
172
+ position: relative !important;
173
+ right: 50%;
174
+ left: 50%;
175
+ width: 100vw !important;
176
+ max-width: initial !important;
177
+ margin-right: -50vw !important;
178
+ margin-left: -50vw !important;
179
+
180
+ > div {
181
+ display: block;
182
+ width: 100% !important;
183
+ margin-right: auto !important;
184
+ margin-left: auto !important;
185
+ }
186
+ }
187
+
188
+ body.view-viewview.has-toolbar:not(.has-sidebar):not(.has-sidebar-collapsed) {
189
+ .full > div {
190
+ width: calc(100% - @toolbarWidth) !important;
191
+ }
192
+ }
193
+
194
+ @media screen and (min-width: @largestMobileScreen) {
195
+ body.view-viewview.has-toolbar.has-sidebar {
196
+ .full > div {
197
+ width: calc(100% - (@toolbarWidth + @sidebarWidth)) !important;
198
+ }
199
+ }
200
+
201
+ body.view-viewview.has-toolbar.has-sidebar-collapsed {
202
+ .full > div {
203
+ width: calc(100% - (@toolbarWidth + @collapsedToolbarWidth)) !important;
204
+ }
205
+ }
206
+
207
+ body.view-viewview.has-toolbar-collapsed:not(.has-sidebar):not(.has-sidebar-collapsed) {
208
+ .full > div {
209
+ width: calc(100% - @collapsedToolbarWidth) !important;
210
+ }
211
+ }
212
+
213
+ body.view-viewview.has-toolbar-collapsed.has-sidebar {
214
+ .full > div {
215
+ .full-width-block {
216
+ width: calc(100% - (@collapsedToolbarWidth + @sidebarWidth)) !important;
217
+ }
218
+ }
219
+ }
220
+
221
+ body.view-viewview.has-toolbar-collapsed.has-sidebar-collapsed {
222
+ .full > div {
223
+ width: calc(
224
+ 100% - (@collapsedToolbarWidth + @collapsedToolbarWidth)
225
+ ) !important;
226
+ }
227
+ }
228
+ }
229
+
230
+ @media only screen and (max-width: 767px) {
231
+ body.view-viewview.has-toolbar-collapsed.has-sidebar-collapsed
232
+ .full.full-width-block,
233
+ body.view-viewview.has-toolbar.has-sidebar-collapsed .full.full-width-block {
234
+ width: 100% !important;
235
+ }
236
+ }
237
+
238
+ @media screen and (max-width: @largestMobileScreen) {
239
+ body.view-viewview.has-toolbar:not(.has-sidebar):not(.has-sidebar-collapsed),
240
+ body.view-viewview.has-toolbar-collapsed:not(.has-sidebar):not(.has-sidebar-collapsed) {
241
+ .full > div {
242
+ width: 100% !important;
243
+ }
244
+ }
245
+ }
@@ -14,3 +14,10 @@
14
14
  // @linkColor: @secondaryColor;
15
15
  // @linkHoverColor: @primaryColor;
16
16
  // @linkActiveColor: @linkHoverColor;
17
+
18
+ // Toolbar
19
+ @toolbarWidth : 80px;
20
+ @collapsedToolbarWidth : 20px;
21
+ @mobileToolbarHeight : 100px;
22
+ @mobileCollapsedToolbarHeight : 20px;
23
+ @sidebarWidth : 375px;