@eeacms/volto-clms-theme 1.0.91 → 1.0.94

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,8 +4,41 @@ 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.94](https://github.com/eea/volto-clms-theme/compare/1.0.93...1.0.94)
8
+
9
+ - Ux improvements [`#258`](https://github.com/eea/volto-clms-theme/pull/258)
10
+ - ESLint fix [`53791dc`](https://github.com/eea/volto-clms-theme/commit/53791dc776082a8569ed8a134fe38996f4be9ab2)
11
+ - Layer opacity [`e8bc03f`](https://github.com/eea/volto-clms-theme/commit/e8bc03fa5034bd245210c89760dfd85534c61128)
12
+
13
+ #### [1.0.93](https://github.com/eea/volto-clms-theme/compare/1.0.92...1.0.93)
14
+
15
+ > 13 May 2022
16
+
17
+ - Develop [`#257`](https://github.com/eea/volto-clms-theme/pull/257)
18
+ - Bugs n improvements [`#256`](https://github.com/eea/volto-clms-theme/pull/256)
19
+ - Measurement and opacity [`#255`](https://github.com/eea/volto-clms-theme/pull/255)
20
+ - ESLint fix [`b03878a`](https://github.com/eea/volto-clms-theme/commit/b03878ac3cb67d1f020e02ab5d5fbdd33db0d2c1)
21
+ - ESLint fix [`40dd5ba`](https://github.com/eea/volto-clms-theme/commit/40dd5ba6464b9400a4febded863347a07c94fbea)
22
+ - Remove load movement [`217829b`](https://github.com/eea/volto-clms-theme/commit/217829bdd769fb74714e434351174c24973cacc9)
23
+
24
+ #### [1.0.92](https://github.com/eea/volto-clms-theme/compare/1.0.91...1.0.92)
25
+
26
+ > 29 April 2022
27
+
28
+ - Develop [`#253`](https://github.com/eea/volto-clms-theme/pull/253)
29
+ - Ux improvements [`#254`](https://github.com/eea/volto-clms-theme/pull/254)
30
+ - Bugs n improvements [`#252`](https://github.com/eea/volto-clms-theme/pull/252)
31
+ - Zoom tooltip [`3c41e14`](https://github.com/eea/volto-clms-theme/commit/3c41e14e4b631193408adb741c440805ca5cc0df)
32
+ - ESLint fix [`1f3ead1`](https://github.com/eea/volto-clms-theme/commit/1f3ead111747613580ab5e637fc40eae46b39364)
33
+ - Download card icons [`5bc506d`](https://github.com/eea/volto-clms-theme/commit/5bc506d9251068962ff3e3641017f854b37666f3)
34
+ - Card work [`d169ff4`](https://github.com/eea/volto-clms-theme/commit/d169ff40e8d3c2fce56af6aa09677c0ba924407a)
35
+ - UX improvements [`72769b4`](https://github.com/eea/volto-clms-theme/commit/72769b4e0b2327b7c35cec435b2a3311a9ccee3f)
36
+
7
37
  #### [1.0.91](https://github.com/eea/volto-clms-theme/compare/1.0.90...1.0.91)
8
38
 
39
+ > 4 April 2022
40
+
41
+ - add extra information for correct rendering to TechnicalLibraries at … [`#251`](https://github.com/eea/volto-clms-theme/pull/251)
9
42
  - add extra information for correct rendering to TechnicalLibraries at DataSet view [`ac8578e`](https://github.com/eea/volto-clms-theme/commit/ac8578eeff8eeb3cff9944394937a52062d7caf1)
10
43
 
11
44
  #### [1.0.90](https://github.com/eea/volto-clms-theme/compare/1.0.89...1.0.90)
package/Jenkinsfile CHANGED
@@ -185,10 +185,10 @@ pipeline {
185
185
  unstash "xunit-reports"
186
186
  unstash "cypress-coverage"
187
187
  def scannerHome = tool 'SonarQubeScanner';
188
- def nodeJS = tool 'NodeJS11';
188
+ def nodeJS = tool 'NodeJS';
189
189
  withSonarQubeEnv('Sonarqube') {
190
190
  sh '''sed -i "s#/opt/frontend/my-volto-project/src/addons/${GIT_NAME}/##g" xunit-reports/coverage/lcov.info'''
191
- sh "export PATH=$PATH:${scannerHome}/bin:${nodeJS}/bin; sonar-scanner -Dsonar.javascript.lcov.reportPaths=./xunit-reports/coverage/lcov.info,./cypress-coverage/coverage/lcov.info -Dsonar.sources=./src -Dsonar.projectKey=$GIT_NAME-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
191
+ sh "export PATH=${scannerHome}/bin:${nodeJS}/bin:$PATH; sonar-scanner -Dsonar.javascript.lcov.reportPaths=./xunit-reports/coverage/lcov.info,./cypress-coverage/coverage/lcov.info -Dsonar.sources=./src -Dsonar.projectKey=$GIT_NAME-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
192
192
  sh '''try=2; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}-${BRANCH_NAME}&tags=${SONARQUBE_TAGS},${BRANCH_NAME}" > set_tags_result; if [ \$(grep -ic error set_tags_result ) -eq 0 ]; then try=0; else cat set_tags_result; echo "... Will retry"; sleep 60; try=\$(( \$try - 1 )); fi; done'''
193
193
  }
194
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.91",
3
+ "version": "1.0.94",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -30,9 +30,11 @@ const CclWorkOpportunity = (props) => {
30
30
  <br />
31
31
  </>
32
32
  )}
33
- <div className="card-work-number">
34
- <span className="card-work-number-title">
35
- <h2>{item.title}</h2>
33
+ <div class="card-work-line">
34
+ <h2>{item.title}</h2>
35
+ </div>
36
+ <div className="card-work-line">
37
+ <span className="card-work-title">
36
38
  {item['@type'] === 'WorkOpportunity'
37
39
  ? intl.formatMessage(messages.ReferenceNo)
38
40
  : intl.formatMessage(messages.ProcurementNo)}
@@ -43,11 +45,11 @@ const CclWorkOpportunity = (props) => {
43
45
  item.procurement_no
44
46
  )}
45
47
  </div>
46
- <div className="card-work-title">
48
+ <div className="card-work-line">
47
49
  <p>{item.description}</p>
48
50
  </div>
49
- <div className="work-opportunities-deadline">
50
- <span className="card-work-deadline-title">
51
+ <div className="card-work-line">
52
+ <span className="card-work-title">
51
53
  {intl.formatMessage(messages.SubmissionDeadline)}
52
54
  </span>
53
55
  {new Date(item.submission_deadline).toLocaleString()}
@@ -11,8 +11,9 @@ import { defineMessages, useIntl } from 'react-intl';
11
11
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
12
12
  import { Icon } from '@plone/volto/components';
13
13
  import React from 'react';
14
- import alertSVG from '@plone/volto/icons/alert.svg';
14
+ import pauseSVG from '@plone/volto/icons/pause.svg';
15
15
  import errorSVG from '@plone/volto/icons/error.svg';
16
+ import warningSVG from '@plone/volto/icons/warning.svg';
16
17
  import { faInfoCircle } from '@fortawesome/free-solid-svg-icons';
17
18
  import packSVG from '@plone/volto/icons/pack.svg';
18
19
  import removeSVG from '@plone/volto/icons/delete.svg';
@@ -74,7 +75,21 @@ const FileCard = (props) => {
74
75
  {/* {10 - daysDiff > -1 && ( */}
75
76
  <Grid.Row>
76
77
  <Grid.Column verticalAlign="middle" textAlign="center" width={2}>
77
- {['In_progress', 'Queued'].includes(item?.Status) && (
78
+ {item?.Status === 'Queued' && (
79
+ <Popup
80
+ content="Queued"
81
+ size="small"
82
+ trigger={
83
+ <Icon
84
+ name={pauseSVG}
85
+ size={50}
86
+ color="#a0b128"
87
+ title={'Queued'}
88
+ />
89
+ }
90
+ />
91
+ )}
92
+ {item?.Status === 'In_progress' && (
78
93
  <Popup
79
94
  content="Preparing download files"
80
95
  size="small"
@@ -103,7 +118,7 @@ const FileCard = (props) => {
103
118
  <Icon
104
119
  name={blockSVG}
105
120
  size={50}
106
- color="#90956e"
121
+ color="#a0b128"
107
122
  title={'Cancelled'}
108
123
  />
109
124
  }
@@ -115,9 +130,9 @@ const FileCard = (props) => {
115
130
  size="small"
116
131
  trigger={
117
132
  <Icon
118
- name={errorSVG}
133
+ name={warningSVG}
119
134
  size={50}
120
- color="#e40166"
135
+ color="#faa73e"
121
136
  title={'Finished with errors'}
122
137
  />
123
138
  }
@@ -129,7 +144,7 @@ const FileCard = (props) => {
129
144
  size="small"
130
145
  trigger={
131
146
  <Icon
132
- name={alertSVG}
147
+ name={errorSVG}
133
148
  size={50}
134
149
  color="#e40166"
135
150
  title={'Rejected download'}
@@ -119,8 +119,15 @@
119
119
  }
120
120
 
121
121
  .card-block .card-description {
122
+ display: -webkit-box;
123
+ overflow: hidden;
124
+ height: calc(8 * 1.5rem);
122
125
  margin-bottom: 1rem;
126
+ -webkit-box-orient: vertical;
127
+ -webkit-line-clamp: 8;
128
+ text-overflow: ellipsis;
123
129
  }
130
+
124
131
  @media (min-width: 768px) {
125
132
  .card-block {
126
133
  width: calc(50% - 0.5rem);
@@ -336,6 +343,11 @@
336
343
  font-size: 1rem;
337
344
  }
338
345
 
346
+ .card-event svg {
347
+ width: 1rem;
348
+ margin-right: 0.5rem;
349
+ }
350
+
339
351
  /* Documents */
340
352
  .card-doc {
341
353
  padding: 1rem;
@@ -381,37 +393,15 @@
381
393
  margin-bottom: 1rem;
382
394
  }
383
395
 
384
- .card-work-number {
385
- margin-bottom: 1rem;
386
- }
387
-
388
- .card-work-number-title,
389
- .card-work-deadline-title {
390
- margin-right: 0.25rem;
391
- font-weight: bold;
392
- }
393
-
394
- /* Work opportunities */
395
- .card-work {
396
- padding: 2rem;
397
- background: #a0b1280f;
398
- }
399
-
400
- .card-work:not(:last-of-type) {
401
- margin-bottom: 1rem;
402
- }
403
-
404
- .card-work-number {
396
+ .card-work-line:not(:last-of-type) {
405
397
  margin-bottom: 1rem;
406
398
  }
407
399
 
408
- .card-work-number-title,
409
- .card-work-deadline-title {
400
+ .card-work-title {
410
401
  margin-right: 0.25rem;
411
402
  font-weight: bold;
412
403
  }
413
404
 
414
- .card-event svg {
415
- width: 1rem;
416
- margin-right: 0.5rem;
405
+ .card-work-line h2 {
406
+ margin-top: 0 !important;
417
407
  }
@@ -35,12 +35,12 @@ function CclLoginModal() {
35
35
  return (
36
36
  <CclModal
37
37
  trigger={
38
- <div className="header-login-link">
38
+ <span className="header-login-link">
39
39
  <FormattedMessage
40
40
  id="loginRegister"
41
41
  defaultMessage="Register/Login"
42
42
  />
43
- </div>
43
+ </span>
44
44
  }
45
45
  size="tiny"
46
46
  modalStatus={modalStatus}
@@ -52,7 +52,7 @@ class CclLogout extends Component {
52
52
  render() {
53
53
  return (
54
54
  <div id="page-document" className="ui container">
55
- <h1 className="page-title">{'LOG OUT'}</h1>
55
+ <h1 className="page-title">{'Log out'}</h1>
56
56
  <div className="event-detail">
57
57
  <div className="event-detail-content">
58
58
  <p>{'You have logged out correctly'}</p>
@@ -32,10 +32,19 @@
32
32
  }
33
33
 
34
34
  .ccl-button[disabled] {
35
- border-color: #adb0b8;
36
- color: #adb0b8;
35
+ border-color: #a0b128;
36
+ color: #a0b128;
37
+ cursor: not-allowed;
38
+ opacity: 0.3;
39
+ pointer-events: none;
40
+ }
41
+
42
+ .ccl-button.ccl-button-green[disabled] {
43
+ border-color: #a0b128;
44
+ background-color: #a0b128;
45
+ color: white;
37
46
  cursor: not-allowed;
38
- opacity: 0.5;
47
+ opacity: 0.3;
39
48
  pointer-events: none;
40
49
  }
41
50
 
@@ -631,9 +631,8 @@
631
631
 
632
632
  .ccl-header .ccl-header-tools .ccl-header-menu-tools li {
633
633
  padding: 0 0.5rem;
634
- margin: 0;
634
+ margin: auto 0;
635
635
  font-size: 1rem;
636
- line-height: 2.2rem;
637
636
  white-space: nowrap;
638
637
  }
639
638
 
@@ -34,6 +34,7 @@
34
34
  height: 36px;
35
35
  border: none !important;
36
36
  background-color: #a0b128cc;
37
+ overflow: visible;
37
38
  box-shadow: none !important;
38
39
  color: white;
39
40
  font-size: 18px;
@@ -55,16 +56,15 @@
55
56
  cursor: auto;
56
57
  }
57
58
 
59
+ .esri-widget--button.active-widget {
60
+ background: #212529;
61
+ }
62
+
58
63
  .land .basemap-container {
59
64
  display: flex;
60
65
  box-shadow: none !important;
61
66
  }
62
67
 
63
- .land .esri-basemap-gallery {
64
- display: none;
65
- margin: 0 !important;
66
- }
67
-
68
68
  .land .esri-basemap-gallery__item:first-child {
69
69
  margin-top: 0;
70
70
  }
@@ -96,10 +96,6 @@
96
96
  flex-direction: column;
97
97
  }
98
98
 
99
- .land .measurement-panel {
100
- display: none;
101
- }
102
-
103
99
  .land .measurement-buttons {
104
100
  display: flex;
105
101
  justify-content: space-evenly;
@@ -153,10 +149,6 @@
153
149
  box-shadow: none !important;
154
150
  }
155
151
 
156
- .land .esri-print {
157
- display: none;
158
- }
159
-
160
152
  .land .esri-print__layout-tab {
161
153
  font-size: 1rem;
162
154
  }
@@ -179,13 +171,6 @@
179
171
  box-shadow: none !important;
180
172
  }
181
173
 
182
- .land .area-panel {
183
- display: none;
184
- padding: 1rem;
185
- background-color: white;
186
- font-size: 1rem;
187
- }
188
-
189
174
  .land .area-panel .ccl-form-group:not(:first-of-type) {
190
175
  margin-top: 0.5rem;
191
176
  }
@@ -522,10 +507,6 @@
522
507
  margin-top: 0.5rem;
523
508
  }
524
509
 
525
- .land .legend-panel {
526
- display: none;
527
- }
528
-
529
510
  .land .legend-container {
530
511
  display: flex;
531
512
  box-shadow: none !important;
@@ -36,6 +36,7 @@
36
36
  height: 36px;
37
37
  border: none !important;
38
38
  background-color: #a0b128cc;
39
+ overflow: visible;
39
40
  box-shadow: none !important;
40
41
  color: white;
41
42
  font-size: 18px;
@@ -57,17 +58,16 @@
57
58
  cursor: auto;
58
59
  }
59
60
 
61
+ .esri-widget--button.active-widget {
62
+ background: #212529;
63
+ }
64
+
60
65
  /* Basemap */
61
66
  .basemap-container {
62
67
  display: flex;
63
68
  box-shadow: none !important;
64
69
  }
65
70
 
66
- .esri-basemap-gallery {
67
- display: none;
68
- margin: 0 !important;
69
- }
70
-
71
71
  .esri-basemap-gallery__item:first-child {
72
72
  margin-top: 0;
73
73
  }
@@ -76,7 +76,9 @@
76
76
  margin: 0;
77
77
  }
78
78
 
79
- .esri-basemap-gallery__item--selected, .esri-basemap-gallery__item.esri-basemap-gallery__item--selected:hover, .esri-basemap-gallery__item.esri-basemap-gallery__item--selected:focus {
79
+ .esri-basemap-gallery__item--selected,
80
+ .esri-basemap-gallery__item.esri-basemap-gallery__item--selected:hover,
81
+ .esri-basemap-gallery__item.esri-basemap-gallery__item--selected:focus {
80
82
  border-left-color: #7c8921;
81
83
  background-color: #a0b1280f;
82
84
  }
@@ -97,6 +99,60 @@
97
99
  }
98
100
 
99
101
  /* Measure */
102
+ .measurement-panel {
103
+ margin-top: -1rem;
104
+ }
105
+
106
+ .measurement-dropdown .ccl-expandable__button {
107
+ position: relative;
108
+ display: -webkit-flex;
109
+ display: flex;
110
+ align-items: center;
111
+ padding: 1rem 0;
112
+ border-bottom: 1px solid #a0b12833;
113
+ background-color: white;
114
+ color: #212529;
115
+ cursor: pointer;
116
+ font-size: 0.875rem;
117
+ font-weight: bold;
118
+ text-decoration: none;
119
+ }
120
+
121
+ .measurement-dropdown .ccl-expandable__button .dropdown-icon {
122
+ margin-left: auto;
123
+ color: #a0b128;
124
+ }
125
+
126
+ .measurement-dropdown
127
+ .ccl-expandable__button[aria-expanded='true']
128
+ .dropdown-icon {
129
+ transform: rotate(-180deg);
130
+ }
131
+
132
+ .measurement-dropdown .ccl-expandable__button[aria-expanded='false'] + * {
133
+ display: none;
134
+ }
135
+
136
+ .measurement-dropdown .ccl-expandable__button[aria-expanded='true'] + * {
137
+ display: block;
138
+ }
139
+
140
+ .measurement-dropdown .map-menu-icon {
141
+ margin-right: 1rem;
142
+ margin-left: 0 !important;
143
+ font-size: 1.25rem;
144
+ }
145
+
146
+ .esri-area-measurement-2d,
147
+ .esri-distance-measurement-2d {
148
+ border-bottom: solid 1px #a0b12833;
149
+ }
150
+
151
+ .measurement-dropdown-container .esri-area-measurement-2d__measurement,
152
+ .measurement-dropdown-container .esri-distance-measurement-2d__measurement {
153
+ background: white;
154
+ }
155
+
100
156
  .measurement-container {
101
157
  display: flex;
102
158
  box-shadow: none !important;
@@ -107,10 +163,6 @@
107
163
  flex-direction: column;
108
164
  }
109
165
 
110
- .measurement-panel {
111
- display: none;
112
- }
113
-
114
166
  .measurement-buttons {
115
167
  display: flex;
116
168
  justify-content: space-evenly;
@@ -165,10 +217,6 @@
165
217
  box-shadow: none !important;
166
218
  }
167
219
 
168
- .esri-print {
169
- display: none;
170
- }
171
-
172
220
  .esri-print__layout-tab {
173
221
  font-size: 1rem;
174
222
  }
@@ -192,13 +240,6 @@
192
240
  box-shadow: none !important;
193
241
  }
194
242
 
195
- .area-panel {
196
- display: none;
197
- padding: 1rem;
198
- background-color: white;
199
- font-size: 1rem;
200
- }
201
-
202
243
  .area-panel .ccl-form-group:not(:first-of-type) {
203
244
  margin-top: 0.5rem;
204
245
  }
@@ -270,26 +311,17 @@
270
311
  line-height: inherit;
271
312
  }
272
313
 
273
- .map-menu .ccl-expandable__button::after {
274
- font-family: 'ccl-icons';
275
- }
276
-
277
- .map-menu .ccl-expandable__button[aria-expanded='true']::after {
278
- content: '\e914';
279
- transform: rotate(-180deg);
280
- -webkit-transition: transform 0.3s ease-out;
281
- transition: transform 0.3s ease-out;
282
- }
283
-
284
314
  .map-menu .panels {
285
315
  width: 100%;
286
- height: 440px;
316
+ height: 450px;
287
317
  padding: 0;
288
318
  background: #ffffff;
319
+ overflow-x: hidden;
289
320
  overflow-y: auto;
290
321
  }
291
322
 
292
323
  .map-menu .panel {
324
+ position: relative;
293
325
  display: none;
294
326
  animation: fadein 0.8s;
295
327
  }
@@ -312,11 +344,10 @@
312
344
  position: relative;
313
345
  display: -webkit-flex;
314
346
  display: flex;
315
- align-items: center;
316
- padding: 0.5rem 0;
317
- padding-right: 2.5rem;
347
+ padding: 1rem;
348
+ padding-left: 1rem;
318
349
  border: none;
319
- margin: 0.5rem 0;
350
+ border-bottom: solid 1px #a0b12833;
320
351
  background-color: white;
321
352
  color: #212529;
322
353
  cursor: pointer;
@@ -325,39 +356,31 @@
325
356
  text-decoration: none;
326
357
  }
327
358
 
328
- .map-menu-dropdown .ccl-expandable__button::after {
329
- position: absolute;
330
- right: 0;
331
- font-family: 'ccl-icons';
332
- -moz-osx-font-smoothing: grayscale;
333
- -webkit-font-smoothing: antialiased;
334
- -webkit-transition: all 0.3s ease-in-out;
335
- transition: all 0.3s ease-in-out;
359
+ .map-menu-dropdown .ccl-expandable__button:hover {
360
+ background-color: #a0b1280d;
336
361
  }
337
362
 
338
- .map-menu-dropdown .ccl-expandable__button[aria-expanded='false']::after {
339
- content: '\e914';
363
+ .map-menu-dropdown .ccl-expandable__button .dropdown-icon {
364
+ margin-right: 1rem;
365
+ color: #a0b128;
366
+ }
367
+
368
+ .map-menu-dropdown
369
+ .ccl-expandable__button[aria-expanded='false']
370
+ .dropdown-icon {
340
371
  transform: rotate(0deg);
341
372
  -webkit-transition: transform 0.3s ease-out;
342
373
  transition: transform 0.3s ease-out;
343
374
  }
344
375
 
345
- .map-menu-dropdown .ccl-expandable__button[aria-expanded='true']::after {
346
- content: '\e914';
347
- transform: rotate(-180deg);
376
+ .map-menu-dropdown
377
+ .ccl-expandable__button[aria-expanded='true']
378
+ .dropdown-icon {
379
+ transform: rotate(90deg);
348
380
  -webkit-transition: transform 0.3s ease-out;
349
381
  transition: transform 0.3s ease-out;
350
382
  }
351
383
 
352
- .map-menu-dropdown .ccl-expandable__button::after {
353
- margin-right: 0;
354
- color: #a0b128;
355
- }
356
-
357
- .map-menu-dropdown .ccl-expandable__button:hover::after {
358
- color: #7c8921;
359
- }
360
-
361
384
  .map-menu-dropdown .ccl-expandable__button[aria-expanded='false'] + * {
362
385
  display: none;
363
386
  }
@@ -370,27 +393,16 @@
370
393
  margin-bottom: 0;
371
394
  }
372
395
 
373
- .map-menu-dropdown,
374
- .map-menu-product-dropdown {
375
- margin: 0 1rem;
376
- }
377
-
378
396
  .map-menu-product-dropdown .ccl-expandable__button {
379
- margin-top: 0;
380
- }
381
-
382
- .map-menu-dropdown .map-menu-products-container {
383
- padding-right: 0 !important;
384
- background-color: white;
397
+ padding-left: 2.5rem;
385
398
  }
386
399
 
387
- .map-menu-dropdown .ccl-expandable__button + .ccl-form {
388
- padding: 0 1rem 0 1rem;
400
+ .map-menu-dataset-dropdown .ccl-expandable__button {
401
+ padding-left: 4rem;
389
402
  }
390
403
 
391
404
  .map-menu-dropdown .ccl-form .ccl-form-group {
392
405
  display: flex;
393
- align-items: center;
394
406
  margin-top: 0;
395
407
  }
396
408
 
@@ -401,16 +413,27 @@
401
413
  margin-bottom: 0.5rem;
402
414
  }
403
415
 
404
- .map-menu-dataset > div:first-of-type {
405
- display: flex;
416
+ .map-menu-dataset-dropdown .map-dataset-checkbox {
406
417
  width: 100%;
407
- justify-content: flex-start;
418
+ }
419
+
420
+ .map-menu-dataset-dropdown .map-dataset-checkbox > .ccl-form-group {
421
+ justify-content: space-between;
408
422
  }
409
423
 
410
424
  .map-menu-layers-container {
411
425
  width: 100%;
412
- margin-top: 0.5rem;
413
- margin-left: 1rem;
426
+ }
427
+
428
+ .map-menu-layer {
429
+ padding: 1rem;
430
+ padding-left: 7rem;
431
+ border-bottom: solid 1px #a0b12833;
432
+ margin-top: 0 !important;
433
+ }
434
+
435
+ .map-menu-layer:hover {
436
+ background-color: #a0b1280d;
414
437
  }
415
438
 
416
439
  .map-menu-icons {
@@ -419,7 +442,7 @@
419
442
  }
420
443
 
421
444
  .map-menu-icon {
422
- margin-left: 0.5rem;
445
+ margin-left: 1rem;
423
446
  color: #a0b128;
424
447
  cursor: pointer;
425
448
  font-size: 1rem;
@@ -430,14 +453,6 @@
430
453
  color: #7c8921;
431
454
  }
432
455
 
433
- .map-menu-product-dropdown {
434
- margin-right: 0;
435
- }
436
-
437
- .map-menu-product-dropdown .map-product-checkbox {
438
- background-color: white;
439
- }
440
-
441
456
  #active_panel .no-active-datasets {
442
457
  display: block;
443
458
  margin: 1rem;
@@ -539,28 +554,55 @@
539
554
  }
540
555
 
541
556
  /* Legend*/
542
- .legend-panel {
543
- display: none;
544
- }
545
-
546
557
  .legend-container {
547
558
  display: flex;
548
559
  box-shadow: none !important;
549
560
  }
550
561
 
562
+ .esri-legend .esri-legend__service {
563
+ border-bottom: solid 1px #a0b12833;
564
+ }
565
+
551
566
  /* Info widget */
552
567
  .info-table tr:nth-child(even) {
553
568
  background-color: #a0b1280f;
554
569
  }
555
-
570
+
556
571
  .info-table tr:nth-child(odd) {
557
572
  background-color: #a0b12833;
558
573
  }
559
574
 
560
575
  /* Login */
561
- .map-login-block {
576
+ .login-panel {
577
+ position: absolute;
562
578
  display: none;
563
- margin: 1rem;
579
+ padding: 1rem;
580
+ background: white;
581
+ box-shadow: 0px 0px 4px 0px #dadada;
582
+ }
583
+
584
+ .login-panel .login-block {
585
+ width: 100%;
586
+ margin: 0;
587
+ background: none;
588
+ float: none;
589
+ font-size: 0.85rem;
590
+ }
591
+
592
+ #login_close {
593
+ position: absolute;
594
+ top: 0;
595
+ right: 0;
596
+ margin: 0.5rem;
597
+ color: #a0b128;
598
+ cursor: pointer;
599
+ }
600
+
601
+ .map-menu-icon-login .fa-lock {
602
+ position: absolute;
603
+ top: 1.75rem;
604
+ right: 0.75rem;
605
+ font-size: 0.85rem;
564
606
  }
565
607
 
566
608
  .map-area-block {
@@ -598,6 +640,142 @@
598
640
  }
599
641
 
600
642
  .esri-time-slider .esri-slider__segment--interactive {
601
- background-color: #a0b128 ;
643
+ background-color: #a0b128;
644
+ }
645
+
646
+ .esri-time-slider .esri-slider__segment {
647
+ background: #c5c5c5;
648
+ }
649
+
650
+ #timeslider_close {
651
+ position: absolute;
652
+ top: 0;
653
+ right: 0;
654
+ display: none;
655
+ margin: 0.5rem;
656
+ color: #a0b128;
657
+ cursor: pointer;
658
+ }
659
+
660
+ .timeslider-panel + #timeslider_close {
661
+ display: block;
662
+ }
663
+
664
+ /* Opacity */
665
+ .opacity-panel {
666
+ position: absolute;
667
+ display: none;
668
+ width: 200px;
669
+ padding: 1rem;
670
+ background: white;
671
+ box-shadow: 0px 0px 4px 0px #dadada;
672
+ }
673
+
674
+ #opacity_close {
675
+ position: absolute;
676
+ top: 0;
677
+ right: 0;
678
+ margin: 0.5rem;
679
+ color: #a0b128;
680
+ cursor: pointer;
681
+ }
682
+
683
+ .opacity-title {
684
+ color: #273b4b;
685
+ font-size: 0.875rem;
686
+ font-weight: 600;
687
+ }
688
+
689
+ .opacity-label {
690
+ margin-top: 0.25rem;
691
+ font-size: 0.75rem;
692
+ text-align: center;
693
+ white-space: nowrap;
694
+ }
695
+
696
+ .opacity-label.left {
697
+ float: left;
698
+ }
699
+
700
+ .opacity-label.right {
701
+ float: right;
702
+ }
703
+
704
+ input[type='range'] {
705
+ width: 100%;
706
+ height: 4px;
707
+ -webkit-appearance: none;
708
+ background: #c5c5c5;
709
+ border-radius: 5px;
710
+ cursor: pointer;
711
+ }
712
+
713
+ input[type='range']::-webkit-slider-thumb {
714
+ width: 16px;
715
+ height: 16px;
716
+ border: solid 3px #a0b128;
717
+ -webkit-appearance: none;
718
+ background: white;
719
+ border-radius: 50%;
720
+ cursor: grab;
721
+ transition: all 0.3s ease-in-out;
722
+ }
723
+
724
+ input[type='range']::-moz-range-thumb {
725
+ width: 16px;
726
+ height: 16px;
727
+ border: solid 3px #a0b128;
728
+ -webkit-appearance: none;
729
+ background: white;
730
+ border-radius: 50%;
731
+ cursor: grab;
732
+ transition: all 0.3s ease-in-out;
733
+ }
734
+
735
+ input[type='range']::-ms-thumb {
736
+ width: 16px;
737
+ height: 16px;
738
+ border: solid 3px #a0b128;
739
+ -webkit-appearance: none;
740
+ background: white;
741
+ border-radius: 50%;
742
+ cursor: grab;
743
+ transition: all 0.3s ease-in-out;
744
+ }
745
+
746
+ input[type='range']::-webkit-slider-thumb:hover {
747
+ border-color: #7c8921;
748
+ transform: scale(1.2);
749
+ }
750
+
751
+ input[type='range']::-moz-range-thumb:hover {
752
+ border-color: #7c8921;
753
+ transform: scale(1.2);
754
+ }
755
+
756
+ input[type='range']::-ms-thumb:hover {
757
+ border-color: #7c8921;
758
+ transform: scale(1.2);
759
+ }
760
+
761
+ input[type='range']::-webkit-slider-runnable-track {
762
+ border: none;
763
+ -webkit-appearance: none;
764
+ background: transparent;
765
+ box-shadow: none;
766
+ }
767
+
768
+ input[type='range']::-moz-range-track {
769
+ border: none;
770
+ -webkit-appearance: none;
771
+ background: transparent;
772
+ box-shadow: none;
773
+ }
774
+
775
+ input[type='range']::-ms-track {
776
+ border: none;
777
+ -webkit-appearance: none;
778
+ background: transparent;
779
+ box-shadow: none;
602
780
  }
603
781
  }
@@ -297,6 +297,10 @@
297
297
  display: flex;
298
298
  }
299
299
 
300
+ .filters-title svg {
301
+ height: 20px;
302
+ }
303
+
300
304
  .filters-element select:focus-visible, .filters-element select:focus {
301
305
  outline: none;
302
306
  }
@@ -410,7 +414,6 @@
410
414
  display: flex;
411
415
  justify-content: flex-end;
412
416
  overflow: auto;
413
- background-color: rgba(33,37,41,.5019607843137255);
414
417
  }
415
418
 
416
419
  .modal-filters-container {
@@ -1121,6 +1121,10 @@ body:not(.contenttype-lrf:not(.section-cart):not(.section-profile))
1121
1121
  color: #273b4b;
1122
1122
  }
1123
1123
 
1124
+ div.ui.container {
1125
+ transition: none;
1126
+ }
1127
+
1124
1128
  /* div.map-container.land {
1125
1129
  div#page-document.ui.container & {
1126
1130
  width: calc(100vmax - (100vmax - 100%)) !important;