@openeuropa/bcl-theme-ucpkn 0.16.0 → 0.17.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.
Files changed (42) hide show
  1. package/css/oe-bcl-ucpkn.css +92 -15
  2. package/css/oe-bcl-ucpkn.css.map +1 -1
  3. package/css/oe-bcl-ucpkn.min.css +1 -1
  4. package/css/oe-bcl-ucpkn.min.css.map +1 -1
  5. package/package.json +6 -6
  6. package/src/scss/base/_variables.scss +22 -0
  7. package/src/scss/oe-bcl-ucpkn.scss +1 -14
  8. package/templates/bcl-accordion/accordion.html.twig +9 -0
  9. package/templates/bcl-alert/alert.html.twig +4 -0
  10. package/templates/bcl-banner/banner.html.twig +5 -0
  11. package/templates/bcl-base-templates/content-type.html.twig +4 -0
  12. package/templates/bcl-blockquote/blockquote.html.twig +4 -0
  13. package/templates/bcl-breadcrumb/breadcrumb.html.twig +4 -0
  14. package/templates/bcl-button/button.html.twig +8 -2
  15. package/templates/bcl-button-group/button-group.html.twig +4 -0
  16. package/templates/bcl-card/card.html.twig +4 -0
  17. package/templates/bcl-card-layout/card-layout.html.twig +4 -0
  18. package/templates/bcl-carousel/carousel.html.twig +4 -0
  19. package/templates/bcl-content-banner/content-banner.html.twig +4 -0
  20. package/templates/bcl-date-block/date-block.html.twig +4 -0
  21. package/templates/bcl-description-list/description-list.html.twig +6 -2
  22. package/templates/bcl-fact-figures/fact-figures.html.twig +6 -2
  23. package/templates/bcl-featured-media/featured-media.html.twig +6 -2
  24. package/templates/bcl-file/file.html.twig +6 -2
  25. package/templates/bcl-footer/footer.html.twig +1 -0
  26. package/templates/bcl-form/form.html.twig +4 -0
  27. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +5 -0
  28. package/templates/bcl-links-block/links-block.html.twig +2 -2
  29. package/templates/bcl-list-group/list-group.html.twig +6 -0
  30. package/templates/bcl-listing/listing.html.twig +7 -2
  31. package/templates/bcl-offcanvas/offcanvas.html.twig +4 -0
  32. package/templates/bcl-pagination/pagination.html.twig +5 -1
  33. package/templates/bcl-placeholder/placeholder.html.twig +43 -0
  34. package/templates/bcl-progress/progress.html.twig +4 -0
  35. package/templates/bcl-recent-activities/recent-activities.html.twig +4 -0
  36. package/templates/bcl-search/search.html.twig +15 -0
  37. package/templates/bcl-search-form/search-form.html.twig +52 -0
  38. package/templates/bcl-select/select.html.twig +6 -0
  39. package/templates/bcl-table/table.html.twig +4 -0
  40. package/templates/bcl-timeline/timeline.html.twig +6 -2
  41. package/templates/bcl-toast/toasts.html.twig +4 -0
  42. package/templates/bcl-user/user-view-compact.html.twig +5 -1
