@openeuropa/bcl-theme-default 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 (43) hide show
  1. package/css/oe-bcl-default.css +77 -0
  2. package/css/oe-bcl-default.css.map +1 -1
  3. package/css/oe-bcl-default.min.css +1 -1
  4. package/css/oe-bcl-default.min.css.map +1 -1
  5. package/icons/bcl-default-icons.svg +1 -0
  6. package/package.json +5 -5
  7. package/src/scss/_header.scss +18 -0
  8. package/src/scss/oe-bcl-default.scss +1 -0
  9. package/templates/bcl-accordion/accordion.html.twig +9 -0
  10. package/templates/bcl-alert/alert.html.twig +4 -0
  11. package/templates/bcl-banner/banner.html.twig +5 -0
  12. package/templates/bcl-base-templates/content-type.html.twig +4 -0
  13. package/templates/bcl-blockquote/blockquote.html.twig +4 -0
  14. package/templates/bcl-breadcrumb/breadcrumb.html.twig +4 -0
  15. package/templates/bcl-button/button.html.twig +8 -2
  16. package/templates/bcl-button-group/button-group.html.twig +4 -0
  17. package/templates/bcl-card/card.html.twig +4 -0
  18. package/templates/bcl-card-layout/card-layout.html.twig +4 -0
  19. package/templates/bcl-carousel/carousel.html.twig +4 -0
  20. package/templates/bcl-content-banner/content-banner.html.twig +4 -0
  21. package/templates/bcl-date-block/date-block.html.twig +4 -0
  22. package/templates/bcl-description-list/description-list.html.twig +6 -2
  23. package/templates/bcl-fact-figures/fact-figures.html.twig +6 -2
  24. package/templates/bcl-featured-media/featured-media.html.twig +6 -2
  25. package/templates/bcl-file/file.html.twig +6 -2
  26. package/templates/bcl-footer/footer.html.twig +1 -0
  27. package/templates/bcl-form/form.html.twig +4 -0
  28. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +5 -0
  29. package/templates/bcl-links-block/links-block.html.twig +2 -2
  30. package/templates/bcl-list-group/list-group.html.twig +6 -0
  31. package/templates/bcl-listing/listing.html.twig +7 -2
  32. package/templates/bcl-offcanvas/offcanvas.html.twig +4 -0
  33. package/templates/bcl-pagination/pagination.html.twig +5 -1
  34. package/templates/bcl-placeholder/placeholder.html.twig +43 -0
  35. package/templates/bcl-progress/progress.html.twig +4 -0
  36. package/templates/bcl-recent-activities/recent-activities.html.twig +4 -0
  37. package/templates/bcl-search/search.html.twig +15 -0
  38. package/templates/bcl-search-form/search-form.html.twig +52 -0
  39. package/templates/bcl-select/select.html.twig +6 -0
  40. package/templates/bcl-table/table.html.twig +4 -0
  41. package/templates/bcl-timeline/timeline.html.twig +6 -2
  42. package/templates/bcl-toast/toasts.html.twig +4 -0
  43. package/templates/bcl-user/user-view-compact.html.twig +5 -1
@@ -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;
@@ -15587,6 +15650,7 @@ body {
15587
15650
  font-weight: 300;
15588
15651
  color: #fff;
15589
15652
  vertical-align: middle;
15653
+ max-width: 80%;
15590
15654
  }
15591
15655
 
15592
15656
  .bcl-header .navbar-toggler {
@@ -15632,6 +15696,19 @@ body {
15632
15696
  -ms-flex-pack: right;
15633
15697
  justify-content: right;
15634
15698
  }
15699
+
15700
+ .bcl-header__navbar .navbar-collapse {
15701
+ max-width: 100%;
15702
+ }
15703
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown {
15704
+ max-width: 100%;
15705
+ }
15706
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown a {
15707
+ white-space: normal;
15708
+ }
15709
+ .bcl-header__navbar .navbar-collapse .nav-item.dropdown .dropdown-menu {
15710
+ max-width: 100%;
15711
+ }
15635
15712
  }
15636
15713
  @media (min-width: 992px) {
15637
15714
  .bcl-header__project.light,