@eeacms/volto-n2k 1.0.15 → 1.0.17
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 +16 -2
- package/package.json +1 -1
- package/src/components/manage/Blocks/CddaShape/View.jsx +5 -2
- package/src/components/manage/Blocks/HabitatDistribution/View.jsx +5 -2
- package/src/components/manage/Blocks/HabitatProtectedSites/View.jsx +5 -2
- package/src/components/manage/Blocks/HabitatsBanner/View.jsx +11 -8
- package/src/components/manage/Blocks/HabitatsBanner/style.less +29 -1
- package/src/components/manage/Blocks/Landing/DefalutView.jsx +4 -1
- package/src/components/manage/Blocks/NavigationAnchors/styles.less +2 -0
- package/src/components/manage/Blocks/SiteShape/View.jsx +5 -2
- package/src/components/manage/Blocks/SpeciesBanner/View.jsx +36 -9
- package/src/components/manage/Blocks/SpeciesBanner/style.less +35 -0
- package/src/components/manage/Blocks/SpeciesDistribution/View.jsx +12 -4
- package/src/components/manage/Blocks/SpeciesDistribution/index.js +7 -1
- package/src/components/manage/Blocks/SpeciesProtectedSites/View.jsx +6 -2
- package/src/components/theme/Header/Header.jsx +82 -37
- package/src/components/theme/LanguageSelector/styles.less +29 -18
- package/src/components/theme/Navigation/Navigation.jsx +148 -234
- package/src/less/styles.less +77 -234
package/src/less/styles.less
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
text-align: left;
|
|
128
128
|
transform: translate(-100%, 0);
|
|
129
129
|
|
|
130
|
-
@media only screen and (max-width:
|
|
130
|
+
@media only screen and (max-width: 1700px) {
|
|
131
131
|
display: none;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -182,7 +182,7 @@ body.grey-bg {
|
|
|
182
182
|
a,
|
|
183
183
|
ul,
|
|
184
184
|
li {
|
|
185
|
-
font-size: 16px;
|
|
185
|
+
// font-size: 16px;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
a {
|
|
@@ -288,254 +288,36 @@ body.grey-bg {
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.header-wrapper {
|
|
291
|
-
padding: 0;
|
|
292
|
-
|
|
293
291
|
.header {
|
|
294
292
|
.logo-nav-wrapper {
|
|
295
|
-
top: 0;
|
|
296
|
-
|
|
297
|
-
.tools-search-wrapper {
|
|
298
|
-
width: 100%;
|
|
299
|
-
margin-left: 0 !important;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
293
|
.navigation {
|
|
303
|
-
width: 100%;
|
|
304
|
-
min-height: 80px;
|
|
305
|
-
align-items: center;
|
|
306
|
-
align-self: normal;
|
|
307
|
-
justify-content: flex-end;
|
|
308
|
-
|
|
309
294
|
.ui.secondary.pointing.menu {
|
|
310
|
-
|
|
311
|
-
width: 100%;
|
|
312
|
-
min-height: 80px;
|
|
313
|
-
flex-wrap: wrap;
|
|
314
|
-
justify-content: center;
|
|
315
|
-
padding: 4px 0;
|
|
316
|
-
margin-right: 0 !important;
|
|
317
|
-
|
|
318
|
-
> * {
|
|
319
|
-
align-self: center;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
&.is-sticky {
|
|
323
|
-
justify-content: center;
|
|
324
|
-
padding: 0;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
&.mobile.hidden {
|
|
328
|
-
max-width: calc(100% - 272px);
|
|
329
|
-
margin-right: 80px !important;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
&.mobile.only {
|
|
333
|
-
.language-selector-wrapper {
|
|
334
|
-
display: flex;
|
|
335
|
-
align-items: flex-end;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
&:not(.is-sdf) {
|
|
340
|
-
justify-content: center;
|
|
341
|
-
padding: 4px 0;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
&:not(.mobile.only) {
|
|
345
|
-
.item.firstLevel.at-glance {
|
|
346
|
-
align-self: stretch;
|
|
347
|
-
padding-bottom: 1.5rem !important;
|
|
348
|
-
margin-bottom: -0.5rem;
|
|
349
|
-
background: #00a390 0% 0% no-repeat padding-box;
|
|
350
|
-
border-radius: 0px 0px 10px 10px;
|
|
351
|
-
color: #fff !important;
|
|
352
|
-
cursor: pointer;
|
|
353
|
-
|
|
354
|
-
&:hover {
|
|
355
|
-
color: #fff !important;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.home-button {
|
|
361
|
-
// width: 56px !important;
|
|
362
|
-
// height: 40px !important;
|
|
363
|
-
padding-right: 0 !important;
|
|
364
|
-
padding-left: 0 !important;
|
|
365
|
-
margin: 4px 0;
|
|
366
|
-
|
|
367
|
-
&.logo {
|
|
368
|
-
img {
|
|
369
|
-
width: 100%;
|
|
370
|
-
height: 100%;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
295
|
+
height: 100%;
|
|
374
296
|
|
|
375
297
|
.item.firstLevel.at-glance {
|
|
376
|
-
|
|
298
|
+
align-self: stretch;
|
|
299
|
+
margin-top: -1rem;
|
|
300
|
+
margin-bottom: -1rem;
|
|
301
|
+
background: #00a390 0 0 no-repeat padding-box;
|
|
302
|
+
border-radius: 0 0 10px 10px;
|
|
303
|
+
color: #fff;
|
|
377
304
|
cursor: pointer;
|
|
378
305
|
|
|
379
306
|
&:hover {
|
|
380
|
-
color: #
|
|
307
|
+
color: #fff !important;
|
|
381
308
|
}
|
|
382
309
|
}
|
|
383
310
|
|
|
384
311
|
.item.firstLevel.deep-dive {
|
|
385
|
-
|
|
312
|
+
align-self: center;
|
|
313
|
+
color: #00a390;
|
|
386
314
|
cursor: pointer;
|
|
387
315
|
|
|
388
316
|
&:hover {
|
|
389
|
-
color: #00a390
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
&:not(.open) {
|
|
394
|
-
.home-button {
|
|
395
|
-
position: absolute;
|
|
396
|
-
// top: 50%;
|
|
397
|
-
left: 0;
|
|
398
|
-
padding: 0 !important;
|
|
399
|
-
margin: 0;
|
|
400
|
-
transform: translateX(-100%);
|
|
401
|
-
|
|
402
|
-
> a {
|
|
403
|
-
display: flex;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.language-selector-wrapper {
|
|
408
|
-
position: absolute;
|
|
409
|
-
right: 0;
|
|
410
|
-
margin: 0;
|
|
411
|
-
margin-bottom: 0;
|
|
412
|
-
transform: translateX(100%);
|
|
413
|
-
|
|
414
|
-
&:hover {
|
|
415
|
-
background-color: transparent !important;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
.language-selector .ui.dropdown {
|
|
419
|
-
display: flex;
|
|
420
|
-
flex-direction: row-reverse;
|
|
421
|
-
align-items: center;
|
|
422
|
-
|
|
423
|
-
img {
|
|
424
|
-
margin-right: 0.25rem;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
&.open {
|
|
431
|
-
.hamburger-wrapper {
|
|
432
|
-
position: absolute;
|
|
433
|
-
z-index: 0;
|
|
434
|
-
top: 1rem;
|
|
435
|
-
right: 15px;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.home-button {
|
|
439
|
-
&.logo {
|
|
440
|
-
// margin-top: 1rem;
|
|
441
|
-
// margin-bottom: 1rem;
|
|
442
|
-
margin-left: 0.8rem;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
&.stackable.open {
|
|
448
|
-
top: 0 !important;
|
|
449
|
-
height: 100vh !important;
|
|
450
|
-
margin-top: 0;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.item {
|
|
454
|
-
position: relative;
|
|
455
|
-
color: @darkGreen;
|
|
456
|
-
|
|
457
|
-
&:not(.home-button) {
|
|
458
|
-
padding-right: 0.8rem !important;
|
|
459
|
-
padding-left: 0.8rem !important;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
&:not(.active),
|
|
463
|
-
&:not(.menuActive) > a {
|
|
464
|
-
color: @darkGreen;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
&.firstLevel,
|
|
468
|
-
&.firstLevel > a {
|
|
469
|
-
border: none;
|
|
470
|
-
font-size: 1.15rem;
|
|
471
|
-
font-weight: bold;
|
|
472
|
-
|
|
473
|
-
&.language-selector-wrapper {
|
|
474
|
-
.language-selector {
|
|
475
|
-
margin-right: 0;
|
|
476
|
-
|
|
477
|
-
.visible.menu {
|
|
478
|
-
left: 50%;
|
|
479
|
-
min-width: 70px !important;
|
|
480
|
-
transform: translate(-50%, 0);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
&:hover {
|
|
486
|
-
color: @lightGreen !important;
|
|
487
|
-
|
|
488
|
-
&.language-selector-wrapper {
|
|
489
|
-
border-color: transparent !important;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
> a {
|
|
493
|
-
color: @darkGreen !important;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
&.secondLevel {
|
|
499
|
-
&:hover {
|
|
500
|
-
background: initial !important;
|
|
501
|
-
color: #005248;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
&.active,
|
|
506
|
-
&.menuActive {
|
|
507
|
-
color: #005248;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
&.active:not(.secondLevel):not(.thirdLevel),
|
|
511
|
-
&.menuActive:not(.secondLevel):not(.thirdLevel) {
|
|
512
|
-
@media only screen and (min-width: 1655px) {
|
|
513
|
-
&::before {
|
|
514
|
-
position: absolute;
|
|
515
|
-
top: 4px;
|
|
516
|
-
left: 50%;
|
|
517
|
-
display: block !important;
|
|
518
|
-
width: 6px;
|
|
519
|
-
height: 6px;
|
|
520
|
-
background-color: #005248;
|
|
521
|
-
border-radius: 100%;
|
|
522
|
-
content: '';
|
|
523
|
-
transform: translateX(-50%);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
317
|
+
color: #00a390;
|
|
526
318
|
}
|
|
527
319
|
}
|
|
528
320
|
}
|
|
529
|
-
|
|
530
|
-
.hamburger-wrapper {
|
|
531
|
-
height: 24px;
|
|
532
|
-
margin: 0.5rem 0;
|
|
533
|
-
|
|
534
|
-
button.hamburger {
|
|
535
|
-
padding: 0;
|
|
536
|
-
cursor: pointer;
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
321
|
}
|
|
540
322
|
}
|
|
541
323
|
}
|
|
@@ -549,13 +331,27 @@ body.grey-bg {
|
|
|
549
331
|
.readmore-button {
|
|
550
332
|
color: #00a390;
|
|
551
333
|
}
|
|
334
|
+
|
|
335
|
+
.ui.basic.segment .header {
|
|
336
|
+
.logo-nav-wrapper {
|
|
337
|
+
.navigation {
|
|
338
|
+
> .ui.menu a {
|
|
339
|
+
font-size: 14px;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.sdf-nav {
|
|
347
|
+
height: 86px;
|
|
552
348
|
}
|
|
553
349
|
|
|
554
350
|
.back-to-top {
|
|
555
351
|
margin-top: 2em;
|
|
556
352
|
margin-bottom: 3rem;
|
|
557
353
|
color: #7b7b7b;
|
|
558
|
-
font-size: 16px;
|
|
354
|
+
// font-size: 16px;
|
|
559
355
|
font-weight: bold;
|
|
560
356
|
|
|
561
357
|
.ui.circular.button {
|
|
@@ -761,8 +557,8 @@ img.slick-image {
|
|
|
761
557
|
}
|
|
762
558
|
|
|
763
559
|
.tabs-block .slick-dots-wrapper .slick-dots li.slick-active button {
|
|
764
|
-
border-color: #
|
|
765
|
-
background-color: #
|
|
560
|
+
border-color: #00a390 !important;
|
|
561
|
+
background-color: #00a390 !important;
|
|
766
562
|
}
|
|
767
563
|
|
|
768
564
|
.tabs-block.light .slick-dots-wrapper .slick-dots li.slick-active::before {
|
|
@@ -814,6 +610,45 @@ img.slick-image {
|
|
|
814
610
|
margin-bottom: 0 !important;
|
|
815
611
|
}
|
|
816
612
|
|
|
613
|
+
.tabs-block {
|
|
614
|
+
.slick-next {
|
|
615
|
+
p {
|
|
616
|
+
font-size: 14px;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.explorer-tabs .tabs-block .tabs > .ui.menu {
|
|
622
|
+
> a {
|
|
623
|
+
padding: 1rem;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
> a:nth-child(1) {
|
|
627
|
+
padding-left: 1rem !important;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
> a.active:nth-child(1),
|
|
631
|
+
> a.active:hover:nth-child(1) {
|
|
632
|
+
background: #4aa47f;
|
|
633
|
+
border-radius: 4px;
|
|
634
|
+
color: #fff;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
> a.active:nth-child(2),
|
|
638
|
+
> a.active:hover:nth-child(2) {
|
|
639
|
+
background: #b78730;
|
|
640
|
+
border-radius: 4px;
|
|
641
|
+
color: #fff;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
> a.active:nth-child(3),
|
|
645
|
+
> a.active:hover:nth-child(3) {
|
|
646
|
+
background: #2e80ec;
|
|
647
|
+
border-radius: 4px;
|
|
648
|
+
color: #fff;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
817
652
|
@media only screen and (max-width: @largestTabletScreen) {
|
|
818
653
|
.tabs-block .slick-slider {
|
|
819
654
|
order: 2;
|
|
@@ -863,3 +698,11 @@ img.slick-image {
|
|
|
863
698
|
width: 650px;
|
|
864
699
|
}
|
|
865
700
|
}
|
|
701
|
+
|
|
702
|
+
.radjhan-normal {
|
|
703
|
+
font-family: RajdhaniR, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.radjhan-bold {
|
|
707
|
+
font-family: RajdhaniB, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
|
|
708
|
+
}
|