@eeacms/volto-cca-policy 1.0.2 → 1.0.4

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.
Files changed (78) hide show
  1. package/CHANGELOG.md +259 -3
  2. package/jest-addon.config.js +4 -2
  3. package/locales/bg/LC_MESSAGES/volto.po +576 -0
  4. package/locales/cs/LC_MESSAGES/volto.po +576 -0
  5. package/locales/da/LC_MESSAGES/volto.po +576 -0
  6. package/locales/de/LC_MESSAGES/volto.po +576 -0
  7. package/locales/el/LC_MESSAGES/volto.po +576 -0
  8. package/locales/en/LC_MESSAGES/volto.po +576 -0
  9. package/locales/es/LC_MESSAGES/volto.po +576 -0
  10. package/locales/et/LC_MESSAGES/volto.po +576 -0
  11. package/locales/fi/LC_MESSAGES/volto.po +576 -0
  12. package/locales/fr/LC_MESSAGES/volto.po +576 -0
  13. package/locales/ga/LC_MESSAGES/volto.po +576 -0
  14. package/locales/hr/LC_MESSAGES/volto.po +576 -0
  15. package/locales/hu/LC_MESSAGES/volto.po +576 -0
  16. package/locales/is/LC_MESSAGES/volto.po +576 -0
  17. package/locales/it/LC_MESSAGES/volto.po +576 -0
  18. package/locales/lt/LC_MESSAGES/volto.po +576 -0
  19. package/locales/lv/LC_MESSAGES/volto.po +576 -0
  20. package/locales/mt/LC_MESSAGES/volto.po +576 -0
  21. package/locales/nl/LC_MESSAGES/volto.po +576 -0
  22. package/locales/nn/LC_MESSAGES/volto.po +576 -0
  23. package/locales/pl/LC_MESSAGES/volto.po +576 -0
  24. package/locales/pt/LC_MESSAGES/volto.po +576 -0
  25. package/locales/ro/LC_MESSAGES/volto.po +576 -0
  26. package/locales/sk/LC_MESSAGES/volto.po +576 -0
  27. package/locales/sl/LC_MESSAGES/volto.po +576 -0
  28. package/locales/sv/LC_MESSAGES/volto.po +576 -0
  29. package/locales/tr/LC_MESSAGES/volto.po +576 -0
  30. package/locales/volto.pot +577 -1
  31. package/package.json +1 -1
  32. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.jsx +224 -0
  33. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.test.jsx +173 -0
  34. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueContentView.jsx +189 -0
  35. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueMapView.jsx +272 -0
  36. package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueMapView.test.jsx +160 -0
  37. package/src/components/Search/NavigatorCatalogue/utils.js +157 -0
  38. package/src/components/Search/NavigatorCatalogue/utils.test.js +132 -0
  39. package/src/components/Search/NavigatorGuide/NavigatorGuideContentView.jsx +409 -0
  40. package/src/components/Search/NavigatorGuide/NavigatorGuideLayout.jsx +8 -0
  41. package/src/components/index.js +2 -0
  42. package/src/components/theme/CompareTools/CompareToolsPanel.jsx +151 -0
  43. package/src/components/theme/CompareTools/CompareToolsPanel.test.jsx +96 -0
  44. package/src/components/theme/CompareTools/CompareToolsView.jsx +475 -0
  45. package/src/components/theme/CompareTools/CompareToolsView.test.jsx +110 -0
  46. package/src/components/theme/CompareTools/utils.js +111 -0
  47. package/src/components/theme/CompareTools/utils.test.jsx +217 -0
  48. package/src/components/theme/Views/ExtendedToolView.jsx +201 -201
  49. package/src/components/theme/Views/ExtendedToolView.test.jsx +420 -58
  50. package/src/constants.js +0 -48
  51. package/src/customizations/volto/reducers/breadcrumbs/breadcrumbs.js +1 -1
  52. package/src/helpers/Utils.jsx +29 -0
  53. package/src/helpers/index.js +3 -0
  54. package/src/index.js +28 -2
  55. package/src/search/index.js +6 -0
  56. package/src/search/navigator_catalogue/config.js +89 -0
  57. package/src/search/navigator_catalogue/facets.js +86 -0
  58. package/src/search/navigator_catalogue/views.js +28 -0
  59. package/src/search/navigator_guide/config.js +70 -0
  60. package/src/search/navigator_guide/facets.js +31 -0
  61. package/src/search/navigator_guide/guideSteps.js +93 -0
  62. package/src/slate-styles.less +4 -0
  63. package/src/state.js +1 -0
  64. package/theme/elements/button.overrides +0 -11
  65. package/theme/elements/label.overrides +15 -0
  66. package/theme/globals/blocks.less +3 -2
  67. package/theme/globals/navigator.less +1090 -0
  68. package/theme/globals/site.overrides +5 -0
  69. package/theme/tokens/colors.less +2 -0
  70. package/artifacts/BLOCKS.md +0 -167
  71. package/artifacts/link-integrity-workflow/README.md +0 -76
  72. package/artifacts/link-integrity-workflow/index.md +0 -33
  73. package/artifacts/link-integrity-workflow/link-integrity-block-fields-report.md +0 -132
  74. package/artifacts/link-integrity-workflow/link-integrity-blocks-report.md +0 -52
  75. package/artifacts/link-integrity-workflow/understanding-link-integrity.md +0 -143
  76. package/artifacts/link-integrity-workflow/volto-block-link-analysis.md +0 -63
  77. package/artifacts/link-integrity-workflow/volto-block-link-discovery.md +0 -60
  78. package/artifacts/test-fixes/test-fixes-specification.md +0 -267