@@ -2694,9 +2694,9 @@ progress {
2694
2694
  .form-control:focus {
2695
2695
  color: #212529;
2696
2696
  background-color: #fff;
2697
- border-color: #86b7fe;
2697
+ border-color: #918bc2;
2698
2698
  outline: 0;
2699
- box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
2699
+ box-shadow: 0 0 0 0.25rem rgba(34, 22, 132, 0.25);
2700
2700
  }
2701
2701
  .form-control::-webkit-date-and-time-value {
2702
2702
  height: 1.5em;
@@ -2920,9 +2920,9 @@ textarea.form-control-lg {
2920
2920
  }
2921
2921
  }
2922
2922
  .form-select:focus {
2923
- border-color: #86b7fe;
2923
+ border-color: #918bc2;
2924
2924
  outline: 0;
2925
- box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
2925
+ box-shadow: 0 0 0 0.25rem rgba(34, 22, 132, 0.25);
2926
2926
  }
2927
2927
  .form-select[multiple], .form-select[size]:not([size="1"]) {
2928
2928
  padding-right: 0.75rem;
@@ -2990,9 +2990,9 @@ textarea.form-control-lg {
2990
2990
  filter: brightness(90%);
2991
2991
  }
2992
2992
  .form-check-input:focus {
2993
- border-color: #86b7fe;
2993
+ border-color: #918bc2;
2994
2994
  outline: 0;
2995
- box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
2995
+ box-shadow: 0 0 0 0.25rem rgba(34, 22, 132, 0.25);
2996
2996
  }
2997
2997
  .form-check-input:checked {
2998
2998
  background-color: #0d6efd;
@@ -3036,7 +3036,7 @@ textarea.form-control-lg {
3036
3036
  }
3037
3037
  }
3038
3038
  .form-switch .form-check-input:focus {
3039
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e");
3039
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23918bc2'/%3e%3c/svg%3e");
3040
3040
  }
3041
3041
  .form-switch .form-check-input:checked {
3042
3042
  background-position: right center;
@@ -4288,7 +4288,7 @@ textarea.form-control-lg {
4288
4288
  .dropdown-item.active, .dropdown-item:active {
4289
4289
  color: #fff;
4290
4290
  text-decoration: none;
4291
- background-color: #0d6efd;
4291
+ background-color: #221684;
4292
4292
  }
4293
4293
  .dropdown-item.disabled, .dropdown-item:disabled {
4294
4294
  color: #adb5bd;
@@ -4471,7 +4471,7 @@ textarea.form-control-lg {
4471
4471
  }
4472
4472
  }
4473
4473
  .nav-link:hover, .nav-link:focus {
4474
- color: #0a58ca;
4474
+ color: #1b126a;
4475
4475
  }
4476
4476
  .nav-link.disabled {
4477
4477
  color: #6c757d;
@@ -5315,9 +5315,9 @@ textarea.form-control-lg {
5315
5315
  }
5316
5316
  .accordion-button:focus {
5317
5317
  z-index: 3;
5318
- border-color: #86b7fe;
5318
+ border-color: #918bc2;
5319
5319
  outline: 0;
5320
- box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
5320
+ box-shadow: 0 0 0 0.25rem rgba(34, 22, 132, 0.25);
5321
5321
  }
5322
5322
 
5323
5323
  .accordion-header {
@@ -5429,7 +5429,7 @@ textarea.form-control-lg {
5429
5429
  color: #0a58ca;
5430
5430
  background-color: #e9ecef;
5431
5431
  outline: 0;
5432
- box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
5432
+ box-shadow: 0 0 0 0.25rem rgba(34, 22, 132, 0.25);
5433
5433
  }
5434
5434
 
5435
5435
  .page-item:not(:first-child) .page-link {
@@ -5487,6 +5487,69 @@ textarea.form-control-lg {
5487
5487
  border-bottom-right-radius: 0.2rem;
5488
5488
  }
5489
5489
 
5490
+ .placeholder {
5491
+ display: inline-block;
5492
+ min-height: 1em;
5493
+ vertical-align: middle;
5494
+ cursor: wait;
5495
+ background-color: currentColor;
5496
+ opacity: 0.5;
5497
+ }
5498
+ .placeholder.btn::before {
5499
+ display: inline-block;
5500
+ content: "";
5501
+ }
5502
+
5503
+ .placeholder-xs {
5504
+ min-height: 0.6em;
5505
+ }
5506
+
5507
+ .placeholder-sm {
5508
+ min-height: 0.8em;
5509
+ }
5510
+
5511
+ .placeholder-lg {
5512
+ min-height: 1.2em;
5513
+ }
5514
+
5515
+ .placeholder-glow .placeholder {
5516
+ -webkit-animation: placeholder-glow 2s ease-in-out infinite;
5517
+ animation: placeholder-glow 2s ease-in-out infinite;
5518
+ }
5519
+
5520
+ @-webkit-keyframes placeholder-glow {
5521
+ 50% {
5522
+ opacity: 0.2;
5523
+ }
5524
+ }
5525
+
5526
+ @keyframes placeholder-glow {
5527
+ 50% {
5528
+ opacity: 0.2;
5529
+ }
5530
+ }
5531
+ .placeholder-wave {
5532
+ -webkit-mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
5533
+ mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);
5534
+ -webkit-mask-size: 200% 100%;
5535
+ mask-size: 200% 100%;
5536
+ -webkit-animation: placeholder-wave 2s linear infinite;
5537
+ animation: placeholder-wave 2s linear infinite;
5538
+ }
5539
+
5540
+ @-webkit-keyframes placeholder-wave {
5541
+ 100% {
5542
+ -webkit-mask-position: -200% 0%;
5543
+ mask-position: -200% 0%;
5544
+ }
5545
+ }
5546
+
5547
+ @keyframes placeholder-wave {
5548
+ 100% {
5549
+ -webkit-mask-position: -200% 0%;
5550
+ mask-position: -200% 0%;
5551
+ }
5552
+ }
5490
5553
  .badge {
5491
5554
  display: inline-block;
5492
5555
  padding: 0.35em 0.65em;
@@ -5639,7 +5702,7 @@ textarea.form-control-lg {
5639
5702
  color: #fff;
5640
5703
  text-align: center;
5641
5704
  white-space: nowrap;
5642
- background-color: #0d6efd;
5705
+ background-color: #221684;
5643
5706
  transition: width 0.6s ease;
5644
5707
  }
5645
5708
  @media (prefers-reduced-motion: reduce) {
@@ -15580,6 +15643,7 @@ body {
15580
15643
  font-weight: 300;
15581
15644
  color: #fff;
15582
15645
  vertical-align: middle;
15646
+ max-width: 80%;
15583
15647
  }
15584
15648
 
15585
15649
  .bcl-header .navbar-toggler {
@@ -15625,6 +15689,19 @@ body {
15625
15689
  -ms-flex-pack: right;
15626
15690
  justify-content: right;
15627
15691
  }
15692
+
15693
+ .bcl-header__navbar .navbar-collapse {
15694
+ max-width: 100%;
15695
+ }
15696
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown {
15697
+ max-width: 100%;
15698
+ }
15699
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown a {
15700
+ white-space: normal;
15701
+ }
15702
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown .dropdown-menu {
15703
+ max-width: 100%;
15704
+ }
15628
15705
  }
15629
15706
  @media (min-width: 992px) {
15630
15707
  .bcl-header__project.light,
@@ -16783,7 +16860,7 @@ select.multi-select {
16783
16860
 
16784
16861
  .bcl-banner__content {
16785
16862
  padding: 2.5rem 2rem;
16786
- border-color: #0d6efd;
16863
+ border-color: #221684;
16787
16864
  }
16788
16865
 
16789
16866
  .bcl-banner__image {
@@ -16809,7 +16886,7 @@ select.multi-select {
16809
16886
  }
16810
16887
  .bcl-banner.overlay .bcl-banner__content {
16811
16888
  background: #fff;
16812
- border-bottom: 4px solid #0d6efd;
16889
+ border-bottom: 4px solid #221684;
16813
16890
  }
16814
16891
  .bcl-banner.shade {
16815
16892
  color: #fff;