@openeuropa/bcl-theme-ucpkn 0.15.0 → 0.16.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/bcl-builder.config.js +4 -0
- package/css/oe-bcl-ucpkn.css +152 -29
- 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/icons-flag.svg +1 -0
- package/package.json +7 -6
- package/templates/bcl-badge/badge.html.twig +9 -1
- package/templates/bcl-base-templates/content-type.html.twig +35 -10
- package/templates/bcl-base-templates/listing-page.html.twig +24 -21
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +2 -2
- package/templates/bcl-card/card.html.twig +18 -18
- package/templates/bcl-footer/footer.html.twig +3 -1
- package/templates/bcl-group/group.html.twig +6 -4
- package/templates/bcl-header/header.html.twig +13 -4
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +1 -1
- package/templates/bcl-links-block/links-block.html.twig +2 -2
- package/templates/bcl-listing/listing.html.twig +21 -13
- package/templates/bcl-navbar/navbar.html.twig +22 -20
- package/templates/bcl-navigation/navigation.html.twig +135 -110
package/bcl-builder.config.js
CHANGED
|
@@ -112,6 +112,10 @@ module.exports = {
|
|
|
112
112
|
nodeModules,
|
|
113
113
|
"@openeuropa/bcl-bootstrap/bootstrap-icons.svg"
|
|
114
114
|
),
|
|
115
|
+
path.resolve(
|
|
116
|
+
nodeModules,
|
|
117
|
+
"@ecl/resources-flag-icons/dist/sprites/icons-flag.svg"
|
|
118
|
+
),
|
|
115
119
|
],
|
|
116
120
|
to: path.resolve(outputFolder, "icons"),
|
|
117
121
|
options: { up: true },
|
package/css/oe-bcl-ucpkn.css
CHANGED
|
@@ -5282,9 +5282,9 @@ textarea.form-control-lg {
|
|
|
5282
5282
|
}
|
|
5283
5283
|
}
|
|
5284
5284
|
.accordion-button:not(.collapsed) {
|
|
5285
|
-
color: #
|
|
5286
|
-
background-color: #
|
|
5287
|
-
box-shadow: inset 0 -1px 0
|
|
5285
|
+
color: #212529;
|
|
5286
|
+
background-color: #f8f9fa;
|
|
5287
|
+
box-shadow: inset 0 -1px 0 #dee2e6;
|
|
5288
5288
|
}
|
|
5289
5289
|
.accordion-button:not(.collapsed)::after {
|
|
5290
5290
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
|
@@ -5326,7 +5326,7 @@ textarea.form-control-lg {
|
|
|
5326
5326
|
|
|
5327
5327
|
.accordion-item {
|
|
5328
5328
|
background-color: #fff;
|
|
5329
|
-
border: 1px solid
|
|
5329
|
+
border: 1px solid #dee2e6;
|
|
5330
5330
|
}
|
|
5331
5331
|
.accordion-item:first-of-type {
|
|
5332
5332
|
border-top-left-radius: 0.25rem;
|
|
@@ -15509,14 +15509,9 @@ body {
|
|
|
15509
15509
|
padding-bottom: 1rem;
|
|
15510
15510
|
}
|
|
15511
15511
|
|
|
15512
|
-
.bcl-header__project
|
|
15513
|
-
|
|
15514
|
-
|
|
15515
|
-
}
|
|
15516
|
-
|
|
15517
|
-
.ec__header .bcl-header__project,
|
|
15518
|
-
.ec__header .bcl-header__navbar {
|
|
15519
|
-
background: #004494;
|
|
15512
|
+
.bcl-header--neutral .bcl-header__project,
|
|
15513
|
+
.bcl-header--neutral .bcl-header__navbar {
|
|
15514
|
+
background: #6c757d;
|
|
15520
15515
|
}
|
|
15521
15516
|
|
|
15522
15517
|
.bcl-navbar-header {
|
|
@@ -15528,10 +15523,21 @@ body {
|
|
|
15528
15523
|
color: #1b4ac3;
|
|
15529
15524
|
}
|
|
15530
15525
|
|
|
15531
|
-
.bcl-header
|
|
15526
|
+
.bcl-header--ec .bcl-header__project,
|
|
15527
|
+
.bcl-header--ec .bcl-header__navbar,
|
|
15528
|
+
.ec__header .bcl-header__project,
|
|
15529
|
+
.ec__header .bcl-header__navbar {
|
|
15530
|
+
background: #004494;
|
|
15531
|
+
}
|
|
15532
|
+
.bcl-header--ec .nav-link,
|
|
15533
|
+
.ec__header .nav-link {
|
|
15532
15534
|
color: #17458f;
|
|
15533
15535
|
}
|
|
15534
15536
|
|
|
15537
|
+
.bcl-header:not(.bcl-header--neutral) .bcl-header__project {
|
|
15538
|
+
padding-top: 1rem;
|
|
15539
|
+
}
|
|
15540
|
+
|
|
15535
15541
|
.bcl-header__navbar .navbar-nav .nav-link {
|
|
15536
15542
|
color: #ced4da;
|
|
15537
15543
|
}
|
|
@@ -15567,7 +15573,7 @@ body {
|
|
|
15567
15573
|
transform: translate(-11px, 5px);
|
|
15568
15574
|
}
|
|
15569
15575
|
|
|
15570
|
-
.bcl-header__project
|
|
15576
|
+
.bcl-header__project .bcl-header__site-name {
|
|
15571
15577
|
display: inline-block;
|
|
15572
15578
|
margin-bottom: 0;
|
|
15573
15579
|
font-size: 1.3rem;
|
|
@@ -15587,28 +15593,52 @@ body {
|
|
|
15587
15593
|
background: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
|
|
15588
15594
|
}
|
|
15589
15595
|
|
|
15596
|
+
@media only screen and (max-width: 400px) {
|
|
15597
|
+
.bcl-header--neutral .bcl-header__project-logo {
|
|
15598
|
+
display: none;
|
|
15599
|
+
}
|
|
15600
|
+
}
|
|
15590
15601
|
@media (max-width: 575.98px) {
|
|
15591
15602
|
.bcl-header .navbar:first-child .nav-link {
|
|
15592
15603
|
padding: 0.5rem 0.4rem;
|
|
15593
15604
|
}
|
|
15594
15605
|
}
|
|
15595
15606
|
@media (min-width: 768px) {
|
|
15596
|
-
.
|
|
15607
|
+
.bcl-header--ec .navbar-brand img,
|
|
15608
|
+
.ec__header .navbar-brand img {
|
|
15597
15609
|
width: 180px;
|
|
15598
15610
|
}
|
|
15599
15611
|
}
|
|
15612
|
+
@media (max-width: 991.98px) {
|
|
15613
|
+
.bcl-header__project {
|
|
15614
|
+
min-height: 3rem;
|
|
15615
|
+
padding-top: 1rem;
|
|
15616
|
+
}
|
|
15617
|
+
|
|
15618
|
+
.bcl-header nav + nav {
|
|
15619
|
+
min-height: 3rem;
|
|
15620
|
+
}
|
|
15621
|
+
.bcl-header nav + nav .navbar-toggler {
|
|
15622
|
+
position: static;
|
|
15623
|
+
}
|
|
15624
|
+
.bcl-header nav + nav .container {
|
|
15625
|
+
-ms-flex-pack: right;
|
|
15626
|
+
justify-content: right;
|
|
15627
|
+
}
|
|
15628
|
+
}
|
|
15600
15629
|
@media (min-width: 992px) {
|
|
15601
15630
|
.bcl-header__project.light,
|
|
15631
|
+
.bcl-header--ec .bcl-header__project.light,
|
|
15602
15632
|
.ec__header .bcl-header__project.light {
|
|
15603
15633
|
background: #fff;
|
|
15604
15634
|
}
|
|
15605
15635
|
|
|
15606
|
-
.bcl-
|
|
15636
|
+
.bcl-header__site-name {
|
|
15607
15637
|
padding-left: 1.5rem;
|
|
15608
15638
|
font-weight: 500;
|
|
15609
15639
|
}
|
|
15610
15640
|
|
|
15611
|
-
.bcl-header__project.light
|
|
15641
|
+
.bcl-header__project.light .bcl-header__site-name {
|
|
15612
15642
|
color: #000;
|
|
15613
15643
|
}
|
|
15614
15644
|
|
|
@@ -15637,11 +15667,12 @@ body {
|
|
|
15637
15667
|
z-index: 1050;
|
|
15638
15668
|
}
|
|
15639
15669
|
|
|
15640
|
-
.bcl-header__project {
|
|
15670
|
+
.bcl-header:not(.bcl-header--neutral) .bcl-header__project {
|
|
15641
15671
|
padding-bottom: 1rem;
|
|
15642
15672
|
}
|
|
15643
15673
|
|
|
15644
|
-
.
|
|
15674
|
+
.bcl-header--ec .navbar-brand img,
|
|
15675
|
+
.ec__header .navbar-brand img {
|
|
15645
15676
|
width: 285px;
|
|
15646
15677
|
}
|
|
15647
15678
|
}
|
|
@@ -15684,16 +15715,27 @@ body {
|
|
|
15684
15715
|
filter: invert(1) grayscale(100%) brightness(200%);
|
|
15685
15716
|
}
|
|
15686
15717
|
|
|
15687
|
-
.bcl-footer {
|
|
15718
|
+
.bcl-footer--neutral {
|
|
15719
|
+
background: #6c757d;
|
|
15720
|
+
}
|
|
15721
|
+
.bcl-footer--neutral a,
|
|
15722
|
+
.bcl-footer--neutral p {
|
|
15723
|
+
color: #fff;
|
|
15724
|
+
}
|
|
15725
|
+
|
|
15726
|
+
.bcl-footer--eu,
|
|
15727
|
+
.eu__footer {
|
|
15688
15728
|
background: #f4f6fb;
|
|
15689
15729
|
}
|
|
15690
15730
|
|
|
15691
|
-
.bcl-footer
|
|
15731
|
+
.bcl-footer--ec,
|
|
15732
|
+
.ec__footer {
|
|
15692
15733
|
background: #17458f;
|
|
15693
15734
|
}
|
|
15694
|
-
|
|
15695
|
-
.bcl-footer
|
|
15696
|
-
.
|
|
15735
|
+
.bcl-footer--ec a,
|
|
15736
|
+
.bcl-footer--ec p,
|
|
15737
|
+
.ec__footer a,
|
|
15738
|
+
.ec__footer p {
|
|
15697
15739
|
color: #fff;
|
|
15698
15740
|
}
|
|
15699
15741
|
|
|
@@ -16005,6 +16047,87 @@ a .badge {
|
|
|
16005
16047
|
font-size: 0.75em;
|
|
16006
16048
|
}
|
|
16007
16049
|
|
|
16050
|
+
.badge-outline-primary {
|
|
16051
|
+
border: 1px solid #221684;
|
|
16052
|
+
color: #221684 !important;
|
|
16053
|
+
background: transparent !important;
|
|
16054
|
+
}
|
|
16055
|
+
.badge-outline-primary .icon--close {
|
|
16056
|
+
background: #221684;
|
|
16057
|
+
color: #fff;
|
|
16058
|
+
}
|
|
16059
|
+
|
|
16060
|
+
.badge-outline-secondary {
|
|
16061
|
+
border: 1px solid #f25924;
|
|
16062
|
+
color: #f25924 !important;
|
|
16063
|
+
background: transparent !important;
|
|
16064
|
+
}
|
|
16065
|
+
.badge-outline-secondary .icon--close {
|
|
16066
|
+
background: #f25924;
|
|
16067
|
+
color: #fff;
|
|
16068
|
+
}
|
|
16069
|
+
|
|
16070
|
+
.badge-outline-success {
|
|
16071
|
+
border: 1px solid #3c8f38;
|
|
16072
|
+
color: #3c8f38 !important;
|
|
16073
|
+
background: transparent !important;
|
|
16074
|
+
}
|
|
16075
|
+
.badge-outline-success .icon--close {
|
|
16076
|
+
background: #3c8f38;
|
|
16077
|
+
color: #fff;
|
|
16078
|
+
}
|
|
16079
|
+
|
|
16080
|
+
.badge-outline-info {
|
|
16081
|
+
border: 1px solid #2b768a;
|
|
16082
|
+
color: #2b768a !important;
|
|
16083
|
+
background: transparent !important;
|
|
16084
|
+
}
|
|
16085
|
+
.badge-outline-info .icon--close {
|
|
16086
|
+
background: #2b768a;
|
|
16087
|
+
color: #fff;
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
.badge-outline-warning {
|
|
16091
|
+
border: 1px solid #e1ab00;
|
|
16092
|
+
color: #e1ab00 !important;
|
|
16093
|
+
background: transparent !important;
|
|
16094
|
+
}
|
|
16095
|
+
.badge-outline-warning .icon--close {
|
|
16096
|
+
background: #e1ab00;
|
|
16097
|
+
color: #fff;
|
|
16098
|
+
}
|
|
16099
|
+
|
|
16100
|
+
.badge-outline-danger {
|
|
16101
|
+
border: 1px solid #b8282a;
|
|
16102
|
+
color: #b8282a !important;
|
|
16103
|
+
background: transparent !important;
|
|
16104
|
+
}
|
|
16105
|
+
.badge-outline-danger .icon--close {
|
|
16106
|
+
background: #b8282a;
|
|
16107
|
+
color: #fff;
|
|
16108
|
+
}
|
|
16109
|
+
|
|
16110
|
+
.badge-outline-light {
|
|
16111
|
+
border: 1px solid #f0f0f0;
|
|
16112
|
+
color: #f0f0f0 !important;
|
|
16113
|
+
background: transparent !important;
|
|
16114
|
+
}
|
|
16115
|
+
.badge-outline-light .icon--close {
|
|
16116
|
+
background: #f0f0f0;
|
|
16117
|
+
color: #fff;
|
|
16118
|
+
color: #000;
|
|
16119
|
+
}
|
|
16120
|
+
|
|
16121
|
+
.badge-outline-dark {
|
|
16122
|
+
border: 1px solid #2e3338;
|
|
16123
|
+
color: #2e3338 !important;
|
|
16124
|
+
background: transparent !important;
|
|
16125
|
+
}
|
|
16126
|
+
.badge-outline-dark .icon--close {
|
|
16127
|
+
background: #2e3338;
|
|
16128
|
+
color: #fff;
|
|
16129
|
+
}
|
|
16130
|
+
|
|
16008
16131
|
.ss-main {
|
|
16009
16132
|
position: relative;
|
|
16010
16133
|
display: inline-block;
|
|
@@ -16614,7 +16737,7 @@ select.multi-select {
|
|
|
16614
16737
|
background-position: right 1.6rem center;
|
|
16615
16738
|
}
|
|
16616
16739
|
}
|
|
16617
|
-
@media
|
|
16740
|
+
@media (min-width: 992px) {
|
|
16618
16741
|
.bcl-offcanvas {
|
|
16619
16742
|
position: relative;
|
|
16620
16743
|
width: auto;
|
|
@@ -16831,20 +16954,20 @@ select.multi-select {
|
|
|
16831
16954
|
transform: rotate(180deg);
|
|
16832
16955
|
}
|
|
16833
16956
|
|
|
16834
|
-
|
|
16957
|
+
.bcl-inpage-navigation {
|
|
16835
16958
|
top: 1rem;
|
|
16836
16959
|
background-color: #f8f9fa;
|
|
16837
16960
|
}
|
|
16838
|
-
|
|
16961
|
+
.bcl-inpage-navigation h5, .bcl-inpage-navigation .h5 {
|
|
16839
16962
|
font-weight: bold;
|
|
16840
16963
|
margin-bottom: 0;
|
|
16841
16964
|
padding: 1.25rem;
|
|
16842
16965
|
border-bottom: 1px solid #dee2e6;
|
|
16843
16966
|
}
|
|
16844
|
-
|
|
16967
|
+
.bcl-inpage-navigation ul {
|
|
16845
16968
|
padding: 0.75rem;
|
|
16846
16969
|
}
|
|
16847
|
-
|
|
16970
|
+
.bcl-inpage-navigation ul .nav-link {
|
|
16848
16971
|
padding: 0.5rem;
|
|
16849
16972
|
margin-bottom: 0.5rem;
|
|
16850
16973
|
}
|