@@ -0,0 +1,1090 @@
1
+ @navigatorMetaTextColor: #7c8a96;
2
+ @navigatorAccentColor: #289588;
3
+ @navigatorInactiveColor: #bcbec0;
4
+ @navigatorBorderColor: #d7dee5;
5
+ @navigatorDashedBorderColor: #cbd4dc;
6
+ @navigatorCriteriaBackgroundColor: #f4f6f8;
7
+ @navigatorIconBorderColor: #dce7ee;
8
+ @navigatorIconBackgroundColor: #f5f9fb;
9
+ @navigatorIconColor: #7890a2;
10
+
11
+ .navigator-small-clear-button() {
12
+ display: inline-flex;
13
+ width: 28px;
14
+ height: 28px;
15
+ min-height: 28px;
16
+ align-items: center;
17
+ justify-content: center;
18
+ padding: 0 !important;
19
+ border: 0;
20
+ border-radius: 50%;
21
+ margin: 0 !important;
22
+ background: transparent;
23
+ box-shadow: none;
24
+ color: #607482;
25
+ line-height: 1;
26
+
27
+ i.icon {
28
+ display: block;
29
+ width: auto;
30
+ height: auto;
31
+ margin: 0 !important;
32
+ font-size: 1rem;
33
+ line-height: 1;
34
+ }
35
+
36
+ &:hover,
37
+ &:focus {
38
+ background: #e8f0f5;
39
+ box-shadow: none;
40
+ color: #30495b;
41
+ }
42
+ }
43
+
44
+ .navigator-tool-icon {
45
+ display: inline-flex;
46
+ flex: 0 0 auto;
47
+ align-items: center;
48
+ justify-content: center;
49
+ box-sizing: border-box;
50
+ border: 1px solid @navigatorIconBorderColor;
51
+ border-radius: 4px;
52
+ background-color: #fff;
53
+ color: @navigatorIconColor;
54
+
55
+ i.icon {
56
+ width: auto;
57
+ height: auto;
58
+ margin: 0 !important;
59
+ line-height: 1;
60
+ }
61
+
62
+ &.small {
63
+ width: 28px;
64
+ height: 28px;
65
+ flex-basis: 28px;
66
+
67
+ i.icon {
68
+ font-size: 1rem;
69
+ }
70
+ }
71
+
72
+ &.medium {
73
+ width: 40px;
74
+ height: 40px;
75
+ flex-basis: 40px;
76
+ font-size: 1.25rem;
77
+ }
78
+
79
+ &.large {
80
+ width: 56px;
81
+ height: 56px;
82
+ flex-basis: 56px;
83
+ font-size: 1.65rem;
84
+ }
85
+ }
86
+
87
+ .searchapp-navigatorCatalogueSearch .catalogue-compare {
88
+ display: inline-flex;
89
+ align-items: center;
90
+ gap: 0.45rem;
91
+
92
+ .ui.checkbox {
93
+ margin: 0;
94
+ }
95
+ }
96
+
97
+ .catalogue-compare-panel {
98
+ position: fixed;
99
+ z-index: 1000;
100
+ top: 7rem;
101
+ right: 1.5rem;
102
+ overflow: hidden;
103
+ width: min(320px, calc(100vw - 2rem));
104
+ box-sizing: border-box;
105
+ border-radius: 4px;
106
+ background: #fff;
107
+ box-shadow: 0 12px 28px rgba(29, 53, 69, 0.18);
108
+
109
+ .ui.button {
110
+ margin: 0 !important;
111
+ }
112
+
113
+ .compare-panel-content {
114
+ padding: 1rem;
115
+ }
116
+
117
+ .compare-panel-header {
118
+ padding: 1rem;
119
+ background-color: #0a3d61;
120
+
121
+ h2 {
122
+ display: flex;
123
+ align-items: center;
124
+ justify-content: space-between;
125
+ color: #fff;
126
+ font-size: 1rem;
127
+ }
128
+ }
129
+
130
+ .compare-panel-count {
131
+ display: inline-flex;
132
+ align-items: center;
133
+ padding: 0.15rem 0.5rem;
134
+ border: 1px solid #fff;
135
+ border-radius: 13px;
136
+ color: #fff;
137
+ font-size: 14px;
138
+ font-weight: 700;
139
+ line-height: 1;
140
+ }
141
+
142
+ .compare-panel-tools {
143
+ display: grid;
144
+ min-width: 0;
145
+ margin-bottom: 0.9rem;
146
+ gap: 0.5rem;
147
+ grid-template-columns: minmax(0, 1fr);
148
+ }
149
+
150
+ .compare-panel-tool {
151
+ display: flex;
152
+ width: 100%;
153
+ min-height: 42px;
154
+ min-width: 0;
155
+ box-sizing: border-box;
156
+ align-items: center;
157
+ justify-content: space-between;
158
+ padding: 0.55rem 0.65rem;
159
+ border: 1px solid @navigatorBorderColor;
160
+ border-radius: 4px;
161
+ background-color: #f7fafc;
162
+ gap: 0.75rem;
163
+
164
+ &.placeholder {
165
+ justify-content: flex-start;
166
+ background-color: #fff;
167
+ border-style: dashed;
168
+
169
+ .navigator-tool-icon {
170
+ border-style: dashed;
171
+ }
172
+
173
+ .compare-panel-tool-title {
174
+ font-weight: 400;
175
+ }
176
+ }
177
+ }
178
+
179
+ .compare-panel-tool-title {
180
+ overflow: hidden;
181
+ min-width: 0;
182
+ flex: 1 1 auto;
183
+ font-size: 13px;
184
+ font-weight: 700;
185
+ text-overflow: ellipsis;
186
+ white-space: nowrap;
187
+ }
188
+
189
+ .ui.button.compare-panel-tool-clear {
190
+ .navigator-small-clear-button();
191
+ flex: 0 0 auto;
192
+ }
193
+
194
+ .compare-panel-actions {
195
+ display: flex;
196
+ flex-direction: column;
197
+ gap: 0.8rem;
198
+ }
199
+
200
+ .compare-panel-status {
201
+ font-weight: 500;
202
+ text-align: center;
203
+
204
+ &.ready {
205
+ color: @navigatorAccentColor;
206
+ }
207
+
208
+ &.incomplete {
209
+ color: #b42318;
210
+ }
211
+ }
212
+
213
+ .ui.button.compare-panel-submit {
214
+ margin: 0;
215
+ }
216
+
217
+ .compare-panel-clear-all {
218
+ padding: 0;
219
+ margin: 0;
220
+ background: transparent;
221
+ color: @linkColor;
222
+
223
+ &:hover,
224
+ &:focus {
225
+ background-color: transparent;
226
+ }
227
+ }
228
+ }
229
+
230
+ .extended-tool-compare-action {
231
+ display: flex;
232
+ justify-content: flex-end;
233
+ margin-bottom: 1.5rem;
234
+ gap: 0.75rem;
235
+
236
+ .ui.button {
237
+ margin: 0 !important;
238
+ }
239
+ }
240
+
241
+ .compare-tool-header {
242
+ display: flex;
243
+ min-width: 0;
244
+ width: 100%;
245
+ flex-direction: column;
246
+ gap: 0.75rem;
247
+
248
+ .compare-tool-title {
249
+ display: -webkit-box;
250
+ overflow: hidden;
251
+ width: 100%;
252
+ -webkit-box-orient: vertical;
253
+ font-size: 16px;
254
+ font-weight: 700;
255
+ -webkit-line-clamp: 2;
256
+ line-height: 1.4;
257
+ text-overflow: ellipsis;
258
+ }
259
+ }
260
+
261
+ .compare-tool-title-row {
262
+ display: flex;
263
+ min-height: 40px;
264
+ min-width: 0;
265
+ align-items: center;
266
+ gap: 0.75rem;
267
+
268
+ .compare-tool-title {
269
+ width: auto;
270
+ min-width: 0;
271
+ flex: 1 1 auto;
272
+ }
273
+ }
274
+
275
+ .compare-tool-actions {
276
+ display: flex;
277
+ width: 100%;
278
+ align-items: center;
279
+ gap: 0.5rem;
280
+
281
+ .ui.icon.button {
282
+ flex: 1 1 auto;
283
+ margin: 0;
284
+ }
285
+
286
+ .compare-tool-clear.ui.button {
287
+ flex: 0 0 auto;
288
+ }
289
+ }
290
+
291
+ .ui.button.icon.compare-tool-open .icon {
292
+ margin-left: 0.5rem !important;
293
+ }
294
+
295
+ .navigator-catalogue-compare-view {
296
+ overflow-x: auto;
297
+
298
+ .compare-page-header {
299
+ display: flex;
300
+ align-items: center;
301
+ justify-content: space-between;
302
+ margin-bottom: 1.5rem;
303
+ gap: 1rem;
304
+
305
+ h2 {
306
+ margin: 0;
307
+ }
308
+ }
309
+
310
+ .compare-page-actions {
311
+ display: flex;
312
+ flex: 0 0 auto;
313
+ align-items: center;
314
+ gap: 0.75rem;
315
+ }
316
+
317
+ .ui.celled.table {
318
+ width: 100%;
319
+ min-width: 800px;
320
+ border: 1px solid @navigatorBorderColor;
321
+ border-radius: 0;
322
+ border-collapse: collapse;
323
+ font-size: 16px;
324
+ table-layout: fixed;
325
+
326
+ thead th,
327
+ tbody td,
328
+ tbody th {
329
+ border-color: @navigatorBorderColor;
330
+ }
331
+
332
+ thead th {
333
+ padding: 1.1rem 1.25rem;
334
+ background: #fff;
335
+ vertical-align: top;
336
+ }
337
+
338
+ thead th:first-child {
339
+ background: @navigatorCriteriaBackgroundColor;
340
+ vertical-align: bottom;
341
+ }
342
+
343
+ tbody td,
344
+ tbody th {
345
+ min-height: 84px;
346
+ padding: 1.35rem 1.25rem;
347
+ line-height: 1.45;
348
+ vertical-align: top;
349
+ background: #fff;
350
+ font-weight: inherit;
351
+ text-align: left;
352
+ }
353
+
354
+ tbody th:first-child {
355
+ background: @navigatorCriteriaBackgroundColor;
356
+ }
357
+ }
358
+
359
+ .ui.celled.table th:first-child,
360
+ .ui.celled.table td:first-child {
361
+ width: 180px;
362
+ }
363
+
364
+ .ui.celled.table th:not(:first-child),
365
+ .ui.celled.table td:not(:first-child) {
366
+ overflow-wrap: anywhere;
367
+ }
368
+
369
+ .compare-criteria-title {
370
+ font-weight: 500;
371
+ }
372
+
373
+ .usability-value,
374
+ .functionality-value {
375
+ color: @navigatorAccentColor;
376
+ font-size: 20px;
377
+ font-weight: 700;
378
+ }
379
+
380
+ .compare-criteria-label {
381
+ color: #82919d;
382
+ font-size: 12px;
383
+ font-weight: 700;
384
+ letter-spacing: 0.04em;
385
+ text-transform: uppercase;
386
+ }
387
+
388
+ .compare-tool-actions {
389
+ .ui.button.compare-tool-open {
390
+ display: inline-flex;
391
+ align-items: center;
392
+ justify-content: center;
393
+ }
394
+
395
+ .ui.button.compare-tool-clear {
396
+ display: inline-flex;
397
+ width: 40px;
398
+ height: 40px;
399
+ min-height: 40px;
400
+ flex: 0 0 40px;
401
+ align-items: center;
402
+ justify-content: center;
403
+ padding: 0;
404
+ border: 1px solid #cbd7df;
405
+ background: #fff;
406
+ box-shadow: none;
407
+
408
+ i.icon {
409
+ width: auto;
410
+ height: auto;
411
+ margin: 0 !important;
412
+ line-height: 1;
413
+ }
414
+ }
415
+ }
416
+ }
417
+
418
+ @media only screen and (max-width: 767px) {
419
+ .catalogue-compare-panel {
420
+ top: auto;
421
+ right: 1rem;
422
+ bottom: 1rem;
423
+ left: 1rem;
424
+ width: auto;
425
+ }
426
+ }
427
+
428
+ @media only screen and (max-width: @largestMobileScreen) {
429
+ .navigator-catalogue-compare-view {
430
+ .compare-page-header {
431
+ flex-direction: column;
432
+ align-items: flex-start;
433
+ }
434
+
435
+ .compare-page-actions {
436
+ align-self: flex-end;
437
+ }
438
+ }
439
+ }
440
+
441
+ .navigator-catalogue-map {
442
+ display: grid;
443
+ width: 100%;
444
+ height: 600px;
445
+ min-height: 600px;
446
+ align-items: stretch;
447
+ gap: 1.5rem;
448
+ grid-template-columns: minmax(0, 4fr) minmax(12rem, 1fr);
449
+
450
+ .ol-map-wrapper,
451
+ .ol-map {
452
+ height: 600px;
453
+ }
454
+
455
+ .navigator-catalogue-map-canvas {
456
+ position: relative;
457
+ min-width: 0;
458
+ height: 100%;
459
+ }
460
+
461
+ .ol-map {
462
+ width: 100%;
463
+ height: 100%;
464
+ }
465
+
466
+ .ol-layer {
467
+ transition: opacity 0.3s ease;
468
+ }
469
+ }
470
+
471
+ .navigator-catalogue-map-loading {
472
+ display: flex;
473
+ min-height: 400px;
474
+ align-items: center;
475
+ justify-content: center;
476
+ color: #7c8a96;
477
+ font-size: 1rem;
478
+ gap: 1rem;
479
+
480
+ i.icon.loading {
481
+ font-size: 1.5rem;
482
+ }
483
+ }
484
+
485
+ .navigator-catalogue-map-tooltip {
486
+ position: absolute;
487
+ z-index: 1000;
488
+ min-width: 200px;
489
+ max-width: 280px;
490
+ padding: 1em;
491
+ margin-top: -10px;
492
+ margin-left: 15px;
493
+ background: #fff;
494
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
495
+ pointer-events: auto;
496
+
497
+ .tooltip-header {
498
+ font-size: 16px;
499
+ }
500
+
501
+ .tooltip-body {
502
+ margin: 1em 0;
503
+ font-size: 0.875rem;
504
+ }
505
+
506
+ .tooltip-actions {
507
+ .ui.button {
508
+ width: 100%;
509
+ margin: 0;
510
+ }
511
+ }
512
+
513
+ .ui.button.tooltip-close {
514
+ .navigator-small-clear-button();
515
+ position: absolute;
516
+ top: 0.5rem;
517
+ right: 0.5rem;
518
+ }
519
+ }
520
+
521
+ .navigator-catalogue-map-legend {
522
+ font-size: 16px;
523
+
524
+ .legend-title {
525
+ margin-top: 0;
526
+ }
527
+
528
+ .legend-item {
529
+ display: flex;
530
+ align-items: center;
531
+ padding: 0.2rem 0;
532
+ gap: 0.5rem;
533
+
534
+ .legend-color {
535
+ display: inline-block;
536
+ width: 16px;
537
+ height: 16px;
538
+ flex-shrink: 0;
539
+ }
540
+ }
541
+ }
542
+
543
+ @media only screen and (max-width: 768px) {
544
+ .navigator-catalogue-map {
545
+ height: auto;
546
+ min-height: 0;
547
+ grid-template-columns: minmax(0, 1fr);
548
+
549
+ .navigator-catalogue-map-canvas {
550
+ height: 400px;
551
+ min-height: 350px;
552
+ }
553
+ }
554
+
555
+ .navigator-catalogue-map-tooltip {
556
+ top: auto !important;
557
+ bottom: 1rem;
558
+ left: 50% !important;
559
+ margin-left: 0;
560
+ transform: translateX(-50%);
561
+ }
562
+
563
+ .navigator-catalogue-map-legend {
564
+ width: 100%;
565
+ box-sizing: border-box;
566
+ }
567
+ }
568
+
569
+ body.searchlib-page .searchapp-navigatorCatalogueSearch {
570
+ .back-link {
571
+ display: none;
572
+ }
573
+
574
+ .search-input,
575
+ .sui-search-box {
576
+ margin-bottom: 2rem;
577
+ }
578
+
579
+ .ui.right.sidebar {
580
+ background-color: #fff;
581
+ box-shadow: -4px 0 4px rgba(0, 0, 0, 0.25);
582
+ }
583
+
584
+ .sidebar-wrapper {
585
+ display: flex;
586
+ height: 100%;
587
+ flex-direction: column;
588
+ padding: 1em;
589
+ }
590
+
591
+ .navigator-view-tabs {
592
+ display: flex;
593
+ border-bottom: 1px solid @navigatorBorderColor;
594
+ margin-bottom: 1.2rem;
595
+ gap: 0;
596
+
597
+ button {
598
+ min-height: 46px;
599
+ padding: 0 1.15rem;
600
+ border: 0;
601
+ border-bottom: 3px solid transparent;
602
+ background: transparent;
603
+ color: #596f80;
604
+ cursor: pointer;
605
+ font-weight: 700;
606
+
607
+ &.active {
608
+ border-bottom-color: @secondaryColor;
609
+ color: @primaryColor;
610
+ }
611
+
612
+ i.icon {
613
+ margin-right: 0.45rem;
614
+ }
615
+ }
616
+ }
617
+
618
+ .navigator-catalogue-item {
619
+ display: grid;
620
+ padding: 1.2rem;
621
+ border: 1px solid @navigatorBorderColor;
622
+ border-radius: 4px;
623
+ margin-bottom: 1.5rem;
624
+ background: #fff;
625
+ gap: 1.15rem;
626
+ grid-template-columns: 56px minmax(0, 1fr);
627
+
628
+ &.selected {
629
+ border: 2px solid #80b9d8;
630
+ }
631
+ }
632
+
633
+ .catalogue-item-top {
634
+ display: flex;
635
+ align-items: flex-start;
636
+ justify-content: space-between;
637
+ gap: 1rem;
638
+
639
+ .navigator-tool-provider {
640
+ overflow: hidden;
641
+ max-width: 40rem;
642
+ text-overflow: ellipsis;
643
+ white-space: nowrap;
644
+ }
645
+
646
+ .catalogue-date {
647
+ flex: 0 0 auto;
648
+ }
649
+ }
650
+
651
+ .catalogue-item-heading {
652
+ h4 {
653
+ margin: 10px 0;
654
+
655
+ a {
656
+ color: inherit;
657
+ }
658
+ }
659
+ }
660
+
661
+ .catalogue-taxonomy,
662
+ .navigator-catalogue-tags,
663
+ .catalogue-item-footer,
664
+ .catalogue-meta,
665
+ .catalogue-actions,
666
+ .navigator-catalogue-cycle-elements {
667
+ display: flex;
668
+ flex-wrap: wrap;
669
+ align-items: center;
670
+ }
671
+
672
+ .catalogue-taxonomy {
673
+ gap: 0.5rem;
674
+ }
675
+
676
+ .navigator-catalogue-tags {
677
+ gap: 0.35rem;
678
+ }
679
+
680
+ .catalogue-item-footer {
681
+ justify-content: space-between;
682
+ padding-top: 0.85rem;
683
+ border-top: 1px solid @navigatorBorderColor;
684
+ margin-top: 1rem;
685
+ gap: 1rem;
686
+ }
687
+
688
+ .catalogue-meta {
689
+ color: @navigatorMetaTextColor;
690
+ font-size: 0.85rem;
691
+ gap: 1rem;
692
+ }
693
+
694
+ .catalogue-licence {
695
+ display: inline-block;
696
+ overflow: hidden;
697
+ max-width: 300px;
698
+ text-overflow: ellipsis;
699
+ white-space: nowrap;
700
+ }
701
+
702
+ .license-type {
703
+ gap: 0.5em;
704
+ }
705
+
706
+ .navigator-catalogue-cycle-elements {
707
+ gap: 0.25rem;
708
+ }
709
+
710
+ .cycle-elements-label {
711
+ margin-right: 0.35rem;
712
+ font-weight: 800;
713
+ text-transform: uppercase;
714
+ }
715
+
716
+ .cycle-element {
717
+ background: @secondaryColor;
718
+ color: #fff;
719
+ }
720
+
721
+ .catalogue-actions {
722
+ gap: 1rem;
723
+
724
+ .ui.button {
725
+ margin: 0;
726
+ }
727
+ }
728
+
729
+ @media only screen and (max-width: 767px) {
730
+ .catalogue-item-footer {
731
+ flex-direction: column;
732
+ align-items: stretch;
733
+ }
734
+
735
+ .navigator-catalogue-item {
736
+ padding: 1rem;
737
+ grid-template-columns: 1fr;
738
+ }
739
+
740
+ .catalogue-item-heading {
741
+ flex-direction: column;
742
+ }
743
+
744
+ .catalogue-actions {
745
+ justify-content: flex-start;
746
+ }
747
+ }
748
+ }
749
+
750
+ .navigator-tool-provider,
751
+ .catalogue-date {
752
+ color: @navigatorMetaTextColor;
753
+ font-size: 13px;
754
+ font-weight: 700;
755
+ text-transform: uppercase;
756
+ }
757
+
758
+ .catalogue-tag-popup.ui.popup {
759
+ max-width: 18rem;
760
+ font-size: 0.85rem;
761
+ line-height: 1.35;
762
+
763
+ ul {
764
+ padding-left: 1rem;
765
+ margin: 0;
766
+ }
767
+
768
+ li + li {
769
+ margin-top: 0.25rem;
770
+ }
771
+ }
772
+
773
+ .navigator-tag {
774
+ display: inline-flex;
775
+ min-height: 24px;
776
+ align-items: center;
777
+ padding: 0 0.45rem;
778
+ border-radius: 2px;
779
+ font-weight: 500;
780
+ font-size: 12px;
781
+
782
+ &.sector,
783
+ &.more {
784
+ background: #a1d8fd;
785
+ color: #014d7d;
786
+ }
787
+
788
+ &.hazard {
789
+ background: #a1e5dc;
790
+ color: #0a7b6c;
791
+ }
792
+
793
+ &.adaptation-stage {
794
+ background: @secondaryColor;
795
+ color: #fff;
796
+ }
797
+
798
+ &.coverage {
799
+ background: #ddd8f5;
800
+ color: #51458a;
801
+ }
802
+
803
+ &.more {
804
+ border: 0;
805
+ cursor: pointer;
806
+ font-family: inherit;
807
+ }
808
+ }
809
+
810
+ .navigator-guide-search {
811
+ .navigator-guide-header {
812
+ margin-bottom: 2rem;
813
+ text-align: center;
814
+
815
+ h2 {
816
+ margin-top: 0.5em;
817
+ }
818
+ }
819
+
820
+ .navigator-guide-preview-header {
821
+ display: flex;
822
+ align-items: center;
823
+ margin-bottom: 0.5rem;
824
+ color: @navigatorAccentColor;
825
+ gap: 0.5rem;
826
+ }
827
+
828
+ .navigator-guide-eyebrow,
829
+ .navigator-guide-preview-label {
830
+ font-size: 13px;
831
+ font-weight: 700;
832
+ letter-spacing: 0.08em;
833
+ text-transform: uppercase;
834
+ color: @navigatorAccentColor;
835
+ }
836
+
837
+ .navigator-guide-layout {
838
+ display: grid;
839
+ gap: 1.5rem;
840
+ grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
841
+ }
842
+
843
+ .navigator-guide-wizard,
844
+ .navigator-guide-preview {
845
+ padding: 1rem;
846
+ border: 1px solid @navigatorBorderColor;
847
+ border-radius: 0.25rem;
848
+ }
849
+
850
+ .navigator-guide-progress,
851
+ .navigator-guide-actions,
852
+ .navigator-guide-step-meta,
853
+ .navigator-guide-option {
854
+ display: flex;
855
+ align-items: center;
856
+ justify-content: space-between;
857
+ }
858
+
859
+ .navigator-guide-step-meta {
860
+ color: @navigatorMetaTextColor;
861
+ font-size: 13px;
862
+ }
863
+
864
+ .navigator-guide-step-number {
865
+ font-weight: 500;
866
+ }
867
+
868
+ .navigator-guide-progress {
869
+ margin-bottom: 1rem;
870
+ gap: 1rem;
871
+
872
+ .ui.button.navigator-guide-progress-step {
873
+ display: flex;
874
+ flex: 0 0 auto;
875
+ align-items: center;
876
+ padding: 0;
877
+ margin: 0;
878
+ background-color: transparent;
879
+ color: @navigatorInactiveColor;
880
+ font-size: 14px;
881
+ font-weight: 500;
882
+ gap: 0.5rem;
883
+
884
+ span {
885
+ display: inline-flex;
886
+ width: 2rem;
887
+ height: 2rem;
888
+ flex-shrink: 0;
889
+ align-items: center;
890
+ justify-content: center;
891
+ border-radius: 50%;
892
+ background: @navigatorInactiveColor;
893
+ color: #fff;
894
+ font-weight: 700;
895
+
896
+ i.icon {
897
+ margin: 0;
898
+ }
899
+ }
900
+
901
+ &.active {
902
+ color: @secondaryColor;
903
+
904
+ span {
905
+ background: @secondaryColor;
906
+ color: #fff;
907
+ }
908
+ }
909
+
910
+ &.completed {
911
+ color: @navigatorAccentColor;
912
+
913
+ span {
914
+ background: @navigatorAccentColor;
915
+ color: #fff;
916
+ }
917
+ }
918
+ }
919
+
920
+ .navigator-guide-progress-connector {
921
+ height: 2px;
922
+ flex: 1 1 0;
923
+ background: @navigatorInactiveColor;
924
+
925
+ &.completed {
926
+ background: @navigatorAccentColor;
927
+ }
928
+ }
929
+ }
930
+
931
+ .navigator-guide-progress-bar {
932
+ overflow: hidden;
933
+ height: 0.375rem;
934
+ border-radius: 999px;
935
+ margin-bottom: 0.5rem;
936
+ background: @navigatorInactiveColor;
937
+ }
938
+
939
+ .navigator-guide-progress-bar-fill {
940
+ height: 100%;
941
+ border-radius: inherit;
942
+ background: @secondaryColor;
943
+ transition: width 200ms ease;
944
+ }
945
+
946
+ .navigator-guide-preview-result {
947
+ display: flex;
948
+ align-items: flex-start;
949
+ padding: 1rem 0;
950
+ border-top: 1px dashed @navigatorDashedBorderColor;
951
+ gap: 0.75rem;
952
+ }
953
+
954
+ .navigator-guide-preview-result-content {
955
+ display: flex;
956
+ min-width: 0;
957
+ flex: 1 1 auto;
958
+ flex-direction: column;
959
+ gap: 0.5rem;
960
+
961
+ .navigator-tool-provider {
962
+ display: block;
963
+ overflow: hidden;
964
+ max-width: 100%;
965
+ text-overflow: ellipsis;
966
+ white-space: nowrap;
967
+ }
968
+ }
969
+
970
+ .navigator-guide-preview-result-title {
971
+ overflow: hidden;
972
+ color: inherit;
973
+
974
+ h5 {
975
+ display: -webkit-box;
976
+ overflow: hidden;
977
+ width: 100%;
978
+ margin: 0;
979
+ -webkit-box-orient: vertical;
980
+ font-size: 16px;
981
+ -webkit-line-clamp: 2;
982
+ line-height: 1.4;
983
+ text-overflow: ellipsis;
984
+ }
985
+ }
986
+
987
+ .navigator-guide-preview-tags {
988
+ display: flex;
989
+ flex-wrap: wrap;
990
+ align-items: center;
991
+ gap: 0.4rem;
992
+ }
993
+
994
+ .navigator-guide-preview-tag-more {
995
+ font-size: 0.8rem;
996
+ font-weight: 700;
997
+ }
998
+
999
+ .navigator-guide-options {
1000
+ display: grid;
1001
+ min-height: 5rem;
1002
+ margin: 1.5rem 0;
1003
+ gap: 0.75rem;
1004
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1005
+
1006
+ > .message {
1007
+ grid-column: 1 / -1;
1008
+ }
1009
+ }
1010
+
1011
+ .navigator-guide-options-loading {
1012
+ display: flex;
1013
+ min-height: 5rem;
1014
+ align-items: center;
1015
+ justify-content: center;
1016
+ margin: 1.5rem 0;
1017
+ }
1018
+
1019
+ .navigator-guide-option {
1020
+ padding: 0.8rem;
1021
+ border: 1px solid @navigatorBorderColor;
1022
+ border-radius: 4px;
1023
+ gap: 0.75rem;
1024
+
1025
+ &.selected {
1026
+ border-color: @primaryColor;
1027
+ background: fade(@primaryColor, 5%);
1028
+ font-weight: 500;
1029
+ }
1030
+
1031
+ > span {
1032
+ flex: 1;
1033
+ }
1034
+
1035
+ .checkbox {
1036
+ margin: 0 !important;
1037
+ }
1038
+ }
1039
+
1040
+ .navigator-guide-actions {
1041
+ padding-top: 1.25rem;
1042
+ border-top: 1px solid @navigatorBorderColor;
1043
+
1044
+ > div {
1045
+ display: flex;
1046
+ gap: 1rem;
1047
+ }
1048
+ }
1049
+
1050
+ .navigator-guide-preview {
1051
+ align-self: start;
1052
+ }
1053
+
1054
+ .navigator-guide-preview-empty {
1055
+ padding: 1rem;
1056
+ border: 1px dashed @navigatorDashedBorderColor;
1057
+ margin: 1.5rem 0 0;
1058
+ color: @navigatorMetaTextColor;
1059
+ font-size: 0.875rem;
1060
+ }
1061
+
1062
+ .navigator-guide-result-count {
1063
+ display: flex;
1064
+ align-items: center;
1065
+ font-weight: 700;
1066
+
1067
+ .navigator-guide-result-count-value {
1068
+ margin-right: 0.5rem;
1069
+ color: @primaryColor;
1070
+ font-size: 46px;
1071
+ }
1072
+
1073
+ p {
1074
+ font-size: 19px;
1075
+ }
1076
+ }
1077
+
1078
+ .navigator-guide-preview-refinements {
1079
+ margin: 0 0 0.75rem;
1080
+ color: @navigatorMetaTextColor;
1081
+ font-size: 13px;
1082
+ }
1083
+
1084
+ @media only screen and (max-width: 900px) {
1085
+ .navigator-guide-layout,
1086
+ .navigator-guide-options {
1087
+ grid-template-columns: 1fr;
1088
+ }
1089
+ }
1090
+ }