@eeacms/volto-eea-design-system 1.34.1 → 1.36.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 +13 -32
- package/package.json +1 -1
- package/src/ui/Banner/Banner.jsx +4 -1
- package/src/ui/Breadcrumbs/Breadcrumbs.jsx +25 -17
- package/theme/themes/eea/extras/banner.less +107 -53
- package/theme/themes/eea/extras/banner.variables +1 -0
- package/theme/themes/eea/extras/contextNavigation.less +91 -32
- package/theme/themes/eea/extras/contextNavigation.variables +9 -6
- package/theme/themes/eea/extras/copyright.less +8 -4
- package/theme/themes/eea/extras/custom.overrides +30 -0
- package/theme/themes/eea/extras/header.less +99 -12
- package/theme/themes/eea/extras/header.variables +125 -114
- package/theme/themes/eea/extras/inpageNavigation.less +19 -0
- package/theme/themes/eea/globals/site.variables +1 -0
- package/theme/themes/eea/globals/utilities.less +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,22 @@ 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.
|
|
7
|
+
### [1.36.0](https://github.com/eea/volto-eea-design-system/compare/1.35.0...1.36.0) - 26 November 2024
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(report-pdf): adjust styles for report PDF description area [David Ichim - [`06df35d`](https://github.com/eea/volto-eea-design-system/commit/06df35d56b098f7620ba83df7f14b649cec32070)]
|
|
8
12
|
|
|
9
13
|
#### :hammer_and_wrench: Others
|
|
10
14
|
|
|
11
|
-
-
|
|
15
|
+
- Update package.json [Ichim David - [`9a72b1a`](https://github.com/eea/volto-eea-design-system/commit/9a72b1a538a719ffbce836e1cac00845ed5965d8)]
|
|
16
|
+
### [1.35.0](https://github.com/eea/volto-eea-design-system/compare/1.34.1...1.35.0) - 14 November 2024
|
|
17
|
+
|
|
18
|
+
#### :hammer_and_wrench: Others
|
|
19
|
+
|
|
20
|
+
- Update package.json [Ichim David - [`40ae6a7`](https://github.com/eea/volto-eea-design-system/commit/40ae6a70377c54256f7365a12bded4e25b0c322e)]
|
|
21
|
+
### [1.34.1](https://github.com/eea/volto-eea-design-system/compare/1.34.0...1.34.1) - 14 October 2024
|
|
22
|
+
|
|
12
23
|
### [1.34.0](https://github.com/eea/volto-eea-design-system/compare/1.33.1...1.34.0) - 11 October 2024
|
|
13
24
|
|
|
14
25
|
#### :hammer_and_wrench: Others
|
|
@@ -88,7 +99,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
88
99
|
|
|
89
100
|
#### :hammer_and_wrench: Others
|
|
90
101
|
|
|
91
|
-
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`dfa1d1b`](https://github.com/eea/volto-eea-design-system/commit/dfa1d1bd53ae63b20aa0ef64c37bf71faf376290)]
|
|
92
102
|
### [1.31.0](https://github.com/eea/volto-eea-design-system/compare/1.23.8...1.31.0) - 22 May 2024
|
|
93
103
|
|
|
94
104
|
#### :boom: Breaking Change
|
|
@@ -117,7 +127,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
117
127
|
|
|
118
128
|
#### :hammer_and_wrench: Others
|
|
119
129
|
|
|
120
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`2ccf437`](https://github.com/eea/volto-eea-design-system/commit/2ccf4372f93d56ce3cc8bfd66de5c9fbb2698cf4)]
|
|
121
130
|
### [1.23.5](https://github.com/eea/volto-eea-design-system/compare/1.23.4...1.23.5) - 5 April 2024
|
|
122
131
|
|
|
123
132
|
#### :nail_care: Enhancements
|
|
@@ -153,8 +162,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
153
162
|
- Update package.json version to 1.23.0 [David Ichim - [`4b2eeee`](https://github.com/eea/volto-eea-design-system/commit/4b2eeee398b771ac80111e1755f67273c8940ced)]
|
|
154
163
|
- fixed merge conflict [David Ichim - [`efe0f4b`](https://github.com/eea/volto-eea-design-system/commit/efe0f4b7df1782f5143e1bee31c997801427d35c)]
|
|
155
164
|
- Update react-slick version to 0.30.1 [David Ichim - [`62d4570`](https://github.com/eea/volto-eea-design-system/commit/62d457014866fc075a3203fd0f9e66354aa73fe5)]
|
|
156
|
-
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c6c74f0`](https://github.com/eea/volto-eea-design-system/commit/c6c74f049ee787632b8ad0ec0f28531ac4d0f20f)]
|
|
157
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d3d7793`](https://github.com/eea/volto-eea-design-system/commit/d3d779363caa10f384d829a7e4242c5d54268099)]
|
|
158
165
|
### [1.23.0](https://github.com/eea/volto-eea-design-system/compare/1.22.7...1.23.0) - 19 February 2024
|
|
159
166
|
|
|
160
167
|
### [1.22.7](https://github.com/eea/volto-eea-design-system/compare/1.22.6...1.22.7) - 22 January 2024
|
|
@@ -240,11 +247,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
240
247
|
- Add dropdown test case to Header component [David Ichim - [`9ea3234`](https://github.com/eea/volto-eea-design-system/commit/9ea3234c2c0f1c819c7c2b54a75c56cda7812c56)]
|
|
241
248
|
- Remove unused import in Header.test.jsx [David Ichim - [`082069e`](https://github.com/eea/volto-eea-design-system/commit/082069e1f057786e0f1fb00c98d54b8e03b5d9c5)]
|
|
242
249
|
- Added some tests for TopDropdownMenu mobile and dropdown interaction [David Ichim - [`9d24488`](https://github.com/eea/volto-eea-design-system/commit/9d24488c1e97b2b1b14bd9bd8cb6f5b68414794b)]
|
|
243
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`eadf018`](https://github.com/eea/volto-eea-design-system/commit/eadf018aa1f32d310619ce4ef08f9b11950a20dc)]
|
|
244
250
|
- Lint fix [David Ichim - [`e29fd50`](https://github.com/eea/volto-eea-design-system/commit/e29fd50ee73477007dcf94a268596e6c11176d7b)]
|
|
245
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`947cb92`](https://github.com/eea/volto-eea-design-system/commit/947cb929c01ebb6f46bf124833fe1fec0f385edb)]
|
|
246
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8356dfe`](https://github.com/eea/volto-eea-design-system/commit/8356dfe929039dcd165af0692cbbfc771a0f7fb4)]
|
|
247
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`e38f17e`](https://github.com/eea/volto-eea-design-system/commit/e38f17ed735e743e59df7d06ca723c1218bdb569)]
|
|
248
251
|
### [1.20.0](https://github.com/eea/volto-eea-design-system/compare/1.19.0...1.20.0) - 2 November 2023
|
|
249
252
|
|
|
250
253
|
#### :rocket: New Features
|
|
@@ -277,9 +280,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
277
280
|
|
|
278
281
|
#### :house: Internal changes
|
|
279
282
|
|
|
280
|
-
- chore: [JENKINS] do not run tests on PR comments [valentinab25 - [`51b68fc`](https://github.com/eea/volto-eea-design-system/commit/51b68fc76a956996e01521b784262c67e7094d35)]
|
|
281
|
-
- chore: [JENKINS] add comment step [valentinab25 - [`5022758`](https://github.com/eea/volto-eea-design-system/commit/50227587db2c72d17e26e7b66f28d4c09b760873)]
|
|
282
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`a70ca64`](https://github.com/eea/volto-eea-design-system/commit/a70ca642918f578d6737d975e4769bac8312f48d)]
|
|
283
283
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`59ecb8e`](https://github.com/eea/volto-eea-design-system/commit/59ecb8e28b259472303324f9655b0cbbcbbf9c23)]
|
|
284
284
|
|
|
285
285
|
#### :hammer_and_wrench: Others
|
|
@@ -405,7 +405,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
405
405
|
|
|
406
406
|
#### :hammer_and_wrench: Others
|
|
407
407
|
|
|
408
|
-
- test: Fix eslint and yarn i18n [Alin Voinea - [`331149f`](https://github.com/eea/volto-eea-design-system/commit/331149f5eb16a9cc6f2d996f7b793909773063c2)]
|
|
409
408
|
- i18n: Add en [Alin Voinea - [`4584295`](https://github.com/eea/volto-eea-design-system/commit/458429530d993c27cfb962ddfe2f376f3568bf01)]
|
|
410
409
|
- Release 1.17.0 [Alin Voinea - [`e3c25ee`](https://github.com/eea/volto-eea-design-system/commit/e3c25eeeca5e863244faae396b5aa915d0702633)]
|
|
411
410
|
- test: add unit tests for DS components - refs #254313 [ana-oprea - [`0c4d4d1`](https://github.com/eea/volto-eea-design-system/commit/0c4d4d118b8e13082c576dc5c2dce6a715f49006)]
|
|
@@ -515,7 +514,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
515
514
|
#### :hammer_and_wrench: Others
|
|
516
515
|
|
|
517
516
|
- Release 1.14.0 [Alin Voinea - [`cb9084f`](https://github.com/eea/volto-eea-design-system/commit/cb9084fb2246dc1b729e12a419a26daa12c26f7a)]
|
|
518
|
-
- test: [JENKINS] set pipe fail [valentinab25 - [`1cdfc39`](https://github.com/eea/volto-eea-design-system/commit/1cdfc39d08f1ae301dea57f1e4be5265c4a4c6f9)]
|
|
519
517
|
- test: try storybook upload [valentinab25 - [`6d5833d`](https://github.com/eea/volto-eea-design-system/commit/6d5833d4419d00f1ac04c9eb78a0884214f9a494)]
|
|
520
518
|
- test: remove useless code [valentinab25 - [`2c14b0c`](https://github.com/eea/volto-eea-design-system/commit/2c14b0ce4596cfc11a81b9762677596d1861acfe)]
|
|
521
519
|
### [1.13.2](https://github.com/eea/volto-eea-design-system/compare/1.13.1...1.13.2) - 13 June 2023
|
|
@@ -554,7 +552,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
554
552
|
|
|
555
553
|
#### :house: Internal changes
|
|
556
554
|
|
|
557
|
-
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`fb2b166`](https://github.com/eea/volto-eea-design-system/commit/fb2b166d64f95a1c183901abfe0fe0254d1bbc7a)]
|
|
558
555
|
|
|
559
556
|
#### :house: Documentation changes
|
|
560
557
|
|
|
@@ -888,7 +885,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
888
885
|
|
|
889
886
|
- Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
|
|
890
887
|
- better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
|
|
891
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b227cf8`](https://github.com/eea/volto-eea-design-system/commit/b227cf8a8c44b9d91e9fda8a7999fb0a42bacdca)]
|
|
892
888
|
- 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)]
|
|
893
889
|
- prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
|
|
894
890
|
- fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
|
|
@@ -959,7 +955,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
959
955
|
|
|
960
956
|
#### :house: Internal changes
|
|
961
957
|
|
|
962
|
-
- chore(docusaurus): ignore website/.yarn [Giorgos Stamatis - [`0b33ffd`](https://github.com/eea/volto-eea-design-system/commit/0b33ffd1dda61b126e3cc5ff48888124d6aee41b)]
|
|
963
958
|
- style(header): react syntax fix [Antonis Tarantilis - [`3add127`](https://github.com/eea/volto-eea-design-system/commit/3add1271c785a92bea0ef925d7bc562cef1e0d92)]
|
|
964
959
|
|
|
965
960
|
#### :house: Documentation changes
|
|
@@ -1156,7 +1151,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1156
1151
|
|
|
1157
1152
|
- Release 1.0.0-alpha.10 [Alin Voinea - [`7014d08`](https://github.com/eea/volto-eea-design-system/commit/7014d080ce114bd0bc039abeecbd7229333b0971)]
|
|
1158
1153
|
- Add variable definitions [kreafox - [`293fe65`](https://github.com/eea/volto-eea-design-system/commit/293fe65e2f24e6290e1286229169a77f9be4750e)]
|
|
1159
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`ef58a6f`](https://github.com/eea/volto-eea-design-system/commit/ef58a6f5ad8deea26b1395a86778fe1159b7617b)]
|
|
1160
1154
|
- Back to dev [Alin Voinea - [`31d4616`](https://github.com/eea/volto-eea-design-system/commit/31d461662b9184a7bbe190e86f3c47fab39229fe)]
|
|
1161
1155
|
### [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
|
|
1162
1156
|
|
|
@@ -1214,7 +1208,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1214
1208
|
- bump package version [David Ichim - [`b4628be`](https://github.com/eea/volto-eea-design-system/commit/b4628bed134abc76e38a243d4e98143e19cef989)]
|
|
1215
1209
|
- 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)]
|
|
1216
1210
|
- (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)]
|
|
1217
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`c4769e9`](https://github.com/eea/volto-eea-design-system/commit/c4769e987d525f5dcafac8e6cf8a89fd8111667d)]
|
|
1218
1211
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`92feea0`](https://github.com/eea/volto-eea-design-system/commit/92feea09796c9ef0530f65fa1d34139905133215)]
|
|
1219
1212
|
- Proof reading page header section [ichim-david - [`230239e`](https://github.com/eea/volto-eea-design-system/commit/230239e1b22734fb8606656985bc5e513731e244)]
|
|
1220
1213
|
### [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
|
|
@@ -1246,7 +1239,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1246
1239
|
#### :hammer_and_wrench: Others
|
|
1247
1240
|
|
|
1248
1241
|
- Release 1.0.0-alpha.7 [Alin Voinea - [`7e66bcc`](https://github.com/eea/volto-eea-design-system/commit/7e66bcc296b389bc55073e7f99681534977dce3a)]
|
|
1249
|
-
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`ce47e9b`](https://github.com/eea/volto-eea-design-system/commit/ce47e9b163bcb4eda988e3a87718b54ffbd3f99f)]
|
|
1250
1242
|
- added back descriptionDistance variable until package release [David Ichim - [`3af811a`](https://github.com/eea/volto-eea-design-system/commit/3af811a8d86a132e16de118697ba5a4302a8a4da)]
|
|
1251
1243
|
- Back to dev [Alin Voinea - [`cb531c9`](https://github.com/eea/volto-eea-design-system/commit/cb531c933c907bdbb88c9de0f1df2eb7ce899a4c)]
|
|
1252
1244
|
- Proper paths if the package is not installed, but in development [Tiberiu Ichim - [`7a2655f`](https://github.com/eea/volto-eea-design-system/commit/7a2655f7cf9d3c687f172eefcf2b4cff4b12f832)]
|
|
@@ -1334,7 +1326,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1334
1326
|
#### :hammer_and_wrench: Others
|
|
1335
1327
|
|
|
1336
1328
|
- 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)]
|
|
1337
|
-
- Upgrade Jenkinsfile storybook to yarn 3 [Alin Voinea - [`d20de8d`](https://github.com/eea/volto-eea-design-system/commit/d20de8d6e21a14660b7b5125a80218a8a6f19e62)]
|
|
1338
1329
|
- Back to dev [Alin Voinea - [`563fbc5`](https://github.com/eea/volto-eea-design-system/commit/563fbc5fac0d4b0295690d0a3a4e04271753f18a)]
|
|
1339
1330
|
- perf(docusaurus): added remixicon and roboto locally [Giorgos Stamatis - [`b67b1a7`](https://github.com/eea/volto-eea-design-system/commit/b67b1a72bc9cdc7c62a25967e81b430f8b62d558)]
|
|
1340
1331
|
### [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
|
|
@@ -1427,7 +1418,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1427
1418
|
- modified left value of full width classes with toolbars [David Ichim - [`70d82d4`](https://github.com/eea/volto-eea-design-system/commit/70d82d47fbc2c00a3a709de0d5c087c8443a1eae)]
|
|
1428
1419
|
- WIP settings column grid width when using full size class [David Ichim - [`affc7ac`](https://github.com/eea/volto-eea-design-system/commit/affc7ac99527aa92d5a192d90dc8c9ec46a66404)]
|
|
1429
1420
|
- fix eslint [Miu Razvan - [`30c52e4`](https://github.com/eea/volto-eea-design-system/commit/30c52e4eb443555ca44c1b35df064e73d52c0a8b)]
|
|
1430
|
-
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`76a41c7`](https://github.com/eea/volto-eea-design-system/commit/76a41c786995fd54afe4d1c345de939f683ffa70)]
|
|
1431
1421
|
- 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)]
|
|
1432
1422
|
- clean up [Miu Razvan - [`89f3cb3`](https://github.com/eea/volto-eea-design-system/commit/89f3cb33d70a14806a953f0acd1807e94169ee5c)]
|
|
1433
1423
|
- Feature(container): flexible container size #260 from eea/feature-flexible-container [ichim-david - [`8f84c5b`](https://github.com/eea/volto-eea-design-system/commit/8f84c5b67afe9cbe01b2a44a8f92a9a554e1036a)]
|
|
@@ -1529,7 +1519,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1529
1519
|
|
|
1530
1520
|
#### :nail_care: Enhancements
|
|
1531
1521
|
|
|
1532
|
-
- change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
|
|
1533
1522
|
- change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
|
|
1534
1523
|
- change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
|
|
1535
1524
|
- 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)]
|
|
@@ -1564,7 +1553,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1564
1553
|
#### :hammer_and_wrench: Others
|
|
1565
1554
|
|
|
1566
1555
|
- Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
|
|
1567
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
|
|
1568
1556
|
- Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
|
|
1569
1557
|
### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
|
|
1570
1558
|
|
|
@@ -2320,10 +2308,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2320
2308
|
#### :hammer_and_wrench: Others
|
|
2321
2309
|
|
|
2322
2310
|
- prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
|
|
2323
|
-
- [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
|
|
2324
|
-
- [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
|
|
2325
|
-
- [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
|
|
2326
|
-
- [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
|
|
2327
2311
|
### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
|
|
2328
2312
|
|
|
2329
2313
|
#### :rocket: New Features
|
|
@@ -2748,7 +2732,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2748
2732
|
- set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
|
|
2749
2733
|
- remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
|
|
2750
2734
|
- fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
|
|
2751
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
|
|
2752
2735
|
- fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
|
|
2753
2736
|
- removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
|
|
2754
2737
|
- update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
|
|
@@ -2835,7 +2818,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2835
2818
|
- remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
|
|
2836
2819
|
- Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
|
|
2837
2820
|
- fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
|
|
2838
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
|
|
2839
2821
|
- fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
|
|
2840
2822
|
- refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
|
|
2841
2823
|
- removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
|
|
@@ -3404,7 +3386,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
3404
3386
|
- Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
|
|
3405
3387
|
- 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)]
|
|
3406
3388
|
- 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)]
|
|
3407
|
-
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
|
|
3408
3389
|
### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
|
|
3409
3390
|
|
|
3410
3391
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
package/src/ui/Banner/Banner.jsx
CHANGED
|
@@ -53,7 +53,10 @@ function Banner({ image, metadata, properties, children, styles, ...rest }) {
|
|
|
53
53
|
return (
|
|
54
54
|
<div className="eea banner">
|
|
55
55
|
<div
|
|
56
|
-
className={cx(
|
|
56
|
+
className={cx(
|
|
57
|
+
imageUrl ? 'image' : '',
|
|
58
|
+
...Object.values(styles || {}),
|
|
59
|
+
)}
|
|
57
60
|
style={imageUrl ? { backgroundImage: `url(${imageUrl})` } : {}}
|
|
58
61
|
>
|
|
59
62
|
<div className="gradient">
|
|
@@ -15,7 +15,7 @@ const Breadcrumbs = ({
|
|
|
15
15
|
sections = [],
|
|
16
16
|
icon = 'ri-arrow-right-s-line',
|
|
17
17
|
size = 'tiny',
|
|
18
|
-
|
|
18
|
+
contentTypesAsBreadcrumbSection = [],
|
|
19
19
|
}) => {
|
|
20
20
|
return sections.length > 0 ? (
|
|
21
21
|
<Segment className="breadcrumbs" attached vertical>
|
|
@@ -27,22 +27,28 @@ const Breadcrumbs = ({
|
|
|
27
27
|
<Image src={homeIcon} alt="" />
|
|
28
28
|
</Link>
|
|
29
29
|
</li>
|
|
30
|
-
{sections.map((item, index, items) =>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{item.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
{sections.map((item, index, items) => {
|
|
31
|
+
const url = item.url || item.href;
|
|
32
|
+
const lastItem = items.length - 1 === index;
|
|
33
|
+
return (
|
|
34
|
+
<li key={index}>
|
|
35
|
+
<Breadcrumb.Divider key={`divider-${url}`}>
|
|
36
|
+
<Icon className={icon}></Icon>
|
|
37
|
+
</Breadcrumb.Divider>
|
|
38
|
+
{index < items.length - 1 &&
|
|
39
|
+
contentTypesAsBreadcrumbSection.indexOf(item.portal_type) ===
|
|
40
|
+
-1 ? (
|
|
41
|
+
<Link key={item.key} to={url} className="section">
|
|
42
|
+
{item.title}
|
|
43
|
+
</Link>
|
|
44
|
+
) : (
|
|
45
|
+
<Breadcrumb.Section key={item.key} active={lastItem}>
|
|
46
|
+
{item.title}
|
|
47
|
+
</Breadcrumb.Section>
|
|
48
|
+
)}
|
|
49
|
+
</li>
|
|
50
|
+
);
|
|
51
|
+
})}
|
|
46
52
|
</ol>
|
|
47
53
|
</Breadcrumb>
|
|
48
54
|
</Container>
|
|
@@ -58,6 +64,8 @@ Breadcrumbs.propTypes = {
|
|
|
58
64
|
PropTypes.shape({
|
|
59
65
|
title: PropTypes.string,
|
|
60
66
|
href: PropTypes.string,
|
|
67
|
+
url: PropTypes.string,
|
|
68
|
+
portal_type: PropTypes.string,
|
|
61
69
|
key: PropTypes.string,
|
|
62
70
|
}),
|
|
63
71
|
).isRequired,
|
|
@@ -112,53 +112,6 @@
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.light-header {
|
|
116
|
-
.container {
|
|
117
|
-
width: 100%;
|
|
118
|
-
max-width: 1300px !important;
|
|
119
|
-
}
|
|
120
|
-
.eea.banner {
|
|
121
|
-
--text-color: @bannerHomepageColor;
|
|
122
|
-
|
|
123
|
-
.content-type {
|
|
124
|
-
color: @secondaryColorCSSVar;
|
|
125
|
-
font-weight: bold;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.gradient .content .subtitle {
|
|
129
|
-
margin: 0 0 0.5rem 0;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.homepage-header .banner {
|
|
135
|
-
--text-color: @bannerHomepageColor;
|
|
136
|
-
height: 500px;
|
|
137
|
-
|
|
138
|
-
.content-type {
|
|
139
|
-
color: @secondaryColorCSSVar;
|
|
140
|
-
font-size: @h2;
|
|
141
|
-
font-weight: bold;
|
|
142
|
-
}
|
|
143
|
-
.container {
|
|
144
|
-
display: flex;
|
|
145
|
-
height: 100%;
|
|
146
|
-
align-items: flex-end;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.content {
|
|
150
|
-
padding: 0 !important;
|
|
151
|
-
margin-bottom: 2rem;
|
|
152
|
-
}
|
|
153
|
-
.grid {
|
|
154
|
-
text-align: center;
|
|
155
|
-
}
|
|
156
|
-
.wrapper {
|
|
157
|
-
justify-content: center;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
115
|
/*Share Popup*/
|
|
163
116
|
|
|
164
117
|
.ui.popup.share-popup {
|
|
@@ -253,14 +206,91 @@
|
|
|
253
206
|
}
|
|
254
207
|
}
|
|
255
208
|
|
|
256
|
-
|
|
257
|
-
|
|
209
|
+
/*******************************
|
|
210
|
+
Light & Hero Header
|
|
211
|
+
*******************************/
|
|
212
|
+
.light-header {
|
|
213
|
+
.container {
|
|
214
|
+
width: 100%;
|
|
215
|
+
max-width: 1300px !important;
|
|
216
|
+
}
|
|
217
|
+
.eea.banner {
|
|
218
|
+
--text-color: @bannerHomepageColor;
|
|
219
|
+
|
|
220
|
+
.content-type {
|
|
221
|
+
color: @secondaryColorCSSVar;
|
|
222
|
+
font-weight: bold;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.subtitle-light {
|
|
226
|
+
font-size: 24px !important;
|
|
227
|
+
line-height: 1.2;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.gradient .content {
|
|
231
|
+
padding: @computerContentPadding;
|
|
232
|
+
.subtitle {
|
|
233
|
+
margin: 0.5rem 0;
|
|
234
|
+
font-size: 1.25rem;
|
|
235
|
+
line-height: 1.2;
|
|
236
|
+
}
|
|
237
|
+
.metadata {
|
|
238
|
+
margin-top: 1rem;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.homepage-header .banner {
|
|
245
|
+
--text-color: @bannerHomepageColor;
|
|
246
|
+
height: 500px;
|
|
247
|
+
|
|
248
|
+
.content-type {
|
|
249
|
+
color: @secondaryColorCSSVar;
|
|
250
|
+
font-size: @h4;
|
|
251
|
+
font-weight: bold;
|
|
252
|
+
}
|
|
253
|
+
.container {
|
|
254
|
+
display: flex;
|
|
255
|
+
height: 100%;
|
|
256
|
+
align-items: flex-end;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.grid {
|
|
260
|
+
text-align: center;
|
|
261
|
+
}
|
|
262
|
+
.wrapper {
|
|
263
|
+
justify-content: center;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.hero-header {
|
|
268
|
+
.banner {
|
|
269
|
+
height: calc(100dvh - 35px);
|
|
270
|
+
min-height: 400px;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
@media only screen and (min-height: 600px) {
|
|
274
|
+
.hero-header {
|
|
275
|
+
.gradient .content {
|
|
276
|
+
margin-bottom: 10dvh;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
|
282
|
+
.light-header .eea.banner .gradient .content {
|
|
283
|
+
padding: 16.5rem 0 1.25rem;
|
|
284
|
+
}
|
|
258
285
|
}
|
|
259
286
|
|
|
260
287
|
@media only screen and (min-width: @computerBreakpoint) {
|
|
261
|
-
.hero-header
|
|
262
|
-
|
|
288
|
+
.hero-header {
|
|
289
|
+
.subtitle-light {
|
|
290
|
+
letter-spacing: @font-letterspacing-00;
|
|
291
|
+
}
|
|
263
292
|
}
|
|
293
|
+
|
|
264
294
|
.eea.banner {
|
|
265
295
|
.image {
|
|
266
296
|
.gradient .content {
|
|
@@ -271,24 +301,48 @@
|
|
|
271
301
|
.gradient .content {
|
|
272
302
|
padding: @computerContentPadding;
|
|
273
303
|
.light-header & {
|
|
274
|
-
padding:
|
|
304
|
+
padding: 18.625rem 0 1.25rem;
|
|
275
305
|
}
|
|
276
306
|
|
|
277
307
|
.title {
|
|
278
308
|
margin: @computerTitleMargin;
|
|
279
309
|
font-size: @computerTitleFontSize;
|
|
280
310
|
line-height: @computerTitleLineHeight;
|
|
311
|
+
.hero-header & {
|
|
312
|
+
line-height: 1.2;
|
|
313
|
+
letter-spacing: @font-letterspacing-00;
|
|
314
|
+
}
|
|
281
315
|
}
|
|
282
316
|
|
|
283
317
|
.subtitle {
|
|
284
|
-
margin: @computerSubtitleMargin;
|
|
285
318
|
font-size: @computerSubtitleFontSize;
|
|
319
|
+
margin: @computerSubtitleMargin;
|
|
286
320
|
line-height: @computerSubtitleLineHeight;
|
|
287
321
|
}
|
|
288
322
|
}
|
|
289
323
|
}
|
|
290
324
|
}
|
|
291
325
|
|
|
326
|
+
@media screen and (min-width: 1280px) {
|
|
327
|
+
.hero-header .banner {
|
|
328
|
+
.title {
|
|
329
|
+
font-size: @heroTitleFontSize !important;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.content-type {
|
|
333
|
+
font-size: @h3;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.subtitle-light {
|
|
337
|
+
font-size: @h2 !important;
|
|
338
|
+
line-height: 1.2;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
/*******************************
|
|
343
|
+
/Light & Hero Header
|
|
344
|
+
*******************************/
|
|
345
|
+
|
|
292
346
|
@media print {
|
|
293
347
|
.eea.banner .gradient .content,
|
|
294
348
|
.eea.banner .image .gradient .content {
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
@mobileTitleFontSize : @mobileH1;
|
|
36
36
|
@tabletTitleFontSize : @h2;
|
|
37
37
|
@computerTitleFontSize : @h1;
|
|
38
|
+
@heroTitleFontSize : 3.5rem;
|
|
38
39
|
@mobileTitleLineHeight : @headerLineHeight;
|
|
39
40
|
@tabletTitleLineHeight : @headerLineHeight;
|
|
40
41
|
@computerTitleLineHeight : @headerLineHeight;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
@import (multiple) '../../theme.config';
|
|
5
5
|
|
|
6
6
|
.context-navigation {
|
|
7
|
-
max-width
|
|
7
|
+
max-width: @widescreenSidenavMaxWidth;
|
|
8
8
|
// background : @sidenavBackground;
|
|
9
|
-
margin-right
|
|
10
|
-
padding-left
|
|
11
|
-
overflow
|
|
9
|
+
margin-right: @sidenavMarginRight;
|
|
10
|
+
padding-left: @sidenavPaddingLeft;
|
|
11
|
+
overflow: @sidenavOverflow;
|
|
12
12
|
}
|
|
13
13
|
@media (max-width: @largeMonitorBreakpoint) {
|
|
14
14
|
.context-navigation {
|
|
@@ -25,26 +25,25 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.context-navigation .item a {
|
|
28
|
-
display
|
|
29
|
-
padding
|
|
30
|
-
font-size
|
|
28
|
+
display: block;
|
|
29
|
+
padding: @sidenavItemPadding;
|
|
30
|
+
font-size: @sidenavItemFontSize;
|
|
31
31
|
font-weight: @sidenavItemFontWeight;
|
|
32
|
-
color
|
|
32
|
+
color: @sidenavItemColor;
|
|
33
33
|
|
|
34
34
|
&:hover,
|
|
35
35
|
&:focus-visible {
|
|
36
36
|
background: @sidenavItemHoverBackground;
|
|
37
|
-
color
|
|
37
|
+
color: @sidenavItemHoverColor;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.context-navigation-header {
|
|
42
|
-
display
|
|
43
|
-
color
|
|
44
|
-
font-size
|
|
42
|
+
display: flex;
|
|
43
|
+
color: @sidenavHeaderColor;
|
|
44
|
+
font-size: @sidenavHeaderFontSize;
|
|
45
45
|
font-weight: @sidenavHeaderFontWeight;
|
|
46
|
-
padding
|
|
47
|
-
border-bottom: @sidenavHeaderBorderBottom;
|
|
46
|
+
padding: @sidenavHeaderPadding;
|
|
48
47
|
|
|
49
48
|
i.icon {
|
|
50
49
|
margin-right: @sidenavHeaderIconMarginRight;
|
|
@@ -59,9 +58,9 @@
|
|
|
59
58
|
}
|
|
60
59
|
|
|
61
60
|
.context-navigation a.contenttype-folder {
|
|
62
|
-
font-size
|
|
61
|
+
font-size: @sidenavFolderFontSize;
|
|
63
62
|
font-weight: @sidenavFolderFontWeight;
|
|
64
|
-
padding
|
|
63
|
+
padding: @sidenavFolderItemPadding;
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
.context-navigation .ui.list > .item > .content {
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
|
|
71
70
|
// Hide last border
|
|
72
71
|
.context-navigation .ui.list > .item:last-child > .content {
|
|
73
|
-
border-bottom: none;
|
|
72
|
+
border-bottom: none;
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
// Nav custom list
|
|
@@ -88,17 +87,21 @@
|
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
.context-navigation .item.level-1 .ui.divider {
|
|
91
|
-
border-bottom: none;
|
|
90
|
+
border-bottom: none;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
.context-navigation .item.level-2 a {
|
|
95
94
|
padding-left: @subparItemPaddingLeft;
|
|
96
95
|
}
|
|
97
96
|
|
|
98
|
-
|
|
97
|
+
.context-navigation .item.level-3 a {
|
|
99
98
|
padding-left: @subparItemPaddingLeft + 2rem;
|
|
100
99
|
}
|
|
101
100
|
|
|
101
|
+
.context-navigation .item.level-4 a {
|
|
102
|
+
padding-left: @subparItemPaddingLeft + 4rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
102
105
|
// Active indicator
|
|
103
106
|
.context-navigation .active.item > .content > a {
|
|
104
107
|
color: @sidenavItemActiveColor;
|
|
@@ -106,7 +109,7 @@
|
|
|
106
109
|
}
|
|
107
110
|
.context-navigation .active.item > .content > a:hover,
|
|
108
111
|
.context-navigation .active.item > .content > a:focus-visible {
|
|
109
|
-
color
|
|
112
|
+
color: @sidenavItemActiveColorHover;
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
// Hide arrow
|
|
@@ -114,6 +117,21 @@
|
|
|
114
117
|
display: none;
|
|
115
118
|
}
|
|
116
119
|
|
|
120
|
+
/*******************************
|
|
121
|
+
Report additional files navigation
|
|
122
|
+
*******************************/
|
|
123
|
+
.report-navigation {
|
|
124
|
+
.list {
|
|
125
|
+
padding-inline-start: 1.5rem;
|
|
126
|
+
}
|
|
127
|
+
.list-item {
|
|
128
|
+
padding: 0.25rem 0;
|
|
129
|
+
}
|
|
130
|
+
.list-item:has(> .context-navigation-detail) {
|
|
131
|
+
list-style-type: none;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
117
135
|
/*******************************
|
|
118
136
|
Side navigation
|
|
119
137
|
*******************************/
|
|
@@ -126,6 +144,13 @@
|
|
|
126
144
|
background-color: @sidenavAccordionHeaderBackgroundColor;
|
|
127
145
|
box-shadow: @sidenavBoxShadow;
|
|
128
146
|
}
|
|
147
|
+
@media only screen and (max-width: 991px) {
|
|
148
|
+
.view-viewview.light-header .eea-side-menu:not(.fixed) .accordion-header {
|
|
149
|
+
color: white;
|
|
150
|
+
background: transparent;
|
|
151
|
+
box-shadow: 0px 3px 6px @grey-5;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
129
154
|
|
|
130
155
|
.context-navigation-list {
|
|
131
156
|
width: @sidenavMaxWidth;
|
|
@@ -134,16 +159,15 @@
|
|
|
134
159
|
}
|
|
135
160
|
.context-navigation-list .title-link {
|
|
136
161
|
display: block;
|
|
137
|
-
color: @sidenavItemColor;
|
|
162
|
+
color: @sidenavItemColor;
|
|
138
163
|
margin: 0 @sidenavItemMargin;
|
|
139
|
-
font-size
|
|
164
|
+
font-size: @sidenavItemFontSize;
|
|
140
165
|
font-weight: @sidenavItemFontWeight;
|
|
141
166
|
}
|
|
142
167
|
.context-navigation-list .content .title-link {
|
|
143
168
|
font-weight: @sidenavLevelTwoItemFontWeight;
|
|
144
169
|
}
|
|
145
170
|
.context-navigation {
|
|
146
|
-
|
|
147
171
|
.current {
|
|
148
172
|
color: @sidenavItemActiveColor;
|
|
149
173
|
}
|
|
@@ -151,32 +175,67 @@
|
|
|
151
175
|
.accordion {
|
|
152
176
|
display: flex;
|
|
153
177
|
flex-wrap: wrap;
|
|
178
|
+
margin: 0 !important;
|
|
154
179
|
}
|
|
155
|
-
.ui.accordion
|
|
180
|
+
.ui.accordion > .title {
|
|
156
181
|
--text-color: @sidenavItemColor;
|
|
157
182
|
--text-color-hover: @sidenavItemColor;
|
|
158
183
|
font-size: @sidenavItemFontSize;
|
|
159
184
|
font-weight: @sidenavItemFontWeight;
|
|
160
185
|
padding: @sidenavFolderItemPadding;
|
|
161
186
|
text-align: left;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
border-bottom: @sidenavContentBorderBottom;
|
|
165
|
-
}
|
|
187
|
+
line-height: @sidenavFolderItemLineHeight;
|
|
188
|
+
margin: 0;
|
|
166
189
|
}
|
|
190
|
+
|
|
191
|
+
// add border-bottom only on first level titles
|
|
192
|
+
.context-navigation-list
|
|
193
|
+
> .accordion-list-item
|
|
194
|
+
> .accordion
|
|
195
|
+
> .title:not([aria-expanded='true']) {
|
|
196
|
+
border-bottom: @sidenavContentBorderBottom;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// add border-bottom to content of first level expanded accordion
|
|
200
|
+
.context-navigation-list
|
|
201
|
+
> .accordion-list-item
|
|
202
|
+
> .accordion
|
|
203
|
+
> .title[aria-expanded='true']
|
|
204
|
+
+ .content {
|
|
205
|
+
border-bottom: @sidenavContentBorderBottom;
|
|
206
|
+
}
|
|
207
|
+
|
|
167
208
|
.context-navigation-list.accordion-list {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
209
|
+
max-height: @sidenavAccordionListMaxHeight;
|
|
210
|
+
overflow-y: auto;
|
|
211
|
+
-webkit-overflow-scrolling: touch;
|
|
171
212
|
}
|
|
172
213
|
.accordion-list {
|
|
214
|
+
.accordion-list .accordion-list-item .title {
|
|
215
|
+
padding-left: @secondLevelItemPaddingLeft;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.accordion-list .accordion-list .accordion-list-item .title {
|
|
219
|
+
padding-left: @thirdLevelItemPaddingLeft;
|
|
220
|
+
}
|
|
221
|
+
.accordion-list .accordion-list-item .accordion-list-title .title-link {
|
|
222
|
+
padding-left: @thirdLevelItemPaddingLeft;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.accordion-list
|
|
226
|
+
.accordion-list
|
|
227
|
+
.accordion-list-item
|
|
228
|
+
.accordion-list-title
|
|
229
|
+
.title-link {
|
|
230
|
+
padding-left: @fourthLevelItemPaddingLeft;
|
|
231
|
+
}
|
|
173
232
|
margin-top: 0;
|
|
174
233
|
margin-bottom: 0;
|
|
175
234
|
list-style: none;
|
|
176
235
|
padding-left: 0;
|
|
177
236
|
}
|
|
178
237
|
|
|
179
|
-
.context-navigation-list
|
|
238
|
+
.context-navigation-list > .accordion-list-title {
|
|
180
239
|
border-bottom: @sidenavContentBorderBottom;
|
|
181
240
|
|
|
182
241
|
.title-link {
|
|
@@ -21,11 +21,10 @@
|
|
|
21
21
|
@sidenavAccordionHeaderPadding: @rem-space-2 @rem-space-4;
|
|
22
22
|
@sidenavAccordionHeaderBackgroundColor: white;
|
|
23
23
|
@sidenavAccordionListMaxHeight: 86dvh;
|
|
24
|
-
@
|
|
25
|
-
@sidenavHeaderIconMarginRight: @rem-space-4;
|
|
24
|
+
@sidenavHeaderIconMarginRight: 0;
|
|
26
25
|
|
|
27
26
|
/* Header icon */
|
|
28
|
-
@sidenavHeaderIconContent:
|
|
27
|
+
@sidenavHeaderIconContent: '\ef32';
|
|
29
28
|
@sidenavHeaderIconFontWeight: @font-weight-4;
|
|
30
29
|
@sidenavHeaderIconPaddingRight: @rem-space-4;
|
|
31
30
|
|
|
@@ -42,9 +41,6 @@
|
|
|
42
41
|
@sidenavLastItemMarginBottom: @rem-space-2;
|
|
43
42
|
@sidenavItemMargin: 2px;
|
|
44
43
|
|
|
45
|
-
/* Third level item */
|
|
46
|
-
@subparItemPaddingLeft: @rem-space-12;
|
|
47
|
-
|
|
48
44
|
/* Item active */
|
|
49
45
|
@sidenavItemActiveColor: @secondaryColor;
|
|
50
46
|
@sidenavItemActiveFontWeight: @font-weight-7;
|
|
@@ -54,7 +50,14 @@
|
|
|
54
50
|
@sidenavFolderFontSize: @font-size-2;
|
|
55
51
|
@sidenavFolderFontWeight: @font-weight-7;
|
|
56
52
|
@sidenavFolderItemPadding: @rem-space-4;
|
|
53
|
+
@sidenavFolderItemLineHeight: 1.5;
|
|
57
54
|
|
|
58
55
|
/* Item - Level 2 */
|
|
59
56
|
@sidenavLevelTwoItemFontWeight: @font-weight-4;
|
|
60
57
|
@sidenavLevelTwoItemPadding: 0.5rem 1.5rem;
|
|
58
|
+
@secondLevelItemPaddingLeft: @rem-space-6;
|
|
59
|
+
|
|
60
|
+
/* Item - Level 3 */
|
|
61
|
+
@subparItemPaddingLeft: @rem-space-12;
|
|
62
|
+
@thirdLevelItemPaddingLeft: @rem-space-8;
|
|
63
|
+
@fourthLevelItemPaddingLeft: @rem-space-10;
|
|
@@ -17,12 +17,16 @@
|
|
|
17
17
|
align-items: @copyrightAlignItems;
|
|
18
18
|
line-height: @copyrightLineHeight;
|
|
19
19
|
gap: @copyrightContentPaddingRight;
|
|
20
|
+
justify-content: var(--justify-content, flex-start);
|
|
20
21
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
&.left .wrapper {
|
|
23
|
+
--justify-content: flex-start;
|
|
24
|
+
}
|
|
25
|
+
&.center .wrapper {
|
|
26
|
+
--justify-content: center;
|
|
27
|
+
}
|
|
24
28
|
&.right .wrapper {
|
|
25
|
-
justify-content: flex-end;
|
|
29
|
+
--justify-content: flex-end;
|
|
26
30
|
}
|
|
27
31
|
.icon {
|
|
28
32
|
margin: 0; // override default
|
|
@@ -105,6 +105,12 @@
|
|
|
105
105
|
--text-color: @textColor;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
/* Removed z-index .block.align .right & .left from pastanaga blocks.less */
|
|
109
|
+
.block.align.left,
|
|
110
|
+
.block.align.right {
|
|
111
|
+
z-index: initial;
|
|
112
|
+
}
|
|
113
|
+
|
|
108
114
|
.blocks-chooser {
|
|
109
115
|
.searchbox {
|
|
110
116
|
height: auto !important;
|
|
@@ -229,3 +235,27 @@
|
|
|
229
235
|
#page-diff .ui.table th.eight.wide {
|
|
230
236
|
width: 50%;
|
|
231
237
|
}
|
|
238
|
+
|
|
239
|
+
/* Report PDF styles */
|
|
240
|
+
/* Remove border left on description block on PDF Report
|
|
241
|
+
See: https://taskman.eionet.europa.eu/issues/259256#note-24
|
|
242
|
+
*/
|
|
243
|
+
.contenttype-report_pdf .eea.callout {
|
|
244
|
+
padding: 0;
|
|
245
|
+
border-left: none;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* Remove full width background on PDF Report description area column-block */
|
|
249
|
+
.contenttype-report_pdf
|
|
250
|
+
#page-document
|
|
251
|
+
> .styled-columnsBlock:first-of-type
|
|
252
|
+
.content-box:before {
|
|
253
|
+
content: none;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.contenttype-report_pdf
|
|
257
|
+
#page-document
|
|
258
|
+
> .styled-columnsBlock:first-of-type
|
|
259
|
+
.content-box-inner {
|
|
260
|
+
padding: 0.5rem 1.5rem 1.5rem 1.5rem;
|
|
261
|
+
}
|
|
@@ -16,12 +16,11 @@
|
|
|
16
16
|
/* So child can have position sticky */
|
|
17
17
|
display: initial;
|
|
18
18
|
&:has(.eea-side-menu) {
|
|
19
|
-
margin-bottom:
|
|
19
|
+
margin-bottom: 1rem;
|
|
20
|
+
position: relative;
|
|
20
21
|
}
|
|
21
|
-
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
/*----------------------------------------------------------------------------
|
|
26
25
|
HEADER TOP BAR
|
|
27
26
|
----------------------------------------------------------------------------*/
|
|
@@ -229,15 +228,6 @@
|
|
|
229
228
|
content: ' ';
|
|
230
229
|
}
|
|
231
230
|
|
|
232
|
-
.light-header {
|
|
233
|
-
.main.bar.transparency:before {
|
|
234
|
-
background: linear-gradient(0deg, rgba(96, 96, 96, 0.2), #3d5265 100%);
|
|
235
|
-
}
|
|
236
|
-
#page-header {
|
|
237
|
-
margin-bottom: 2rem;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
231
|
.main.bar {
|
|
242
232
|
background: @headerMainSectionBackground;
|
|
243
233
|
scrollbar-gutter: stable;
|
|
@@ -934,4 +924,101 @@
|
|
|
934
924
|
}
|
|
935
925
|
}
|
|
936
926
|
|
|
927
|
+
/*******************************
|
|
928
|
+
Light Header
|
|
929
|
+
*******************************/
|
|
930
|
+
// Styles that turn the header into a transparent white header such as on the homepage
|
|
931
|
+
.light-header {
|
|
932
|
+
.main.bar.transparency:before {
|
|
933
|
+
background: linear-gradient(0deg, rgba(96, 96, 96, 0.2), #3d5265 100%);
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/* fix size of visualization that enlarge content are of web reports resulting in a scrollbar */
|
|
938
|
+
.light-header #view .ui.grid {
|
|
939
|
+
max-width: 900px;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
//Gradient styles for web report
|
|
943
|
+
.light-header .gradient {
|
|
944
|
+
// background: linear-gradient(
|
|
945
|
+
// 0deg,
|
|
946
|
+
// #ffffff,
|
|
947
|
+
// rgba(255, 255, 255, 0.9) 30%,
|
|
948
|
+
// rgba(46, 82, 114, 0.7) 70%,
|
|
949
|
+
// rgba(14, 21, 26, 0.8) 100%
|
|
950
|
+
// ) !important;
|
|
951
|
+
background: linear-gradient(
|
|
952
|
+
0deg,
|
|
953
|
+
#fff,
|
|
954
|
+
rgba(255, 255, 255, 0.8) 30%,
|
|
955
|
+
rgba(31, 31, 31, 0.1) 50%,
|
|
956
|
+
rgba(58, 58, 58, 0.8) 100%
|
|
957
|
+
) !important;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.view-viewview.light-header .main.bar {
|
|
961
|
+
position: relative;
|
|
962
|
+
z-index: 1;
|
|
963
|
+
width: 100%;
|
|
964
|
+
margin-bottom: -160px;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
@media all and (max-width: @largestMobileScreen) {
|
|
968
|
+
// avoid overlap of gradient of top.bar
|
|
969
|
+
.view-viewview.light-header .main.bar {
|
|
970
|
+
margin-bottom: -65px;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.view-viewview.light-header .eea-side-menu.mobile:not(.fixed) {
|
|
974
|
+
top: 111px;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
|
979
|
+
.view-viewview.light-header {
|
|
980
|
+
.main.bar {
|
|
981
|
+
margin-bottom: -115px;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.eea-side-menu:not(.fixed) {
|
|
985
|
+
top: 160px;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
#page-document {
|
|
989
|
+
padding: 0 1.25rem;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
@media only screen and (max-width: 991px) {
|
|
995
|
+
.view-viewview.light-header
|
|
996
|
+
.eea.header:has(#search-box, .visible)
|
|
997
|
+
.eea-side-menu {
|
|
998
|
+
z-index: 0;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
|
1003
|
+
.light-header #page-header:empty + .breadcrumbs + .content-area {
|
|
1004
|
+
padding-top: 0 !important;
|
|
1005
|
+
margin-top: 0 !important;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
@media screen and (min-width: 768px) and (max-width: 991px) {
|
|
1010
|
+
.view-viewview.light-header .main.bar {
|
|
1011
|
+
margin-bottom: -115px;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
@media only screen and (min-width: 768px) and (max-width: 1365px) {
|
|
1016
|
+
.view-viewview.light-header .ui.container {
|
|
1017
|
+
padding: 0 1.25rem;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
/*******************************
|
|
1021
|
+
/Light Header
|
|
1022
|
+
*******************************/
|
|
1023
|
+
|
|
937
1024
|
.loadUIOverrides();
|
|
@@ -3,17 +3,23 @@
|
|
|
3
3
|
--------------------*/
|
|
4
4
|
|
|
5
5
|
/* Heights */
|
|
6
|
-
@mobileTopSectionHeight
|
|
7
|
-
@tabletTopSectionHeight
|
|
8
|
-
@computerTopSectionHeight
|
|
9
|
-
|
|
10
|
-
@mobileMainSectionHeight
|
|
11
|
-
@tabletMainSectionHeight
|
|
12
|
-
@computerMainSectionHeight
|
|
13
|
-
|
|
14
|
-
@mobilePopUpHeight
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
@mobileTopSectionHeight: 42px; //delete
|
|
7
|
+
@tabletTopSectionHeight: 42px;
|
|
8
|
+
@computerTopSectionHeight: 34px;
|
|
9
|
+
|
|
10
|
+
@mobileMainSectionHeight: 69px;
|
|
11
|
+
@tabletMainSectionHeight: 117px;
|
|
12
|
+
@computerMainSectionHeight: 160px;
|
|
13
|
+
|
|
14
|
+
@mobilePopUpHeight: calc(
|
|
15
|
+
100vh - (@mobileTopSectionHeight + @mobileMainSectionHeight)
|
|
16
|
+
);
|
|
17
|
+
@tabletPopUpHeight: calc(
|
|
18
|
+
100vh - (@tabletTopSectionHeight + @tabletMainSectionHeight)
|
|
19
|
+
);
|
|
20
|
+
@computerPopUpHeight: calc(
|
|
21
|
+
100vh - (@computerTopSectionHeight + @computerMainSectionHeight)
|
|
22
|
+
);
|
|
17
23
|
|
|
18
24
|
/* Header font sizes */
|
|
19
25
|
@headerMinyFontSize: 0.5rem;
|
|
@@ -22,128 +28,128 @@
|
|
|
22
28
|
@headerMediumFontSize: 0.875rem;
|
|
23
29
|
@headerLargeFontSize: 1.125rem;
|
|
24
30
|
|
|
25
|
-
|
|
26
31
|
/*-------------------
|
|
27
32
|
HEADER TOP BAR
|
|
28
33
|
--------------------*/
|
|
29
34
|
|
|
30
|
-
@topSectionBackground
|
|
31
|
-
@topSectionItemColor
|
|
32
|
-
@topSectionItemFontWeight
|
|
33
|
-
@topSectionItemFontSize
|
|
34
|
-
@mobileTopSectionItemFontSize
|
|
35
|
-
@tabletTopSectionItemFontSize
|
|
36
|
-
@topSectionZIndex
|
|
37
|
-
@dropdownColor
|
|
38
|
-
@mobileDropdownFontSize
|
|
39
|
-
@tabletDropdownFontSize
|
|
40
|
-
@dropdownFontWeight
|
|
35
|
+
@topSectionBackground: @grey-2;
|
|
36
|
+
@topSectionItemColor: @blue-grey-6;
|
|
37
|
+
@topSectionItemFontWeight: @bold;
|
|
38
|
+
@topSectionItemFontSize: @font-size-00;
|
|
39
|
+
@mobileTopSectionItemFontSize: @font-size-00;
|
|
40
|
+
@tabletTopSectionItemFontSize: @font-size-00;
|
|
41
|
+
@topSectionZIndex: @z-index-2;
|
|
42
|
+
@dropdownColor: @blue-grey-6;
|
|
43
|
+
@mobileDropdownFontSize: @font-size-00;
|
|
44
|
+
@tabletDropdownFontSize: @font-size-00;
|
|
45
|
+
@dropdownFontWeight: @bold;
|
|
41
46
|
|
|
42
47
|
/* Icon */
|
|
43
|
-
@topSectionIconMarginLeft
|
|
44
|
-
@topSectionIconMarginRight
|
|
45
|
-
@topSectionIconFontSize
|
|
46
|
-
@topSectionIconLineHeight
|
|
47
|
-
@mobileTopSectionIconTop
|
|
48
|
-
@computerTopSectionIconTop
|
|
48
|
+
@topSectionIconMarginLeft: @rem-space-1;
|
|
49
|
+
@topSectionIconMarginRight: @rem-space-1;
|
|
50
|
+
@topSectionIconFontSize: @font-size-0;
|
|
51
|
+
@topSectionIconLineHeight: @font-lineheight-00;
|
|
52
|
+
@mobileTopSectionIconTop: 14px;
|
|
53
|
+
@computerTopSectionIconTop: 10px;
|
|
49
54
|
|
|
50
55
|
/* Dropdown Menu */
|
|
51
|
-
@mobileDropdownPadding
|
|
52
|
-
@computerDropdownPadding
|
|
53
|
-
@dropdownMaxWidth
|
|
54
|
-
@dropdownMenuLeft
|
|
55
|
-
@dropdownMenuRight
|
|
56
|
-
@dropdownMenuWrapperGap
|
|
57
|
-
@dropdownMenuWrapperMargin
|
|
58
|
-
@dropdownMenuLanguageWrapperPaddingInlineStart
|
|
59
|
-
@dropdownMenuContentWhiteSpace
|
|
60
|
-
@mobileDropdownMenuContentFontSize
|
|
61
|
-
@desktopDropdownMenuContentFontSize
|
|
62
|
-
@dropdownMenuItemColorHover
|
|
63
|
-
@dropdownMenuItemBackgroundColorHover
|
|
64
|
-
@dropdownMenuItemPadding
|
|
65
|
-
@dropdownMenuFontSize
|
|
56
|
+
@mobileDropdownPadding: @rem-space-3 @rem-space-6 @rem-space-3 @rem-space-2;
|
|
57
|
+
@computerDropdownPadding: @rem-space-2 @rem-space-6 @rem-space-2 @rem-space-2;
|
|
58
|
+
@dropdownMaxWidth: 410px;
|
|
59
|
+
@dropdownMenuLeft: auto;
|
|
60
|
+
@dropdownMenuRight: 0;
|
|
61
|
+
@dropdownMenuWrapperGap: @rem-space-1;
|
|
62
|
+
@dropdownMenuWrapperMargin: @rem-space-1 0;
|
|
63
|
+
@dropdownMenuLanguageWrapperPaddingInlineStart: 0;
|
|
64
|
+
@dropdownMenuContentWhiteSpace: pre-wrap;
|
|
65
|
+
@mobileDropdownMenuContentFontSize: @font-size-00;
|
|
66
|
+
@desktopDropdownMenuContentFontSize: @font-size-00;
|
|
67
|
+
@dropdownMenuItemColorHover: @white;
|
|
68
|
+
@dropdownMenuItemBackgroundColorHover: @blue-grey-6;
|
|
69
|
+
@dropdownMenuItemPadding: @rem-space-050 @rem-space-5;
|
|
70
|
+
@dropdownMenuFontSize: @font-size-00;
|
|
66
71
|
|
|
67
72
|
// Official Union
|
|
68
|
-
@mobileOfficialUnionGap
|
|
69
|
-
@tabletOfficialUnionGap
|
|
70
|
-
@officialUnionLinkFontWeight
|
|
71
|
-
@officialUnionPadding
|
|
72
|
-
@mobileOfficialUnionMaxWidth
|
|
73
|
-
@tabletOfficialUnionMaxWidth
|
|
74
|
-
@computerOfficialUnionMaxWidth
|
|
75
|
-
@mobileOfficialUnionImageWidth
|
|
76
|
-
@tabletOfficialUnionImageWidth
|
|
77
|
-
@mobileOfficialUnionMenuLeft
|
|
78
|
-
@tabletOfficialUnionMenuLeft
|
|
79
|
-
@mobileOfficialUnionPadding
|
|
80
|
-
@tabletOfficialUnionPadding
|
|
81
|
-
@
|
|
73
|
+
@mobileOfficialUnionGap: 0;
|
|
74
|
+
@tabletOfficialUnionGap: 0;
|
|
75
|
+
@officialUnionLinkFontWeight: @bold;
|
|
76
|
+
@officialUnionPadding: @rem-space-3;
|
|
77
|
+
@mobileOfficialUnionMaxWidth: 108px;
|
|
78
|
+
@tabletOfficialUnionMaxWidth: 272px;
|
|
79
|
+
@computerOfficialUnionMaxWidth: 380px;
|
|
80
|
+
@mobileOfficialUnionImageWidth: 25px;
|
|
81
|
+
@tabletOfficialUnionImageWidth: 44px;
|
|
82
|
+
@mobileOfficialUnionMenuLeft: 0;
|
|
83
|
+
@tabletOfficialUnionMenuLeft: 0;
|
|
84
|
+
@mobileOfficialUnionPadding: @rem-space-3 @rem-space-6;
|
|
85
|
+
@tabletOfficialUnionPadding: @rem-space-3 @rem-space-6 @rem-space-3
|
|
86
|
+
@rem-space-12;
|
|
87
|
+
@computerOfficialUnionPadding: @rem-space-2 @rem-space-6 @rem-space-2
|
|
88
|
+
@rem-space-12;
|
|
82
89
|
|
|
83
90
|
// Theme Sites
|
|
84
|
-
@themeSitesMenuWidth
|
|
85
|
-
@themeSitesMenuSiteLinkColor
|
|
86
|
-
@themeSitesMenuSiteLinkFontWeight
|
|
87
|
-
@mobileThemeSitesMenuLeft
|
|
91
|
+
@themeSitesMenuWidth: 224px;
|
|
92
|
+
@themeSitesMenuSiteLinkColor: @blue-grey-6;
|
|
93
|
+
@themeSitesMenuSiteLinkFontWeight: @normal;
|
|
94
|
+
@mobileThemeSitesMenuLeft: 0px;
|
|
88
95
|
|
|
89
96
|
// Language
|
|
90
|
-
@mobileLanguageMenuPadding
|
|
91
|
-
@computerLanguageMenuPadding
|
|
92
|
-
@languageMenuItemFontWeight
|
|
93
|
-
@mobileLanguageCountryCodeMarginLeft
|
|
94
|
-
@mobileLanguageCountryCodeFontWeight
|
|
95
|
-
@mobileLanguageFontSize
|
|
96
|
-
@computerLanguageFontSize
|
|
97
|
-
@mobileLanguageImageWidth
|
|
98
|
-
@tabletLanguageImageWidth
|
|
97
|
+
@mobileLanguageMenuPadding: @rem-space-3 @rem-space-2;
|
|
98
|
+
@computerLanguageMenuPadding: @rem-space-2;
|
|
99
|
+
@languageMenuItemFontWeight: @normal;
|
|
100
|
+
@mobileLanguageCountryCodeMarginLeft: 3px;
|
|
101
|
+
@mobileLanguageCountryCodeFontWeight: @bold;
|
|
102
|
+
@mobileLanguageFontSize: @font-size-0;
|
|
103
|
+
@computerLanguageFontSize: @font-size-1;
|
|
104
|
+
@mobileLanguageImageWidth: 17px;
|
|
105
|
+
@tabletLanguageImageWidth: 18px;
|
|
99
106
|
|
|
100
107
|
/*-----------------------
|
|
101
108
|
HEADER MAIN SECTION
|
|
102
109
|
-----------------------*/
|
|
103
110
|
|
|
104
111
|
/* Main Section */
|
|
105
|
-
@headerMainSectionBackground
|
|
106
|
-
@headerMainSectionTransparency
|
|
112
|
+
@headerMainSectionBackground: transparent;
|
|
113
|
+
@headerMainSectionTransparency: rgba(255, 255, 255, 0.1);
|
|
107
114
|
|
|
108
115
|
/* Logo */
|
|
109
|
-
@logoWidth
|
|
110
|
-
@mobileLogoMaxWidth
|
|
111
|
-
@tabletLogoMaxWidth
|
|
112
|
-
@computerLogoMaxWidth
|
|
113
|
-
@mobileLogoMarginTop
|
|
114
|
-
@tabletLogoMarginTop
|
|
115
|
-
@computerLogoMarginTop
|
|
116
|
+
@logoWidth: 100%;
|
|
117
|
+
@mobileLogoMaxWidth: 142px;
|
|
118
|
+
@tabletLogoMaxWidth: 252px;
|
|
119
|
+
@computerLogoMaxWidth: 347px; //348 rendered fuzzy :(
|
|
120
|
+
@mobileLogoMarginTop: @rem-space-2;
|
|
121
|
+
@tabletLogoMarginTop: @rem-space-3-5;
|
|
122
|
+
@computerLogoMarginTop: @rem-space-5;
|
|
116
123
|
|
|
117
124
|
/* Main menu */
|
|
118
|
-
@mainMenuGap
|
|
119
|
-
@mainMenuItemColor
|
|
120
|
-
@mainMenuItemInvertedColor
|
|
121
|
-
@mainMenuItemFontSize
|
|
122
|
-
@mainMenuItemFontWeight
|
|
123
|
-
@mainMenuItemPadding
|
|
124
|
-
@mainMenuItemActiveColor
|
|
125
|
-
@mainMenuItemBorder
|
|
126
|
-
@mainMenuItemActiveBorder
|
|
127
|
-
@mainMenuInvertedItemActiveBorder
|
|
128
|
-
@mainMenuItemAlignSelf
|
|
129
|
-
|
|
125
|
+
@mainMenuGap: @component-padding;
|
|
126
|
+
@mainMenuItemColor: @primaryColor;
|
|
127
|
+
@mainMenuItemInvertedColor: @white;
|
|
128
|
+
@mainMenuItemFontSize: ~'min(max(0.875rem, 1.5vw), 1.125rem)';
|
|
129
|
+
@mainMenuItemFontWeight: @font-weight-5;
|
|
130
|
+
@mainMenuItemPadding: @rem-space-050 @rem-space-2;
|
|
131
|
+
@mainMenuItemActiveColor: @secondaryColor;
|
|
132
|
+
@mainMenuItemBorder: 4px solid transparent;
|
|
133
|
+
@mainMenuItemActiveBorder: 4px solid @secondaryColor;
|
|
134
|
+
@mainMenuInvertedItemActiveBorder: 4px solid @white;
|
|
135
|
+
@mainMenuItemAlignSelf: flex-end;
|
|
130
136
|
|
|
131
137
|
/* Subsite */
|
|
132
|
-
@subsitePosition
|
|
133
|
-
@subsiteZIndex
|
|
134
|
-
@subsiteFontFamily
|
|
135
|
-
@subsiteFontWeight
|
|
136
|
-
@subsiteColor
|
|
137
|
-
@subsiteLineHeight
|
|
138
|
-
@subsiteFlexGap
|
|
139
|
-
@subsiteLogoTopPosition
|
|
140
|
-
@subsiteDividerHeight
|
|
141
|
-
@subsiteDividerWidth
|
|
142
|
-
@subsiteDividerTopPosition
|
|
143
|
-
@subsiteDividerColor
|
|
144
|
-
@mobileSubsiteFontSize
|
|
145
|
-
@tabletSubsiteFontSize
|
|
146
|
-
@computerSubsiteFontSize
|
|
138
|
+
@subsitePosition: relative;
|
|
139
|
+
@subsiteZIndex: 1;
|
|
140
|
+
@subsiteFontFamily: @headerFont;
|
|
141
|
+
@subsiteFontWeight: @headerFontWeight;
|
|
142
|
+
@subsiteColor: @linkColor;
|
|
143
|
+
@subsiteLineHeight: 1.1;
|
|
144
|
+
@subsiteFlexGap: 30px;
|
|
145
|
+
@subsiteLogoTopPosition: 50%;
|
|
146
|
+
@subsiteDividerHeight: 110%;
|
|
147
|
+
@subsiteDividerWidth: 1px;
|
|
148
|
+
@subsiteDividerTopPosition: 50%;
|
|
149
|
+
@subsiteDividerColor: @secondaryColorCSSVar;
|
|
150
|
+
@mobileSubsiteFontSize: unit(@h6, em);
|
|
151
|
+
@tabletSubsiteFontSize: unit(@h4, em);
|
|
152
|
+
@computerSubsiteFontSize: unit(@h2, em);
|
|
147
153
|
|
|
148
154
|
/*-----------------
|
|
149
155
|
HEADER ACTIONS
|
|
@@ -156,9 +162,9 @@
|
|
|
156
162
|
@burgerActionBackgroundColor: @darkMidnightBlue;
|
|
157
163
|
|
|
158
164
|
/* Mega menu and Search popup */
|
|
159
|
-
@mobilePopupMarginTop
|
|
160
|
-
@tabletPopupMarginTop
|
|
161
|
-
@computerPopupMarginTop
|
|
165
|
+
@mobilePopupMarginTop: 5vh;
|
|
166
|
+
@tabletPopupMarginTop: 10vh;
|
|
167
|
+
@computerPopupMarginTop: 18vh;
|
|
162
168
|
|
|
163
169
|
/* Mega menu */
|
|
164
170
|
@mobileMegaMenuWidth: 94%;
|
|
@@ -187,7 +193,7 @@
|
|
|
187
193
|
@megaMenuListItemFontSize: @font-size-1;
|
|
188
194
|
@megaMenuListItemFontWeight: @font-weight-4;
|
|
189
195
|
@megaMenuListItemPadding: @rem-space-2 0;
|
|
190
|
-
@megaMenuListItemActiveBorder: 4px solid #
|
|
196
|
+
@megaMenuListItemActiveBorder: 4px solid #fff;
|
|
191
197
|
@megaMenuListItemActivePadding: 8px;
|
|
192
198
|
|
|
193
199
|
/* Topics */
|
|
@@ -221,8 +227,12 @@
|
|
|
221
227
|
|
|
222
228
|
/* Search box */
|
|
223
229
|
@searchBoxPosition: absolute;
|
|
224
|
-
@searchBoxBackgroundGradient
|
|
225
|
-
|
|
230
|
+
@searchBoxBackgroundGradient: linear-gradient(
|
|
231
|
+
13.69deg,
|
|
232
|
+
@blue-5 1.17%,
|
|
233
|
+
@secondaryColor 80%
|
|
234
|
+
);
|
|
235
|
+
@searchBoxWrapperGap: 75px;
|
|
226
236
|
@searchBoxAlignItems: center;
|
|
227
237
|
@searchBoxFullSearchBackground: rgba(255, 255, 255, 0.1);
|
|
228
238
|
@searchBoxFullSearchBoxShadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
|
|
@@ -245,7 +255,8 @@
|
|
|
245
255
|
@searchBoxComputerPopupMarginTop: @em-space-8;
|
|
246
256
|
|
|
247
257
|
/* Custom shadows for dropdowns */
|
|
248
|
-
@shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength +
|
|
258
|
+
@shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength +
|
|
259
|
+
6%));
|
|
249
260
|
@shadow-4-no-top:
|
|
250
261
|
0 0 0 0 hsla(@shadow-color, calc(@shadow-strength + 2%)),
|
|
251
262
|
0 1px 1px -2px hsla(@shadow-color, calc(@shadow-strength + 3%)),
|
|
@@ -38,6 +38,25 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
@media only screen and (max-width: (@mobileDefaultBreakpoint - @1px)) {
|
|
42
|
+
#inpage-navigation {
|
|
43
|
+
bottom: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
|
48
|
+
// avoid overlap with web report mobile menu
|
|
49
|
+
#inpage-navigation {
|
|
50
|
+
right: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// better centering of the inpage navigation icon
|
|
54
|
+
#inpage-navigation > div > i.icon,
|
|
55
|
+
#inpage-navigation i.icons {
|
|
56
|
+
line-height: 2rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
41
60
|
@media only screen and (min-width: @computerBreakpoint) {
|
|
42
61
|
#inpage-navigation {
|
|
43
62
|
width: @computerNavWidth;
|
|
@@ -324,6 +324,7 @@
|
|
|
324
324
|
--------------------*/
|
|
325
325
|
|
|
326
326
|
@mobileBreakpoint : 320px;
|
|
327
|
+
@mobileDefaultBreakpoint : 360px;
|
|
327
328
|
@mobileLandscapeBreakpoint : 480px; // introduced for the design system
|
|
328
329
|
@tabletBreakpoint : 768px;
|
|
329
330
|
@contentBreakpoint : 835px; // introduced for the design system
|