@eeacms/volto-clms-theme 1.0.126 → 1.0.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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.0.127](https://github.com/eea/volto-clms-theme/compare/1.0.126...1.0.127) - 20 September 2022
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- CLMS-1355 [joewdavies - [`1c87436`](https://github.com/eea/volto-clms-theme/commit/1c87436bf66badb0a5747d427e4c9f02fb7ac9a4)]
|
|
12
|
+
- CLMS-1356 Add margin to ccl-container pages on smaller devices [joewdavies - [`f021ef7`](https://github.com/eea/volto-clms-theme/commit/f021ef7df657707b382c488c6d88b157f11b5600)]
|
|
13
|
+
- CLMS-1357 [joewdavies - [`fe54fde`](https://github.com/eea/volto-clms-theme/commit/fe54fde9007bbb372e2b8c48fb97a2a0017c5cf2)]
|
|
14
|
+
- CLMS-1210 [joewdavies - [`b49b9fc`](https://github.com/eea/volto-clms-theme/commit/b49b9fc4f344e28b397b97a18c555cb14bde4b67)]
|
|
7
15
|
### [1.0.126](https://github.com/eea/volto-clms-theme/compare/1.0.125...1.0.126) - 20 September 2022
|
|
8
16
|
|
|
9
17
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@ const DownloadDataSetContent = (data, token) => {
|
|
|
50
50
|
|
|
51
51
|
{data?.mapviewer_viewservice?.length > 0 && (
|
|
52
52
|
<div className="dataset-download-area">
|
|
53
|
-
<h2>
|
|
53
|
+
<h2>Custom download</h2>
|
|
54
54
|
<p>
|
|
55
55
|
Use this option if you would like to download the dataset for
|
|
56
56
|
area(s) of interest.
|
|
@@ -58,11 +58,11 @@ const DownloadDataSetContent = (data, token) => {
|
|
|
58
58
|
{user?.['@id'] ? (
|
|
59
59
|
data.mapviewer_istimeseries === true ? (
|
|
60
60
|
<CclButton url={location.pathname + '/download-by-area'}>
|
|
61
|
-
Go to download
|
|
61
|
+
Go to custom download
|
|
62
62
|
</CclButton>
|
|
63
63
|
) : (
|
|
64
64
|
<CclButton url={location.pathname + '/download-by-area'}>
|
|
65
|
-
Go to download
|
|
65
|
+
Go to custom download
|
|
66
66
|
</CclButton>
|
|
67
67
|
)
|
|
68
68
|
) : (
|
|
@@ -74,7 +74,7 @@ const DownloadDataSetContent = (data, token) => {
|
|
|
74
74
|
>
|
|
75
75
|
<FormattedMessage
|
|
76
76
|
id="downloadByArea"
|
|
77
|
-
defaultMessage="Go to download
|
|
77
|
+
defaultMessage="Go to custom download"
|
|
78
78
|
/>
|
|
79
79
|
</CclButton>
|
|
80
80
|
}
|
|
@@ -141,15 +141,15 @@ const DownloadDataSetContent = (data, token) => {
|
|
|
141
141
|
url={location.pathname + '/download-by-area'}
|
|
142
142
|
disabled={true}
|
|
143
143
|
>
|
|
144
|
-
Go to download
|
|
144
|
+
Go to custom download
|
|
145
145
|
</CclButton>
|
|
146
146
|
) : data.mapviewer_istimeseries === true ? (
|
|
147
147
|
<CclButton url={location.pathname + '/download-by-area'}>
|
|
148
|
-
Go to download
|
|
148
|
+
Go to custom download and time
|
|
149
149
|
</CclButton>
|
|
150
150
|
) : (
|
|
151
151
|
<CclButton url={location.pathname + '/download-by-area'}>
|
|
152
|
-
Go to download
|
|
152
|
+
Go to custom download
|
|
153
153
|
</CclButton>
|
|
154
154
|
)} */}
|
|
155
155
|
</div>
|
|
@@ -137,6 +137,13 @@
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
/* full width search bar on mobile */
|
|
141
|
+
@media (max-width: 500px) {
|
|
142
|
+
#main > div:nth-child(2) > header > div.ccl-header-tools > div > div.ccl-header-tools-container > div > form > div{
|
|
143
|
+
width: 100%
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
140
147
|
.ccl-header .ccl-header-tools .ccl-header-search input {
|
|
141
148
|
display: block;
|
|
142
149
|
width: 100%;
|
|
@@ -725,7 +732,7 @@
|
|
|
725
732
|
|
|
726
733
|
.ccl-header-main-menu li {
|
|
727
734
|
font-size: 1.125rem;
|
|
728
|
-
text-align: center;
|
|
735
|
+
/* text-align: center; */
|
|
729
736
|
}
|
|
730
737
|
|
|
731
738
|
/* Language */
|
|
@@ -146,6 +146,15 @@ a:hover,
|
|
|
146
146
|
|
|
147
147
|
/* Container */
|
|
148
148
|
|
|
149
|
+
/* CLMS-1356 */
|
|
150
|
+
@media only screen and (max-width: 768px) {
|
|
151
|
+
.ccl-container {
|
|
152
|
+
width: auto!important;
|
|
153
|
+
margin-right: 1em!important;
|
|
154
|
+
margin-left: 1em!important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
149
158
|
.ccl-container {
|
|
150
159
|
max-width: 1400px;
|
|
151
160
|
margin-right: auto;
|
|
@@ -556,6 +565,16 @@ body:not(.contenttype-lrf:not(.section-cart):not(.section-profile))
|
|
|
556
565
|
font-size: 1.125rem;
|
|
557
566
|
}
|
|
558
567
|
|
|
568
|
+
/* Downloads cart CLMS-1357 */
|
|
569
|
+
@media only screen and (max-width: 500px) {
|
|
570
|
+
.center.aligned.middle.aligned.two.wide.column {
|
|
571
|
+
padding:0px;
|
|
572
|
+
}
|
|
573
|
+
.ui.olive.segment {
|
|
574
|
+
padding-left: 2px;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
559
578
|
/* Dataset detail */
|
|
560
579
|
.download-dataset-metadata {
|
|
561
580
|
float: right;
|