@eeacms/volto-eea-design-system 1.31.1 → 1.32.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 +22 -30
- package/package.json +1 -1
- package/src/ui/Footer/Footer.jsx +2 -0
- package/src/ui/Footer/Footer.stories.js +4 -2
- package/src/ui/Footer/Footer.stories.test.js +2 -19
- package/src/ui/Footer/FooterSitesButton.jsx +36 -0
- package/src/ui/Footer/Social.jsx +2 -2
- package/src/ui/Footer/SubFooter.jsx +3 -31
- package/src/ui/InpageNavigation/InpageNavigation.jsx +7 -0
- package/theme/themes/eea/extras/contextNavigation.less +83 -2
- package/theme/themes/eea/extras/contextNavigation.variables +11 -3
- package/theme/themes/eea/extras/footer.less +65 -29
- package/theme/themes/eea/extras/footer.variables +18 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,32 @@ 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
|
+
### [1.32.0](https://github.com/eea/volto-eea-design-system/compare/1.31.2...1.32.0) - 26 August 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat(context-navigation): Added styling of side navigation - refs #272384 [ichim-david - [`1b9da93`](https://github.com/eea/volto-eea-design-system/commit/1b9da934b6c9b0044764dd41cb1f83ac34572aa8)]
|
|
12
|
+
|
|
13
|
+
#### :nail_care: Enhancements
|
|
14
|
+
|
|
15
|
+
- refactor: Footer simplification according to the #265857 [dobri1408 - [`75ba3b6`](https://github.com/eea/volto-eea-design-system/commit/75ba3b6e02f2d06820880d3af9ddacc3a14222a7)]
|
|
16
|
+
|
|
17
|
+
#### :hammer_and_wrench: Others
|
|
18
|
+
|
|
19
|
+
- Release 1.32.0 [Alin Voinea - [`f8fe25f`](https://github.com/eea/volto-eea-design-system/commit/f8fe25fff59471b2b1ca974b1c311d7c348b5328)]
|
|
20
|
+
### [1.31.2](https://github.com/eea/volto-eea-design-system/compare/1.31.1...1.31.2) - 22 July 2024
|
|
21
|
+
|
|
22
|
+
#### :nail_care: Enhancements
|
|
23
|
+
|
|
24
|
+
- perf(inpage): render in page navigation only when hidden class changes [David Ichim - [`bce09b2`](https://github.com/eea/volto-eea-design-system/commit/bce09b276b1d181abc21623794ff1574e99160c5)]
|
|
25
|
+
|
|
26
|
+
#### :hammer_and_wrench: Others
|
|
27
|
+
|
|
28
|
+
- perf(inpage): render in page navigation only when hidden class changes [David Ichim - [`bce09b2`](https://github.com/eea/volto-eea-design-system/commit/bce09b276b1d181abc21623794ff1574e99160c5)]
|
|
7
29
|
### [1.31.1](https://github.com/eea/volto-eea-design-system/compare/1.31.0...1.31.1) - 7 June 2024
|
|
8
30
|
|
|
9
31
|
#### :hammer_and_wrench: Others
|
|
10
32
|
|
|
11
|
-
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`dfa1d1b`](https://github.com/eea/volto-eea-design-system/commit/dfa1d1bd53ae63b20aa0ef64c37bf71faf376290)]
|
|
12
33
|
### [1.31.0](https://github.com/eea/volto-eea-design-system/compare/1.23.8...1.31.0) - 22 May 2024
|
|
13
34
|
|
|
14
35
|
#### :boom: Breaking Change
|
|
@@ -37,7 +58,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
37
58
|
|
|
38
59
|
#### :hammer_and_wrench: Others
|
|
39
60
|
|
|
40
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
|
|
41
61
|
### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
|
|
42
62
|
|
|
43
63
|
#### :nail_care: Enhancements
|
|
@@ -73,8 +93,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
73
93
|
- Update package.json version to 1.23.0 [David Ichim - [`4b2eeee`](https://github.com/eea/volto-eea-design-system/commit/4b2eeee398b771ac80111e1755f67273c8940ced)]
|
|
74
94
|
- fixed merge conflict [David Ichim - [`efe0f4b`](https://github.com/eea/volto-eea-design-system/commit/efe0f4b7df1782f5143e1bee31c997801427d35c)]
|
|
75
95
|
- Update react-slick version to 0.30.1 [David Ichim - [`62d4570`](https://github.com/eea/volto-eea-design-system/commit/62d457014866fc075a3203fd0f9e66354aa73fe5)]
|
|
76
|
-
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c6c74f0`](https://github.com/eea/volto-eea-design-system/commit/c6c74f049ee787632b8ad0ec0f28531ac4d0f20f)]
|
|
77
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d3d7793`](https://github.com/eea/volto-eea-design-system/commit/d3d779363caa10f384d829a7e4242c5d54268099)]
|
|
78
96
|
### [1.23.0](https://github.com/eea/volto-eea-design-system/compare/1.22.7...1.23.0) - 19 February 2024
|
|
79
97
|
|
|
80
98
|
### [1.22.7](https://github.com/eea/volto-eea-design-system/compare/1.22.6...1.22.7) - 22 January 2024
|
|
@@ -160,11 +178,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
160
178
|
- Add dropdown test case to Header component [David Ichim - [`9ea3234`](https://github.com/eea/volto-eea-design-system/commit/9ea3234c2c0f1c819c7c2b54a75c56cda7812c56)]
|
|
161
179
|
- Remove unused import in Header.test.jsx [David Ichim - [`082069e`](https://github.com/eea/volto-eea-design-system/commit/082069e1f057786e0f1fb00c98d54b8e03b5d9c5)]
|
|
162
180
|
- Added some tests for TopDropdownMenu mobile and dropdown interaction [David Ichim - [`9d24488`](https://github.com/eea/volto-eea-design-system/commit/9d24488c1e97b2b1b14bd9bd8cb6f5b68414794b)]
|
|
163
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`eadf018`](https://github.com/eea/volto-eea-design-system/commit/eadf018aa1f32d310619ce4ef08f9b11950a20dc)]
|
|
164
181
|
- Lint fix [David Ichim - [`e29fd50`](https://github.com/eea/volto-eea-design-system/commit/e29fd50ee73477007dcf94a268596e6c11176d7b)]
|
|
165
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`947cb92`](https://github.com/eea/volto-eea-design-system/commit/947cb929c01ebb6f46bf124833fe1fec0f385edb)]
|
|
166
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8356dfe`](https://github.com/eea/volto-eea-design-system/commit/8356dfe929039dcd165af0692cbbfc771a0f7fb4)]
|
|
167
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`e38f17e`](https://github.com/eea/volto-eea-design-system/commit/e38f17ed735e743e59df7d06ca723c1218bdb569)]
|
|
168
182
|
### [1.20.0](https://github.com/eea/volto-eea-design-system/compare/1.19.0...1.20.0) - 2 November 2023
|
|
169
183
|
|
|
170
184
|
#### :rocket: New Features
|
|
@@ -197,9 +211,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
197
211
|
|
|
198
212
|
#### :house: Internal changes
|
|
199
213
|
|
|
200
|
-
- chore: [JENKINS] do not run tests on PR comments [valentinab25 - [`51b68fc`](https://github.com/eea/volto-eea-design-system/commit/51b68fc76a956996e01521b784262c67e7094d35)]
|
|
201
|
-
- chore: [JENKINS] add comment step [valentinab25 - [`5022758`](https://github.com/eea/volto-eea-design-system/commit/50227587db2c72d17e26e7b66f28d4c09b760873)]
|
|
202
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`a70ca64`](https://github.com/eea/volto-eea-design-system/commit/a70ca642918f578d6737d975e4769bac8312f48d)]
|
|
203
214
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`59ecb8e`](https://github.com/eea/volto-eea-design-system/commit/59ecb8e28b259472303324f9655b0cbbcbbf9c23)]
|
|
204
215
|
|
|
205
216
|
#### :hammer_and_wrench: Others
|
|
@@ -325,7 +336,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
325
336
|
|
|
326
337
|
#### :hammer_and_wrench: Others
|
|
327
338
|
|
|
328
|
-
- test: Fix eslint and yarn i18n [Alin Voinea - [`331149f`](https://github.com/eea/volto-eea-design-system/commit/331149f5eb16a9cc6f2d996f7b793909773063c2)]
|
|
329
339
|
- i18n: Add en [Alin Voinea - [`4584295`](https://github.com/eea/volto-eea-design-system/commit/458429530d993c27cfb962ddfe2f376f3568bf01)]
|
|
330
340
|
- Release 1.17.0 [Alin Voinea - [`e3c25ee`](https://github.com/eea/volto-eea-design-system/commit/e3c25eeeca5e863244faae396b5aa915d0702633)]
|
|
331
341
|
- test: add unit tests for DS components - refs #254313 [ana-oprea - [`0c4d4d1`](https://github.com/eea/volto-eea-design-system/commit/0c4d4d118b8e13082c576dc5c2dce6a715f49006)]
|
|
@@ -435,7 +445,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
435
445
|
#### :hammer_and_wrench: Others
|
|
436
446
|
|
|
437
447
|
- Release 1.14.0 [Alin Voinea - [`cb9084f`](https://github.com/eea/volto-eea-design-system/commit/cb9084fb2246dc1b729e12a419a26daa12c26f7a)]
|
|
438
|
-
- test: [JENKINS] set pipe fail [valentinab25 - [`1cdfc39`](https://github.com/eea/volto-eea-design-system/commit/1cdfc39d08f1ae301dea57f1e4be5265c4a4c6f9)]
|
|
439
448
|
- test: try storybook upload [valentinab25 - [`6d5833d`](https://github.com/eea/volto-eea-design-system/commit/6d5833d4419d00f1ac04c9eb78a0884214f9a494)]
|
|
440
449
|
- test: remove useless code [valentinab25 - [`2c14b0c`](https://github.com/eea/volto-eea-design-system/commit/2c14b0ce4596cfc11a81b9762677596d1861acfe)]
|
|
441
450
|
### [1.13.2](https://github.com/eea/volto-eea-design-system/compare/1.13.1...1.13.2) - 13 June 2023
|
|
@@ -474,7 +483,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
474
483
|
|
|
475
484
|
#### :house: Internal changes
|
|
476
485
|
|
|
477
|
-
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`fb2b166`](https://github.com/eea/volto-eea-design-system/commit/fb2b166d64f95a1c183901abfe0fe0254d1bbc7a)]
|
|
478
486
|
|
|
479
487
|
#### :house: Documentation changes
|
|
480
488
|
|
|
@@ -808,7 +816,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
808
816
|
|
|
809
817
|
- Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
|
|
810
818
|
- better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
|
|
811
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b227cf8`](https://github.com/eea/volto-eea-design-system/commit/b227cf8a8c44b9d91e9fda8a7999fb0a42bacdca)]
|
|
812
819
|
- feature(mobile): increased performance by lazy loading footer images #303 from eea/increase_performance [ichim-david - [`80d1df1`](https://github.com/eea/volto-eea-design-system/commit/80d1df1c459680331d486f9e8e6a95c9db0adbf6)]
|
|
813
820
|
- prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
|
|
814
821
|
- fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
|
|
@@ -879,7 +886,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
879
886
|
|
|
880
887
|
#### :house: Internal changes
|
|
881
888
|
|
|
882
|
-
- chore(docusaurus): ignore website/.yarn [Giorgos Stamatis - [`0b33ffd`](https://github.com/eea/volto-eea-design-system/commit/0b33ffd1dda61b126e3cc5ff48888124d6aee41b)]
|
|
883
889
|
- style(header): react syntax fix [Antonis Tarantilis - [`3add127`](https://github.com/eea/volto-eea-design-system/commit/3add1271c785a92bea0ef925d7bc562cef1e0d92)]
|
|
884
890
|
|
|
885
891
|
#### :house: Documentation changes
|
|
@@ -1076,7 +1082,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1076
1082
|
|
|
1077
1083
|
- Release 1.0.0-alpha.10 [Alin Voinea - [`7014d08`](https://github.com/eea/volto-eea-design-system/commit/7014d080ce114bd0bc039abeecbd7229333b0971)]
|
|
1078
1084
|
- Add variable definitions [kreafox - [`293fe65`](https://github.com/eea/volto-eea-design-system/commit/293fe65e2f24e6290e1286229169a77f9be4750e)]
|
|
1079
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`ef58a6f`](https://github.com/eea/volto-eea-design-system/commit/ef58a6f5ad8deea26b1395a86778fe1159b7617b)]
|
|
1080
1085
|
- Back to dev [Alin Voinea - [`31d4616`](https://github.com/eea/volto-eea-design-system/commit/31d461662b9184a7bbe190e86f3c47fab39229fe)]
|
|
1081
1086
|
### [1.0.0-alpha.9](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.8...1.0.0-alpha.9) - 28 December 2022
|
|
1082
1087
|
|
|
@@ -1134,7 +1139,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1134
1139
|
- bump package version [David Ichim - [`b4628be`](https://github.com/eea/volto-eea-design-system/commit/b4628bed134abc76e38a243d4e98143e19cef989)]
|
|
1135
1140
|
- feature(docusaurus, storybook): logos selection for sites plus inverted options #253 from eea/doc-logo-page [ichim-david - [`dbfc90d`](https://github.com/eea/volto-eea-design-system/commit/dbfc90d035dc40e9d4054347f00fde4de486d63d)]
|
|
1136
1141
|
- (feat): Add ability to disable the language select from website top menu - refs #158616 [dobri1408 - [`411c8e4`](https://github.com/eea/volto-eea-design-system/commit/411c8e4afaf0b2b9edfdeeecdca22aa4cc41f329)]
|
|
1137
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`c4769e9`](https://github.com/eea/volto-eea-design-system/commit/c4769e987d525f5dcafac8e6cf8a89fd8111667d)]
|
|
1138
1142
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`92feea0`](https://github.com/eea/volto-eea-design-system/commit/92feea09796c9ef0530f65fa1d34139905133215)]
|
|
1139
1143
|
- Proof reading page header section [ichim-david - [`230239e`](https://github.com/eea/volto-eea-design-system/commit/230239e1b22734fb8606656985bc5e513731e244)]
|
|
1140
1144
|
### [1.0.0-alpha.7](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.6...1.0.0-alpha.7) - 16 December 2022
|
|
@@ -1166,7 +1170,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1166
1170
|
#### :hammer_and_wrench: Others
|
|
1167
1171
|
|
|
1168
1172
|
- Release 1.0.0-alpha.7 [Alin Voinea - [`7e66bcc`](https://github.com/eea/volto-eea-design-system/commit/7e66bcc296b389bc55073e7f99681534977dce3a)]
|
|
1169
|
-
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`ce47e9b`](https://github.com/eea/volto-eea-design-system/commit/ce47e9b163bcb4eda988e3a87718b54ffbd3f99f)]
|
|
1170
1173
|
- added back descriptionDistance variable until package release [David Ichim - [`3af811a`](https://github.com/eea/volto-eea-design-system/commit/3af811a8d86a132e16de118697ba5a4302a8a4da)]
|
|
1171
1174
|
- Back to dev [Alin Voinea - [`cb531c9`](https://github.com/eea/volto-eea-design-system/commit/cb531c933c907bdbb88c9de0f1df2eb7ce899a4c)]
|
|
1172
1175
|
- Proper paths if the package is not installed, but in development [Tiberiu Ichim - [`7a2655f`](https://github.com/eea/volto-eea-design-system/commit/7a2655f7cf9d3c687f172eefcf2b4cff4b12f832)]
|
|
@@ -1254,7 +1257,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1254
1257
|
#### :hammer_and_wrench: Others
|
|
1255
1258
|
|
|
1256
1259
|
- feature(Docusaurus): Updates on color palette information including thematic websites #231 from eea/refactor-docusaurus [ichim-david - [`ec7843d`](https://github.com/eea/volto-eea-design-system/commit/ec7843dea07f626dc1c71ae1baa8bb5b0caa52f3)]
|
|
1257
|
-
- Upgrade Jenkinsfile storybook to yarn 3 [Alin Voinea - [`d20de8d`](https://github.com/eea/volto-eea-design-system/commit/d20de8d6e21a14660b7b5125a80218a8a6f19e62)]
|
|
1258
1260
|
- Back to dev [Alin Voinea - [`563fbc5`](https://github.com/eea/volto-eea-design-system/commit/563fbc5fac0d4b0295690d0a3a4e04271753f18a)]
|
|
1259
1261
|
- perf(docusaurus): added remixicon and roboto locally [Giorgos Stamatis - [`b67b1a7`](https://github.com/eea/volto-eea-design-system/commit/b67b1a72bc9cdc7c62a25967e81b430f8b62d558)]
|
|
1260
1262
|
### [1.0.0-alpha.4](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.3...1.0.0-alpha.4) - 22 November 2022
|
|
@@ -1347,7 +1349,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1347
1349
|
- modified left value of full width classes with toolbars [David Ichim - [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)]
|
|
1348
1350
|
- WIP settings column grid width when using full size class [David Ichim - [`affc7ac`](https://github.com/eea/volto-eea-design-system/commit/affc7ac99527aa92d5a192d90dc8c9ec46a66404)]
|
|
1349
1351
|
- fix eslint [Miu Razvan - [`30c52e4`](https://github.com/eea/volto-eea-design-system/commit/30c52e4eb443555ca44c1b35df064e73d52c0a8b)]
|
|
1350
|
-
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)]
|
|
1351
1352
|
- fix broken variable call for contentBox.variables introduced in previous commit by mistake [David Ichim - [`d249c11`](https://github.com/eea/volto-eea-design-system/commit/d249c1160d19bedb174a2fde3fdab48d9ce297d4)]
|
|
1352
1353
|
- clean up [Miu Razvan - [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)]
|
|
1353
1354
|
- Feature(container): flexible container size #260 from eea/feature-flexible-container [ichim-david - [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)]
|
|
@@ -1449,7 +1450,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1449
1450
|
|
|
1450
1451
|
#### :nail_care: Enhancements
|
|
1451
1452
|
|
|
1452
|
-
- change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
|
|
1453
1453
|
- change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
|
|
1454
1454
|
- change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
|
|
1455
1455
|
- change(content-box): added css variables that will set text color and background for children [David Ichim - [`86cac53`](https://github.com/eea/volto-eea-design-system/commit/86cac531cc94386b6022e1be80dba826b39f2443)]
|
|
@@ -1484,7 +1484,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1484
1484
|
#### :hammer_and_wrench: Others
|
|
1485
1485
|
|
|
1486
1486
|
- Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
|
|
1487
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
|
|
1488
1487
|
- Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
|
|
1489
1488
|
### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
|
|
1490
1489
|
|
|
@@ -2240,10 +2239,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2240
2239
|
#### :hammer_and_wrench: Others
|
|
2241
2240
|
|
|
2242
2241
|
- prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
|
|
2243
|
-
- [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
|
|
2244
|
-
- [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
|
|
2245
|
-
- [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
|
|
2246
|
-
- [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
|
|
2247
2242
|
### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
|
|
2248
2243
|
|
|
2249
2244
|
#### :rocket: New Features
|
|
@@ -2668,7 +2663,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2668
2663
|
- set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
|
|
2669
2664
|
- remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
|
|
2670
2665
|
- fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
|
|
2671
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
|
|
2672
2666
|
- fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
|
|
2673
2667
|
- removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
|
|
2674
2668
|
- update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
|
|
@@ -2755,7 +2749,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2755
2749
|
- remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
|
|
2756
2750
|
- Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
|
|
2757
2751
|
- fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
|
|
2758
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
|
|
2759
2752
|
- fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
|
|
2760
2753
|
- refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
|
|
2761
2754
|
- removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
|
|
@@ -3324,7 +3317,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3324
3317
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
|
|
3325
3318
|
- Refs #140454 updated eea-design-system readme with extra info on package contents [David Ichim - [`d2efc3d`](https://github.com/eea/volto-eea-design-system/commit/d2efc3ddae7b91efc82cf3bce8fb8e42d696a780)]
|
|
3326
3319
|
- Refs #140454 add h1 to the list of elements that are max 800px and centered [David Ichim - [`7d3c30f`](https://github.com/eea/volto-eea-design-system/commit/7d3c30f409aa4cb43810839f8960589456cc1b2e)]
|
|
3327
|
-
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
|
|
3328
3320
|
### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
|
|
3329
3321
|
|
|
3330
3322
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
package/src/ui/Footer/Footer.jsx
CHANGED
|
@@ -11,6 +11,7 @@ import FooterActions from '@eeacms/volto-eea-design-system/ui/Footer/FooterActio
|
|
|
11
11
|
import FooterHeader from '@eeacms/volto-eea-design-system/ui/Footer/FooterHeader';
|
|
12
12
|
import SubFooter from '@eeacms/volto-eea-design-system/ui/Footer/SubFooter';
|
|
13
13
|
import Social from '@eeacms/volto-eea-design-system/ui/Footer/Social';
|
|
14
|
+
import FooterSitesButton from '@eeacms/volto-eea-design-system/ui/Footer/FooterSitesButton';
|
|
14
15
|
import Contact from '@eeacms/volto-eea-design-system/ui/Footer/Contact';
|
|
15
16
|
import { useFirstVisited } from '@eeacms/volto-eea-design-system/helpers';
|
|
16
17
|
import Description from '@eeacms/volto-eea-design-system/ui/Footer/Description';
|
|
@@ -44,6 +45,7 @@ Footer.Contact = Contact;
|
|
|
44
45
|
Footer.Header = FooterHeader;
|
|
45
46
|
Footer.Sites = FooterSites;
|
|
46
47
|
Footer.Social = Social;
|
|
48
|
+
Footer.SitesButton = FooterSitesButton;
|
|
47
49
|
Footer.SubFooter = SubFooter;
|
|
48
50
|
Footer.Description = Description;
|
|
49
51
|
|
|
@@ -23,14 +23,16 @@ const Template = (args) => (
|
|
|
23
23
|
<Footer>
|
|
24
24
|
<Footer.SubFooter {...args} />
|
|
25
25
|
<Footer.Header>{args.header}</Footer.Header>
|
|
26
|
-
<Footer.
|
|
26
|
+
<Footer.SitesButton {...args} />
|
|
27
|
+
<Footer.Social {...args} />
|
|
27
28
|
<Footer.Actions actions={args.actions} copyright={args.copyright} />
|
|
28
29
|
</Footer>
|
|
29
30
|
);
|
|
30
31
|
|
|
31
32
|
export const Default = Template.bind({});
|
|
32
33
|
Default.args = {
|
|
33
|
-
|
|
34
|
+
buttonName: 'Explore our Environmental information systems',
|
|
35
|
+
hrefButton: 'https://www.eea.europa.eu/en/information-systems',
|
|
34
36
|
description: '',
|
|
35
37
|
actions: [
|
|
36
38
|
{ url: '/privacy', title: 'Privacy' },
|
|
@@ -23,7 +23,7 @@ describe('Default', () => {
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
it('renders correctly', () => {
|
|
26
|
-
const { container
|
|
26
|
+
const { container } = render(
|
|
27
27
|
<Router history={history}>
|
|
28
28
|
<Default {...Default.args} />
|
|
29
29
|
</Router>,
|
|
@@ -44,16 +44,7 @@ describe('Default', () => {
|
|
|
44
44
|
container.querySelector('a[href="https://www.eea.europa.eu/en/login"]'),
|
|
45
45
|
).toBeInTheDocument();
|
|
46
46
|
expect(container.querySelector('.actions')).toBeInTheDocument();
|
|
47
|
-
|
|
48
|
-
expect(container.querySelector('.footer-header')).toBeInTheDocument();
|
|
49
|
-
expect(getByText('Environmental information systems')).toBeInTheDocument();
|
|
50
|
-
|
|
51
|
-
expect(container.querySelector('.theme-sites')).toBeInTheDocument();
|
|
52
|
-
Default.args.sites.map((site) =>
|
|
53
|
-
expect(
|
|
54
|
-
container.querySelector(`a[href="${site.url}"] img[src="${site.src}"]`),
|
|
55
|
-
).toBeInTheDocument(),
|
|
56
|
-
);
|
|
47
|
+
expect(container.querySelector('.theme-sites-button')).toBeInTheDocument();
|
|
57
48
|
});
|
|
58
49
|
|
|
59
50
|
it('renders correctly', () => {
|
|
@@ -85,10 +76,6 @@ describe('Default', () => {
|
|
|
85
76
|
container.querySelector('a[href="https://www.eea.europa.eu/en/login"]'),
|
|
86
77
|
).toBeInTheDocument();
|
|
87
78
|
expect(container.querySelector('.actions')).toBeInTheDocument();
|
|
88
|
-
|
|
89
|
-
expect(container.querySelector('.footer-header')).toBeInTheDocument();
|
|
90
|
-
expect(getByText('Environmental information systems')).toBeInTheDocument();
|
|
91
|
-
|
|
92
79
|
expect(getByText('Sites test')).toBeInTheDocument();
|
|
93
80
|
expect(getByText('SubFooter test')).toBeInTheDocument();
|
|
94
81
|
});
|
|
@@ -116,10 +103,6 @@ describe('Default', () => {
|
|
|
116
103
|
|
|
117
104
|
expect(container.querySelector('#footer')).toBeInTheDocument();
|
|
118
105
|
expect(container.querySelector('.footer-wrapper-nobg')).toBeInTheDocument();
|
|
119
|
-
|
|
120
|
-
expect(container.querySelector('.footer-header')).toBeInTheDocument();
|
|
121
|
-
expect(getByText('Environmental information systems')).toBeInTheDocument();
|
|
122
|
-
|
|
123
106
|
expect(getByText('Actions test')).toBeInTheDocument();
|
|
124
107
|
});
|
|
125
108
|
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Button } from 'semantic-ui-react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { isInternalURL, flattenToAppURL } from '@plone/volto/helpers';
|
|
5
|
+
|
|
6
|
+
const SitesButton = (props) => {
|
|
7
|
+
if (props.children) {
|
|
8
|
+
return <div>{props.children}</div>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//fallback to props
|
|
12
|
+
return (
|
|
13
|
+
<div className="theme-sites">
|
|
14
|
+
<Button
|
|
15
|
+
className="theme-sites-button"
|
|
16
|
+
onClick={() => {
|
|
17
|
+
if (__CLIENT__ && window) {
|
|
18
|
+
window.location.replace(
|
|
19
|
+
isInternalURL(props.hrefButton)
|
|
20
|
+
? flattenToAppURL(props.hrefButton)
|
|
21
|
+
: props.hrefButton,
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
}}
|
|
25
|
+
>
|
|
26
|
+
{props.buttonName}
|
|
27
|
+
</Button>
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
SitesButton.propTypes = {
|
|
33
|
+
hrefButton: PropTypes.string,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default SitesButton;
|
package/src/ui/Footer/Social.jsx
CHANGED
|
@@ -9,13 +9,13 @@ const Social = (props) => {
|
|
|
9
9
|
|
|
10
10
|
return props.social && props.social.length > 0 ? (
|
|
11
11
|
<Grid.Row>
|
|
12
|
-
<
|
|
12
|
+
<span className="social">
|
|
13
13
|
{props.social?.map((item, index) => (
|
|
14
14
|
<a href={item.url} aria-label={`${item.name} link`} key={index}>
|
|
15
15
|
<Icon className={item.icon}></Icon>
|
|
16
16
|
</a>
|
|
17
17
|
))}
|
|
18
|
-
</
|
|
18
|
+
</span>
|
|
19
19
|
</Grid.Row>
|
|
20
20
|
) : null;
|
|
21
21
|
};
|
|
@@ -10,7 +10,7 @@ const SubFooter = (props) => {
|
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<div className={'subfooter'}>
|
|
13
|
-
<Grid>
|
|
13
|
+
<Grid className="mobile">
|
|
14
14
|
{props.managedBy &&
|
|
15
15
|
props.managedBy.map((manager, index) => (
|
|
16
16
|
<Grid.Column
|
|
@@ -18,7 +18,7 @@ const SubFooter = (props) => {
|
|
|
18
18
|
tablet={manager.columnSize.tablet}
|
|
19
19
|
computer={manager.columnSize.computer}
|
|
20
20
|
key={index}
|
|
21
|
-
className="mobile
|
|
21
|
+
className="mobile"
|
|
22
22
|
>
|
|
23
23
|
<div className="item">
|
|
24
24
|
<div className={manager.className}>
|
|
@@ -34,40 +34,12 @@ const SubFooter = (props) => {
|
|
|
34
34
|
</Grid.Column>
|
|
35
35
|
))}
|
|
36
36
|
|
|
37
|
-
<Grid.Column mobile={12} tablet={
|
|
37
|
+
<Grid.Column mobile={12} tablet={6} computer={4}>
|
|
38
38
|
<div className="item">
|
|
39
39
|
<Footer.Contact contacts={props.contacts} />
|
|
40
40
|
</div>
|
|
41
41
|
</Grid.Column>
|
|
42
42
|
</Grid>
|
|
43
|
-
|
|
44
|
-
<Footer.Description description={props.description} />
|
|
45
|
-
|
|
46
|
-
<Footer.Social social={props.social} />
|
|
47
|
-
|
|
48
|
-
<Grid className="mobile only">
|
|
49
|
-
{props.managedBy &&
|
|
50
|
-
props.managedBy.map((manager, index) => (
|
|
51
|
-
<Grid.Column
|
|
52
|
-
mobile={manager.columnSize.mobile}
|
|
53
|
-
tablet={manager.columnSize.tablet}
|
|
54
|
-
computer={manager.columnSize.computer}
|
|
55
|
-
key={index}
|
|
56
|
-
>
|
|
57
|
-
<div className="item">
|
|
58
|
-
<div className={manager.className}>
|
|
59
|
-
<a href={manager.url}>
|
|
60
|
-
<Image
|
|
61
|
-
src={manager.src}
|
|
62
|
-
alt={manager.alt}
|
|
63
|
-
loading="lazy"
|
|
64
|
-
></Image>
|
|
65
|
-
</a>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</Grid.Column>
|
|
69
|
-
))}
|
|
70
|
-
</Grid>
|
|
71
43
|
</div>
|
|
72
44
|
);
|
|
73
45
|
};
|
|
@@ -15,6 +15,13 @@ class InpageNavigation extends Component {
|
|
|
15
15
|
);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
shouldComponentUpdate(_nextProps, nextState) {
|
|
19
|
+
if (this.state.removeClass !== nextState.removeClass) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
|
|
18
25
|
handleInpageNavigationVisibility = () => {
|
|
19
26
|
const position = window.scrollY;
|
|
20
27
|
this.setState({ scrollPosition: position });
|
|
@@ -17,6 +17,13 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
@media screen and (min-width: @mobileBreakpoint) and (max-width: @computerBreakpoint) {
|
|
21
|
+
.context-navigation {
|
|
22
|
+
max-width: @mobileSidenavMaxWidth;
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
20
27
|
.context-navigation .item a {
|
|
21
28
|
display : block;
|
|
22
29
|
padding : @sidenavItemPadding;
|
|
@@ -43,7 +50,7 @@
|
|
|
43
50
|
margin-right: @sidenavHeaderIconMarginRight;
|
|
44
51
|
}
|
|
45
52
|
|
|
46
|
-
&::before {
|
|
53
|
+
&::before:not(.accordion-header) {
|
|
47
54
|
content: @sidenavHeaderIconContent;
|
|
48
55
|
font-family: 'remixicon';
|
|
49
56
|
font-weight: @sidenavHeaderIconFontWeight;
|
|
@@ -84,10 +91,14 @@
|
|
|
84
91
|
border-bottom: none;
|
|
85
92
|
}
|
|
86
93
|
|
|
87
|
-
.item.level-
|
|
94
|
+
.context-navigation .item.level-2 a {
|
|
88
95
|
padding-left: @subparItemPaddingLeft;
|
|
89
96
|
}
|
|
90
97
|
|
|
98
|
+
.context-navigation .item.level-3 a {
|
|
99
|
+
padding-left: @subparItemPaddingLeft + 2rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
91
102
|
// Active indicator
|
|
92
103
|
.context-navigation .active.item > .content > a {
|
|
93
104
|
color: @sidenavItemActiveColor;
|
|
@@ -102,4 +113,74 @@
|
|
|
102
113
|
.content.active-indicator {
|
|
103
114
|
display: none;
|
|
104
115
|
}
|
|
116
|
+
|
|
117
|
+
/*******************************
|
|
118
|
+
Side navigation
|
|
119
|
+
*******************************/
|
|
120
|
+
.accordion-header {
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
justify-content: space-between;
|
|
123
|
+
align-items: center;
|
|
124
|
+
padding: @sidenavAccordionHeaderPadding;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.context-navigation-list .title-link {
|
|
128
|
+
display: block;
|
|
129
|
+
color: @sidenavItemColor;
|
|
130
|
+
font-size : @sidenavItemFontSize;
|
|
131
|
+
font-weight: @sidenavItemFontWeight;
|
|
132
|
+
}
|
|
133
|
+
.context-navigation-list .content .title-link {
|
|
134
|
+
font-weight: @sidenavLevelTwoItemFontWeight;
|
|
135
|
+
}
|
|
136
|
+
.context-navigation {
|
|
137
|
+
box-shadow: @sidenavBoxShadow;
|
|
138
|
+
|
|
139
|
+
.current {
|
|
140
|
+
color: @sidenavItemActiveColor;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.accordion {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-wrap: wrap;
|
|
146
|
+
}
|
|
147
|
+
.ui.accordion>.title {
|
|
148
|
+
--text-color: @sidenavItemColor;
|
|
149
|
+
--text-color-hover: @sidenavItemColor;
|
|
150
|
+
font-size: @sidenavItemFontSize;
|
|
151
|
+
font-weight: @sidenavItemFontWeight;
|
|
152
|
+
padding: @sidenavFolderItemPadding;
|
|
153
|
+
text-align: left;
|
|
154
|
+
&:not([aria-expanded="true"]) {
|
|
155
|
+
border-bottom: @sidenavContentBorderBottom;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.accordion-list {
|
|
160
|
+
margin-top: 0;
|
|
161
|
+
margin-bottom: 0;
|
|
162
|
+
list-style: none;
|
|
163
|
+
padding-left: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.context-navigation-list>.accordion-list-title {
|
|
167
|
+
border-bottom: @sidenavContentBorderBottom;
|
|
168
|
+
|
|
169
|
+
.title-link {
|
|
170
|
+
padding: @sidenavFolderItemPadding;
|
|
171
|
+
font-size: @sidenavItemFontSize;
|
|
172
|
+
font-weight: @sidenavItemFontWeight;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.content .accordion-list .title-link {
|
|
177
|
+
padding: @sidenavLevelTwoItemPadding;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ui.accordion .content {
|
|
181
|
+
--bg-color: transparent;
|
|
182
|
+
width: 100%;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
105
186
|
.loadUIOverrides();
|
|
@@ -4,17 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
@sidenavMaxWidth: 350px;
|
|
6
6
|
@widescreenSidenavMaxWidth: 300px;
|
|
7
|
+
@mobileSidenavMaxWidth: 100%;
|
|
7
8
|
@sidenavBackground: @grey-0;
|
|
8
9
|
@sidenavMarginRight: @rem-space-4;
|
|
9
|
-
@sidenavPaddingLeft:
|
|
10
|
+
@sidenavPaddingLeft: 0;
|
|
10
11
|
@sidenavOverflow: inherit;
|
|
11
12
|
@sidenavMargin: @rem-space-8 auto;
|
|
13
|
+
@sidenavShadowColor: @grey-3;
|
|
14
|
+
@sidenavBoxShadow: 0px 3px 3px @sidenavShadowColor;
|
|
12
15
|
|
|
13
16
|
/* Header */
|
|
14
17
|
@sidenavHeaderColor: @blue-grey-5;
|
|
15
18
|
@sidenavHeaderFontSize: @font-size-3;
|
|
16
19
|
@sidenavHeaderFontWeight: @font-weight-7;
|
|
17
20
|
@sidenavHeaderPadding: @rem-space-4;
|
|
21
|
+
@sidenavAccordionHeaderPadding: @rem-space-2 @rem-space-4;
|
|
18
22
|
@sidenavHeaderBorderBottom: @2px solid @blue-grey-5;
|
|
19
23
|
@sidenavHeaderIconMarginRight: @rem-space-4;
|
|
20
24
|
|
|
@@ -29,7 +33,7 @@
|
|
|
29
33
|
/* Nav item */
|
|
30
34
|
@sidenavItemPadding: @rem-space-2 0 @rem-space-2 @rem-space-8;
|
|
31
35
|
@sidenavItemFontSize: @font-size-1;
|
|
32
|
-
@sidenavItemFontWeight: @font-weight-
|
|
36
|
+
@sidenavItemFontWeight: @font-weight-5;
|
|
33
37
|
@sidenavItemColor: @blue-grey-5;
|
|
34
38
|
@sidenavItemHoverBackground: @blue-grey-5;
|
|
35
39
|
@sidenavItemHoverColor: @grey-0;
|
|
@@ -46,4 +50,8 @@
|
|
|
46
50
|
/* Folders - Level 1 */
|
|
47
51
|
@sidenavFolderFontSize: @font-size-2;
|
|
48
52
|
@sidenavFolderFontWeight: @font-weight-7;
|
|
49
|
-
@sidenavFolderItemPadding: @rem-space-4
|
|
53
|
+
@sidenavFolderItemPadding: @rem-space-4;
|
|
54
|
+
|
|
55
|
+
/* Item - Level 2 */
|
|
56
|
+
@sidenavLevelTwoItemFontWeight: @font-weight-4;
|
|
57
|
+
@sidenavLevelTwoItemPadding: 0.5rem 1.5rem;
|
|
@@ -25,10 +25,23 @@ footer {
|
|
|
25
25
|
width: @wrapperWidth;
|
|
26
26
|
padding: @mobileWrapperPadding;
|
|
27
27
|
}
|
|
28
|
+
.theme-sites-button {
|
|
29
|
+
background: @themeSitesButtonBackground !important;
|
|
30
|
+
font-size: @themeSitesButtonFontSize !important;
|
|
31
|
+
padding: @themeSitesButtonPadding !important;
|
|
32
|
+
color: @themeSitesButtonColor !important;
|
|
33
|
+
border: @themeSitesButtonBorder !important;
|
|
34
|
+
}
|
|
35
|
+
.theme-sites {
|
|
36
|
+
display: flex;
|
|
37
|
+
width: 100%;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
28
40
|
}
|
|
29
41
|
|
|
30
42
|
footer .theme-sites {
|
|
31
43
|
padding: @mobileThemeSitesPadding;
|
|
44
|
+
padding-top: @computerThemeSitesPaddingTop;
|
|
32
45
|
|
|
33
46
|
.logos .ui.grid {
|
|
34
47
|
align-items: center;
|
|
@@ -37,7 +50,6 @@ footer .theme-sites {
|
|
|
37
50
|
.logos .logo img {
|
|
38
51
|
margin: @mobileThemeSitesLogoMargin;
|
|
39
52
|
}
|
|
40
|
-
|
|
41
53
|
}
|
|
42
54
|
footer .footer-header {
|
|
43
55
|
font-size: @mobileFooterTitleFontSize;
|
|
@@ -53,6 +65,7 @@ footer .footer-header {
|
|
|
53
65
|
height: @subFooterItemHeight;
|
|
54
66
|
align-items: @subFooterItemAlignItems;
|
|
55
67
|
}
|
|
68
|
+
|
|
56
69
|
.subfooter .item .ui.grid {
|
|
57
70
|
align-items: center;
|
|
58
71
|
}
|
|
@@ -64,33 +77,46 @@ footer .footer-header {
|
|
|
64
77
|
}
|
|
65
78
|
}
|
|
66
79
|
|
|
67
|
-
.subfooter .contact-wrapper {
|
|
68
|
-
margin-bottom: @tabletContactBlockMarginBottom;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
80
|
.contact-wrapper .subcontact a {
|
|
72
81
|
font-size: @computerSubContactIconFontSize;
|
|
73
82
|
margin-right: @computerSubContactIconMarginRight;
|
|
74
83
|
font-weight: @computerSubContactIconFontWeight;
|
|
75
84
|
}
|
|
85
|
+
.contact-wrapper .subcontact a {
|
|
86
|
+
font-size: @tabletSubContactIconFontSize;
|
|
87
|
+
margin-right: @tabletSubContactIconMarginRight;
|
|
88
|
+
}
|
|
76
89
|
|
|
77
90
|
.subfooter .contact {
|
|
78
|
-
display:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
gap: @
|
|
91
|
+
display: flex;
|
|
92
|
+
font-size: @tabletContactFontSize;
|
|
93
|
+
margin: @tabletContactMargin;
|
|
94
|
+
gap: @tabletContactGap;
|
|
95
|
+
}
|
|
96
|
+
.contact-wrapper .subcontact {
|
|
97
|
+
display: flex;
|
|
98
|
+
gap: @tabletContactGap;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.subfooter .contact-wrapper {
|
|
102
|
+
margin-inline: @tabletContactBlockMarginInline;
|
|
103
|
+
}
|
|
82
104
|
|
|
105
|
+
.subfooter .contact {
|
|
83
106
|
a {
|
|
84
|
-
color: @
|
|
85
|
-
}
|
|
107
|
+
color: @socialIconColor;
|
|
86
108
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
109
|
+
&:active,
|
|
110
|
+
&:hover {
|
|
111
|
+
color: @socialIconColor;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
i.icon {
|
|
115
|
+
font-size: @mobileSocialIconSize;
|
|
116
|
+
}
|
|
90
117
|
}
|
|
91
118
|
}
|
|
92
|
-
|
|
93
|
-
.subfooter .social {
|
|
119
|
+
footer .social {
|
|
94
120
|
display: flex;
|
|
95
121
|
justify-content: @mobileSocialJustifyContent;
|
|
96
122
|
margin: @mobileSocialIconsMargin;
|
|
@@ -148,7 +174,7 @@ footer .footer-wrapper .menu {
|
|
|
148
174
|
}
|
|
149
175
|
}
|
|
150
176
|
|
|
151
|
-
@media only screen and (max-width: @
|
|
177
|
+
@media only screen and (max-width: @tabletBreakpoint) {
|
|
152
178
|
.footer-wrapper > .container {
|
|
153
179
|
display: flex;
|
|
154
180
|
flex-direction: column;
|
|
@@ -158,9 +184,22 @@ footer .footer-wrapper .menu {
|
|
|
158
184
|
font-size: @mobileMenuCopyrightFontSize;
|
|
159
185
|
font-weight: @mobileMenuCopyrightFontWeight;
|
|
160
186
|
}
|
|
161
|
-
|
|
187
|
+
.contact-wrapper {
|
|
188
|
+
padding: @mobileContactMargin;
|
|
189
|
+
}
|
|
190
|
+
.contact-wrapper .contact {
|
|
191
|
+
gap: @mobileContactGap;
|
|
192
|
+
}
|
|
162
193
|
.contact-wrapper .subcontact {
|
|
163
|
-
|
|
194
|
+
display: flex;
|
|
195
|
+
gap: @mobileContactGap;
|
|
196
|
+
}
|
|
197
|
+
.theme-sites {
|
|
198
|
+
padding-top: @mobileThemeSitesPaddingTop !important;
|
|
199
|
+
padding-bottom: @mobileThemeSitesPaddingTop !important;
|
|
200
|
+
}
|
|
201
|
+
footer .social {
|
|
202
|
+
margin: @mobileSocialIconsMargin;
|
|
164
203
|
}
|
|
165
204
|
}
|
|
166
205
|
|
|
@@ -181,8 +220,11 @@ footer .footer-wrapper .menu {
|
|
|
181
220
|
|
|
182
221
|
.subfooter .contact {
|
|
183
222
|
display: flex;
|
|
223
|
+
|
|
184
224
|
font-size: @tabletContactFontSize;
|
|
225
|
+
|
|
185
226
|
margin: @tabletContactMargin;
|
|
227
|
+
|
|
186
228
|
gap: @tabletContactGap;
|
|
187
229
|
}
|
|
188
230
|
|
|
@@ -192,6 +234,7 @@ footer .footer-wrapper .menu {
|
|
|
192
234
|
|
|
193
235
|
.contact-wrapper .subcontact a {
|
|
194
236
|
font-size: @tabletSubContactIconFontSize;
|
|
237
|
+
|
|
195
238
|
margin-right: @tabletSubContactIconMarginRight;
|
|
196
239
|
}
|
|
197
240
|
|
|
@@ -199,7 +242,7 @@ footer .footer-wrapper .menu {
|
|
|
199
242
|
margin: @tabletFooterDescriptionMargin;
|
|
200
243
|
}
|
|
201
244
|
|
|
202
|
-
|
|
245
|
+
footer .social {
|
|
203
246
|
justify-content: @tabletSocialJustifyContent;
|
|
204
247
|
gap: @tabletSocialGap;
|
|
205
248
|
margin: @tabletSocialIconsMargin;
|
|
@@ -223,14 +266,6 @@ footer .footer-wrapper .menu {
|
|
|
223
266
|
}
|
|
224
267
|
}
|
|
225
268
|
|
|
226
|
-
footer .theme-sites {
|
|
227
|
-
padding: @computerThemeSitesPadding;
|
|
228
|
-
|
|
229
|
-
.logos .logo img {
|
|
230
|
-
margin: @computerThemeSitesLogoMargin;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
269
|
.subfooter .logo-header {
|
|
235
270
|
// To match the figma align
|
|
236
271
|
margin-left: @computerLogoHeaderMarginLeft;
|
|
@@ -264,7 +299,8 @@ footer .footer-wrapper .menu {
|
|
|
264
299
|
}
|
|
265
300
|
}
|
|
266
301
|
|
|
267
|
-
.subfooter
|
|
302
|
+
.subfooter,
|
|
303
|
+
footer .social {
|
|
268
304
|
margin: @computerSocialIconsMargin;
|
|
269
305
|
}
|
|
270
306
|
|
|
@@ -18,12 +18,19 @@
|
|
|
18
18
|
|
|
19
19
|
/* Theme Sites */
|
|
20
20
|
@mobileThemeSitesPadding : @rem-space-3 0;
|
|
21
|
+
@mobileThemeSitesPaddingTop : @rem-space-10;
|
|
21
22
|
@computerThemeSitesPadding : @rem-space-5 0;
|
|
23
|
+
@computerThemeSitesPaddingTop : @rem-space-20;
|
|
22
24
|
@mobileThemeSitesLogoMargin : 0 auto @rem-space-8;
|
|
23
25
|
@computerThemeSitesLogoMargin : 0 auto @rem-space-10;
|
|
24
|
-
@mobileFooterTitleFontSize : @
|
|
25
|
-
@tabletFooterTitleFontSize : @
|
|
26
|
+
@mobileFooterTitleFontSize : @font-size-1;
|
|
27
|
+
@tabletFooterTitleFontSize : @font-size-3;
|
|
26
28
|
@freshwaterLogoMaxWidth : 122px;
|
|
29
|
+
@themeSitesButtonBackground : transparent;
|
|
30
|
+
@themeSitesButtonFontSize : 1rem;
|
|
31
|
+
@themeSitesButtonPadding : 1rem 2rem;
|
|
32
|
+
@themeSitesButtonColor : white;
|
|
33
|
+
@themeSitesButtonBorder : 1px solid white;
|
|
27
34
|
|
|
28
35
|
/* Sub-footer Item */
|
|
29
36
|
@subFooterItemDisplay: flex;
|
|
@@ -42,16 +49,17 @@
|
|
|
42
49
|
@tabletContactBlockMarginBottom : @space-4;
|
|
43
50
|
@mobileContactMargin : @space-4 0;
|
|
44
51
|
@tabletContactMargin : @rem-space-050 0;
|
|
45
|
-
@contactFontSize : @font-size-
|
|
46
|
-
@tabletContactFontSize : @font-size-
|
|
52
|
+
@contactFontSize : @font-size-2;
|
|
53
|
+
@tabletContactFontSize : @font-size-3;
|
|
47
54
|
@tabletContactGap : @rem-space-4;
|
|
48
|
-
@contactGap : @rem-space-
|
|
55
|
+
@contactGap : @rem-space-4;
|
|
56
|
+
@mobileContactGap : @em-space-10;
|
|
49
57
|
@mobileContactIconMarginRight : @space-3;
|
|
50
58
|
@mobileSubcontactBlockMarginTop : @space-3;
|
|
51
59
|
@mobileContactIconFontSize : @font-size-4;
|
|
52
60
|
@computerContactIconFontSize : @font-size-9;
|
|
53
|
-
@tabletSubContactIconFontSize : @font-size-
|
|
54
|
-
@computerSubContactIconFontSize : @font-size-
|
|
61
|
+
@tabletSubContactIconFontSize : @font-size-3;
|
|
62
|
+
@computerSubContactIconFontSize : @font-size-3;
|
|
55
63
|
@tabletSubContactIconMarginRight : @rem-space-2;
|
|
56
64
|
@computerSubContactIconMarginRight : @rem-space-4;
|
|
57
65
|
@computerSubContactIconFontWeight : @font-weight-4;
|
|
@@ -65,8 +73,9 @@
|
|
|
65
73
|
@footerDescriptionTextAlign : center;
|
|
66
74
|
|
|
67
75
|
/* Social Icons */
|
|
68
|
-
@
|
|
69
|
-
@
|
|
76
|
+
@computerSocialIconsMargin : @rem-space-2 0 @rem-space-8;
|
|
77
|
+
@mobileSocialIconsMargin : @rem-space-2 0 @rem-space-10;
|
|
78
|
+
@tabletSocialIconsMargin : @rem-space-13 0;
|
|
70
79
|
@computerSocialIconsMargin : @rem-space-17 0;
|
|
71
80
|
@socialIconColor : @white;
|
|
72
81
|
@mobileSocialJustifyContent : space-around;
|