@openeuropa/bcl-theme-ucpkn 0.20.0 → 0.21.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.
- package/css/oe-bcl-ucpkn.css +343 -0
- package/css/oe-bcl-ucpkn.css.map +1 -1
- package/css/oe-bcl-ucpkn.min.css +1 -1
- package/css/oe-bcl-ucpkn.min.css.map +1 -1
- package/icons/bcl-default-icons.svg +1 -1
- package/js/oe-bcl-ucpkn.bundle.js +241 -76
- package/js/oe-bcl-ucpkn.bundle.js.map +1 -1
- package/js/oe-bcl-ucpkn.bundle.min.js +1 -1
- package/js/oe-bcl-ucpkn.bundle.min.js.map +1 -1
- package/js/oe-bcl-ucpkn.esm.js +235 -74
- package/js/oe-bcl-ucpkn.esm.js.map +1 -1
- package/js/oe-bcl-ucpkn.esm.min.js +1 -1
- package/js/oe-bcl-ucpkn.esm.min.js.map +1 -1
- package/js/oe-bcl-ucpkn.umd.js +241 -76
- package/js/oe-bcl-ucpkn.umd.js.map +1 -1
- package/js/oe-bcl-ucpkn.umd.min.js +1 -1
- package/js/oe-bcl-ucpkn.umd.min.js.map +1 -1
- package/package.json +6 -6
- package/src/js/index.esm.js +1 -0
- package/src/js/index.umd.js +1 -0
- package/src/scss/oe-bcl-ucpkn.scss +3 -0
- package/templates/bcl-base-templates/listing-page.html.twig +13 -13
- package/templates/bcl-card/card.html.twig +35 -22
- package/templates/bcl-carousel/carousel.html.twig +26 -5
- package/templates/bcl-content-banner/content-banner.html.twig +30 -42
- package/templates/bcl-date-block/date-block.html.twig +29 -9
- package/templates/bcl-footer/footer.html.twig +3 -1
- package/templates/bcl-gallery/gallery.html.twig +203 -0
- package/templates/bcl-listing/listing.html.twig +1 -1
- package/templates/bcl-pagination/pagination.html.twig +123 -9
- package/templates/bcl-person/person.html.twig +44 -0
- package/templates/bcl-select/select.html.twig +10 -3
package/css/oe-bcl-ucpkn.css
CHANGED
|
@@ -7705,6 +7705,10 @@ svg {
|
|
|
7705
7705
|
max-width: 7.5rem !important;
|
|
7706
7706
|
}
|
|
7707
7707
|
|
|
7708
|
+
.mw-col-date {
|
|
7709
|
+
max-width: calc(7.5rem + var(--bs-gutter-x)) !important;
|
|
7710
|
+
}
|
|
7711
|
+
|
|
7708
7712
|
.mw-listing-img {
|
|
7709
7713
|
max-width: 10rem !important;
|
|
7710
7714
|
}
|
|
@@ -16934,10 +16938,18 @@ select.multi-select {
|
|
|
16934
16938
|
border: none;
|
|
16935
16939
|
-webkit-transform: none;
|
|
16936
16940
|
transform: none;
|
|
16941
|
+
box-shadow: none;
|
|
16937
16942
|
}
|
|
16938
16943
|
.bcl-offcanvas .offcanvas-body {
|
|
16939
16944
|
overflow: visible;
|
|
16940
16945
|
}
|
|
16946
|
+
.bcl-offcanvas .offcanvas-title {
|
|
16947
|
+
height: 38px;
|
|
16948
|
+
display: -ms-flexbox;
|
|
16949
|
+
display: flex;
|
|
16950
|
+
-ms-flex-align: center;
|
|
16951
|
+
align-items: center;
|
|
16952
|
+
}
|
|
16941
16953
|
|
|
16942
16954
|
.bcl-offcanvas + .offcanvas-backdrop {
|
|
16943
16955
|
display: none;
|
|
@@ -17662,4 +17674,335 @@ Due to the split circle of progress-left and progress right, we must use the ani
|
|
|
17662
17674
|
transform: rotate(180deg);
|
|
17663
17675
|
}
|
|
17664
17676
|
}
|
|
17677
|
+
.carousel-indicators {
|
|
17678
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17679
|
+
margin: 0;
|
|
17680
|
+
}
|
|
17681
|
+
.carousel-indicators [data-bs-target] {
|
|
17682
|
+
width: 8px;
|
|
17683
|
+
height: 8px;
|
|
17684
|
+
margin: 0.375rem 0.5rem 1rem;
|
|
17685
|
+
border-radius: 50%;
|
|
17686
|
+
}
|
|
17687
|
+
|
|
17688
|
+
.carousel-caption {
|
|
17689
|
+
width: 100%;
|
|
17690
|
+
left: 0;
|
|
17691
|
+
right: 0;
|
|
17692
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17693
|
+
bottom: 0;
|
|
17694
|
+
padding: 1rem 0 1.5rem;
|
|
17695
|
+
}
|
|
17696
|
+
.carousel-caption p {
|
|
17697
|
+
margin-bottom: 0;
|
|
17698
|
+
}
|
|
17699
|
+
.carousel-caption a {
|
|
17700
|
+
color: #fff;
|
|
17701
|
+
-webkit-text-decoration-color: #fff;
|
|
17702
|
+
text-decoration-color: #fff;
|
|
17703
|
+
}
|
|
17704
|
+
|
|
17705
|
+
.carousel-dark .carousel-caption {
|
|
17706
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
17707
|
+
}
|
|
17708
|
+
.carousel-dark .carousel-caption a {
|
|
17709
|
+
color: #000;
|
|
17710
|
+
-webkit-text-decoration-color: #000;
|
|
17711
|
+
text-decoration-color: #000;
|
|
17712
|
+
}
|
|
17713
|
+
.carousel-dark .carousel-indicators {
|
|
17714
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
17715
|
+
}
|
|
17716
|
+
|
|
17717
|
+
.carousel-control-next,
|
|
17718
|
+
.carousel-control-prev {
|
|
17719
|
+
opacity: 1;
|
|
17720
|
+
}
|
|
17721
|
+
.carousel-control-next:hover,
|
|
17722
|
+
.carousel-control-prev:hover {
|
|
17723
|
+
opacity: 1;
|
|
17724
|
+
}
|
|
17725
|
+
|
|
17726
|
+
.carousel-control-prev-icon,
|
|
17727
|
+
.carousel-control-next-icon {
|
|
17728
|
+
width: 40px;
|
|
17729
|
+
height: 40px;
|
|
17730
|
+
background-size: 60% 60%;
|
|
17731
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17732
|
+
border-radius: 4px;
|
|
17733
|
+
}
|
|
17734
|
+
|
|
17735
|
+
.carousel-control-next-icon {
|
|
17736
|
+
background-position: 9px center;
|
|
17737
|
+
}
|
|
17738
|
+
|
|
17739
|
+
.carousel-control-prev-icon {
|
|
17740
|
+
background-position: 7px center;
|
|
17741
|
+
}
|
|
17742
|
+
|
|
17743
|
+
.carousel.rounded-indicators .carousel-control-prev-icon,
|
|
17744
|
+
.carousel.rounded-indicators .carousel-control-next-icon {
|
|
17745
|
+
border-radius: 50%;
|
|
17746
|
+
}
|
|
17747
|
+
|
|
17748
|
+
@media (min-width: 768px) {
|
|
17749
|
+
.carousel-indicators + .carousel-inner .carousel-caption {
|
|
17750
|
+
bottom: 50px;
|
|
17751
|
+
padding-bottom: 0;
|
|
17752
|
+
}
|
|
17753
|
+
}
|
|
17754
|
+
.bcl-gallery {
|
|
17755
|
+
/* lazyload */
|
|
17756
|
+
}
|
|
17757
|
+
.bcl-gallery .bcl-gallery__thumbnails {
|
|
17758
|
+
border-radius: 0.25rem;
|
|
17759
|
+
overflow: hidden;
|
|
17760
|
+
}
|
|
17761
|
+
.bcl-gallery ul.bcl-gallery__grid {
|
|
17762
|
+
list-style: none;
|
|
17763
|
+
padding: 0;
|
|
17764
|
+
margin-bottom: 0;
|
|
17765
|
+
}
|
|
17766
|
+
.bcl-gallery .bcl-gallery__item {
|
|
17767
|
+
position: relative;
|
|
17768
|
+
}
|
|
17769
|
+
.bcl-gallery .bcl-gallery__item-overlay {
|
|
17770
|
+
display: -ms-flexbox;
|
|
17771
|
+
display: flex;
|
|
17772
|
+
-ms-flex-direction: column;
|
|
17773
|
+
flex-direction: column;
|
|
17774
|
+
-ms-flex-pack: center;
|
|
17775
|
+
justify-content: center;
|
|
17776
|
+
-ms-flex-align: center;
|
|
17777
|
+
align-items: center;
|
|
17778
|
+
position: absolute;
|
|
17779
|
+
top: 0;
|
|
17780
|
+
left: 0;
|
|
17781
|
+
width: 100%;
|
|
17782
|
+
height: 100%;
|
|
17783
|
+
padding: 0 1rem;
|
|
17784
|
+
transition: background-color 0.2s ease;
|
|
17785
|
+
}
|
|
17786
|
+
.bcl-gallery .bcl-gallery__item-play-icon {
|
|
17787
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17788
|
+
display: -ms-flexbox;
|
|
17789
|
+
display: flex;
|
|
17790
|
+
-ms-flex-pack: center;
|
|
17791
|
+
justify-content: center;
|
|
17792
|
+
-ms-flex-align: center;
|
|
17793
|
+
align-items: center;
|
|
17794
|
+
width: 32px;
|
|
17795
|
+
height: 32px;
|
|
17796
|
+
border-radius: 0.25rem;
|
|
17797
|
+
pointer-events: none;
|
|
17798
|
+
}
|
|
17799
|
+
.bcl-gallery .bcl-gallery__item-play-icon .bi {
|
|
17800
|
+
fill: #fff;
|
|
17801
|
+
}
|
|
17802
|
+
.bcl-gallery .bcl-gallery__item-caption {
|
|
17803
|
+
display: none;
|
|
17804
|
+
color: #fff;
|
|
17805
|
+
text-align: center;
|
|
17806
|
+
pointer-events: none;
|
|
17807
|
+
}
|
|
17808
|
+
.bcl-gallery .bcl-gallery__item-caption h5, .bcl-gallery .bcl-gallery__item-caption .h5 {
|
|
17809
|
+
margin-bottom: 0;
|
|
17810
|
+
}
|
|
17811
|
+
.bcl-gallery .bcl-gallery__item-description {
|
|
17812
|
+
display: none;
|
|
17813
|
+
margin-top: 0.25rem;
|
|
17814
|
+
}
|
|
17815
|
+
.bcl-gallery ul.bcl-gallery__grid li:not(:last-child) {
|
|
17816
|
+
margin-bottom: 0.5rem;
|
|
17817
|
+
}
|
|
17818
|
+
.bcl-gallery .bcl-gallery__thumbnails-collaspe ul.bcl-gallery__grid {
|
|
17819
|
+
margin-top: 0.5rem;
|
|
17820
|
+
}
|
|
17821
|
+
.bcl-gallery .bcl-gallery__collapse[aria-expanded=false] .label-expanded {
|
|
17822
|
+
display: none;
|
|
17823
|
+
}
|
|
17824
|
+
.bcl-gallery .bcl-gallery__collapse[aria-expanded=true] .label-collapsed {
|
|
17825
|
+
display: none;
|
|
17826
|
+
}
|
|
17827
|
+
.bcl-gallery .bcl-gallery__collapse[aria-expanded=true] svg {
|
|
17828
|
+
-webkit-transform: rotate(180deg);
|
|
17829
|
+
transform: rotate(180deg);
|
|
17830
|
+
}
|
|
17831
|
+
.bcl-gallery .carousel {
|
|
17832
|
+
height: 100%;
|
|
17833
|
+
width: 100%;
|
|
17834
|
+
max-height: 500px;
|
|
17835
|
+
}
|
|
17836
|
+
.bcl-gallery .carousel-inner {
|
|
17837
|
+
height: 100%;
|
|
17838
|
+
}
|
|
17839
|
+
.bcl-gallery .carousel-item {
|
|
17840
|
+
position: relative;
|
|
17841
|
+
height: 100%;
|
|
17842
|
+
text-align: center;
|
|
17843
|
+
z-index: 1;
|
|
17844
|
+
}
|
|
17845
|
+
.bcl-gallery .modal-content {
|
|
17846
|
+
background: black;
|
|
17847
|
+
-ms-flex-pack: center;
|
|
17848
|
+
justify-content: center;
|
|
17849
|
+
}
|
|
17850
|
+
.bcl-gallery .modal-title {
|
|
17851
|
+
width: 35%;
|
|
17852
|
+
color: white;
|
|
17853
|
+
}
|
|
17854
|
+
.bcl-gallery .carousel-pager {
|
|
17855
|
+
display: -ms-flexbox;
|
|
17856
|
+
display: flex;
|
|
17857
|
+
-ms-flex-pack: center;
|
|
17858
|
+
justify-content: center;
|
|
17859
|
+
color: white;
|
|
17860
|
+
width: 30%;
|
|
17861
|
+
}
|
|
17862
|
+
.bcl-gallery .carousel-pager span {
|
|
17863
|
+
display: inline-block;
|
|
17864
|
+
margin-right: 5px;
|
|
17865
|
+
}
|
|
17866
|
+
.bcl-gallery .modal-close {
|
|
17867
|
+
display: -ms-flexbox;
|
|
17868
|
+
display: flex;
|
|
17869
|
+
-ms-flex-pack: end;
|
|
17870
|
+
justify-content: end;
|
|
17871
|
+
width: 35%;
|
|
17872
|
+
}
|
|
17873
|
+
.bcl-gallery .modal-close .btn-close {
|
|
17874
|
+
-webkit-filter: invert(100%);
|
|
17875
|
+
filter: invert(100%);
|
|
17876
|
+
opacity: 1;
|
|
17877
|
+
}
|
|
17878
|
+
.bcl-gallery .carousel-control-next,
|
|
17879
|
+
.bcl-gallery .carousel-control-prev {
|
|
17880
|
+
top: 50%;
|
|
17881
|
+
height: 20%;
|
|
17882
|
+
-webkit-transform: translateY(-50%);
|
|
17883
|
+
transform: translateY(-50%);
|
|
17884
|
+
}
|
|
17885
|
+
.bcl-gallery iframe,
|
|
17886
|
+
.bcl-gallery video {
|
|
17887
|
+
width: 100%;
|
|
17888
|
+
height: 100%;
|
|
17889
|
+
aspect-ratio: 16/9;
|
|
17890
|
+
max-width: 900px;
|
|
17891
|
+
-o-object-fit: contain;
|
|
17892
|
+
object-fit: contain;
|
|
17893
|
+
}
|
|
17894
|
+
.bcl-gallery img {
|
|
17895
|
+
display: inline-block;
|
|
17896
|
+
height: 100%;
|
|
17897
|
+
width: 100%;
|
|
17898
|
+
-o-object-fit: contain;
|
|
17899
|
+
object-fit: contain;
|
|
17900
|
+
}
|
|
17901
|
+
.bcl-gallery img:not([src]):not([srcset]) {
|
|
17902
|
+
visibility: hidden;
|
|
17903
|
+
}
|
|
17904
|
+
@-webkit-keyframes lazy_spinner {
|
|
17905
|
+
to {
|
|
17906
|
+
-webkit-transform: rotate(360deg);
|
|
17907
|
+
transform: rotate(360deg);
|
|
17908
|
+
}
|
|
17909
|
+
}
|
|
17910
|
+
@keyframes lazy_spinner {
|
|
17911
|
+
to {
|
|
17912
|
+
-webkit-transform: rotate(360deg);
|
|
17913
|
+
transform: rotate(360deg);
|
|
17914
|
+
}
|
|
17915
|
+
}
|
|
17916
|
+
.bcl-gallery .carousel-item:after {
|
|
17917
|
+
content: "";
|
|
17918
|
+
box-sizing: border-box;
|
|
17919
|
+
position: absolute;
|
|
17920
|
+
top: 50%;
|
|
17921
|
+
left: 50%;
|
|
17922
|
+
width: 20px;
|
|
17923
|
+
height: 20px;
|
|
17924
|
+
margin-top: -10px;
|
|
17925
|
+
margin-left: -10px;
|
|
17926
|
+
border-radius: 50%;
|
|
17927
|
+
border: 2px solid #ccc;
|
|
17928
|
+
border-top-color: #000;
|
|
17929
|
+
-webkit-animation: lazy_spinner 0.6s linear infinite;
|
|
17930
|
+
animation: lazy_spinner 0.6s linear infinite;
|
|
17931
|
+
z-index: -1;
|
|
17932
|
+
}
|
|
17933
|
+
@media (min-width: 576px) {
|
|
17934
|
+
.bcl-gallery ul.bcl-gallery__grid {
|
|
17935
|
+
display: -ms-grid;
|
|
17936
|
+
display: grid;
|
|
17937
|
+
-ms-grid-rows: 1fr 1fr 0;
|
|
17938
|
+
grid-template-rows: 1fr 1fr 0;
|
|
17939
|
+
grid-gap: 0.5rem;
|
|
17940
|
+
-ms-grid-columns: (1fr)[4];
|
|
17941
|
+
grid-template-columns: repeat(4, 1fr);
|
|
17942
|
+
margin-bottom: -0.5rem;
|
|
17943
|
+
}
|
|
17944
|
+
.bcl-gallery ul.bcl-gallery__grid li:not(:last-child) {
|
|
17945
|
+
margin-bottom: 0;
|
|
17946
|
+
}
|
|
17947
|
+
.bcl-gallery ul.bcl-gallery__grid li:first-child {
|
|
17948
|
+
-ms-grid-column: 1;
|
|
17949
|
+
-ms-grid-column-span: 2;
|
|
17950
|
+
grid-column: 1/3;
|
|
17951
|
+
-ms-grid-row: 1;
|
|
17952
|
+
-ms-grid-row-span: 2;
|
|
17953
|
+
grid-row: 1/3;
|
|
17954
|
+
}
|
|
17955
|
+
.bcl-gallery .bcl-gallery__thumbnails-collaspe ul.bcl-gallery__grid {
|
|
17956
|
+
margin-top: 0.5rem;
|
|
17957
|
+
}
|
|
17958
|
+
.bcl-gallery .bcl-gallery__thumbnails-collaspe ul.bcl-gallery__grid:nth-child(odd) li:first-child {
|
|
17959
|
+
grid-column: auto;
|
|
17960
|
+
grid-row: auto;
|
|
17961
|
+
}
|
|
17962
|
+
.bcl-gallery .bcl-gallery__thumbnails-collaspe ul.bcl-gallery__grid:nth-child(odd) li:last-child {
|
|
17963
|
+
-ms-grid-column: 3;
|
|
17964
|
+
-ms-grid-column-span: 2;
|
|
17965
|
+
grid-column: 3/5;
|
|
17966
|
+
-ms-grid-row: 1;
|
|
17967
|
+
-ms-grid-row-span: 2;
|
|
17968
|
+
grid-row: 1/3;
|
|
17969
|
+
}
|
|
17970
|
+
.bcl-gallery .bcl-gallery__item:hover .bcl-gallery__item-overlay {
|
|
17971
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
17972
|
+
}
|
|
17973
|
+
.bcl-gallery .bcl-gallery__item:hover .bcl-gallery__item-play-icon {
|
|
17974
|
+
background-color: #fff;
|
|
17975
|
+
}
|
|
17976
|
+
.bcl-gallery .bcl-gallery__item:hover .bcl-gallery__item-play-icon .bi {
|
|
17977
|
+
fill: #000;
|
|
17978
|
+
}
|
|
17979
|
+
.bcl-gallery .modal-title,
|
|
17980
|
+
.bcl-gallery .modal-close {
|
|
17981
|
+
width: 45%;
|
|
17982
|
+
}
|
|
17983
|
+
.bcl-gallery .carousel-pager {
|
|
17984
|
+
width: 10%;
|
|
17985
|
+
}
|
|
17986
|
+
}
|
|
17987
|
+
@media (min-width: 768px) {
|
|
17988
|
+
.bcl-gallery .bcl-gallery__item:hover .bcl-gallery__item-caption {
|
|
17989
|
+
display: block;
|
|
17990
|
+
}
|
|
17991
|
+
.bcl-gallery .bcl-gallery__item:hover .bcl-gallery__item-play-icon + .bcl-gallery__item-caption {
|
|
17992
|
+
margin-top: 0.5rem;
|
|
17993
|
+
}
|
|
17994
|
+
}
|
|
17995
|
+
@media (min-width: 992px) {
|
|
17996
|
+
.bcl-gallery .bcl-gallery__item-description {
|
|
17997
|
+
display: block;
|
|
17998
|
+
}
|
|
17999
|
+
}
|
|
18000
|
+
|
|
18001
|
+
.pagination .page-link {
|
|
18002
|
+
display: -ms-flexbox;
|
|
18003
|
+
display: flex;
|
|
18004
|
+
height: 100%;
|
|
18005
|
+
-ms-flex-align: center;
|
|
18006
|
+
align-items: center;
|
|
18007
|
+
}
|
|
17665
18008
|
/*# sourceMappingURL=oe-bcl-ucpkn.css.map */
|