@openeuropa/bcl-theme-default 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-default.css +152 -29
- package/css/oe-bcl-default.css.map +1 -1
- package/css/oe-bcl-default.min.css +1 -1
- package/css/oe-bcl-default.min.css.map +1 -1
- package/icons/icons-flag.svg +1 -0
- package/package.json +6 -5
- package/src/scss/_badge.scss +15 -0
- package/src/scss/_bcl-offcanvas.scss +4 -4
- package/src/scss/_footer.scss +16 -7
- package/src/scss/_header.scss +68 -18
- package/src/scss/_inpage-navigation.scss +1 -1
- package/src/scss/_multiselect.scss +3 -2
- package/src/scss/_variables.scss +11 -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
|
@@ -103,6 +103,10 @@ module.exports = {
|
|
|
103
103
|
nodeModules,
|
|
104
104
|
"@openeuropa/bcl-bootstrap/bootstrap-icons.svg"
|
|
105
105
|
),
|
|
106
|
+
path.resolve(
|
|
107
|
+
nodeModules,
|
|
108
|
+
"@ecl/resources-flag-icons/dist/sprites/icons-flag.svg"
|
|
109
|
+
),
|
|
106
110
|
],
|
|
107
111
|
to: path.resolve(outputFolder, "icons"),
|
|
108
112
|
options: { up: true },
|
package/css/oe-bcl-default.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;
|
|
@@ -15516,14 +15516,9 @@ body {
|
|
|
15516
15516
|
padding-bottom: 1rem;
|
|
15517
15517
|
}
|
|
15518
15518
|
|
|
15519
|
-
.bcl-header__project
|
|
15520
|
-
|
|
15521
|
-
|
|
15522
|
-
}
|
|
15523
|
-
|
|
15524
|
-
.ec__header .bcl-header__project,
|
|
15525
|
-
.ec__header .bcl-header__navbar {
|
|
15526
|
-
background: #004494;
|
|
15519
|
+
.bcl-header--neutral .bcl-header__project,
|
|
15520
|
+
.bcl-header--neutral .bcl-header__navbar {
|
|
15521
|
+
background: #6c757d;
|
|
15527
15522
|
}
|
|
15528
15523
|
|
|
15529
15524
|
.bcl-navbar-header {
|
|
@@ -15535,10 +15530,21 @@ body {
|
|
|
15535
15530
|
color: #1b4ac3;
|
|
15536
15531
|
}
|
|
15537
15532
|
|
|
15538
|
-
.bcl-header
|
|
15533
|
+
.bcl-header--ec .bcl-header__project,
|
|
15534
|
+
.bcl-header--ec .bcl-header__navbar,
|
|
15535
|
+
.ec__header .bcl-header__project,
|
|
15536
|
+
.ec__header .bcl-header__navbar {
|
|
15537
|
+
background: #004494;
|
|
15538
|
+
}
|
|
15539
|
+
.bcl-header--ec .nav-link,
|
|
15540
|
+
.ec__header .nav-link {
|
|
15539
15541
|
color: #17458f;
|
|
15540
15542
|
}
|
|
15541
15543
|
|
|
15544
|
+
.bcl-header:not(.bcl-header--neutral) .bcl-header__project {
|
|
15545
|
+
padding-top: 1rem;
|
|
15546
|
+
}
|
|
15547
|
+
|
|
15542
15548
|
.bcl-header__navbar .navbar-nav .nav-link {
|
|
15543
15549
|
color: #ced4da;
|
|
15544
15550
|
}
|
|
@@ -15574,7 +15580,7 @@ body {
|
|
|
15574
15580
|
transform: translate(-11px, 5px);
|
|
15575
15581
|
}
|
|
15576
15582
|
|
|
15577
|
-
.bcl-header__project
|
|
15583
|
+
.bcl-header__project .bcl-header__site-name {
|
|
15578
15584
|
display: inline-block;
|
|
15579
15585
|
margin-bottom: 0;
|
|
15580
15586
|
font-size: 1.3rem;
|
|
@@ -15594,28 +15600,52 @@ body {
|
|
|
15594
15600
|
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");
|
|
15595
15601
|
}
|
|
15596
15602
|
|
|
15603
|
+
@media only screen and (max-width: 400px) {
|
|
15604
|
+
.bcl-header--neutral .bcl-header__project-logo {
|
|
15605
|
+
display: none;
|
|
15606
|
+
}
|
|
15607
|
+
}
|
|
15597
15608
|
@media (max-width: 575.98px) {
|
|
15598
15609
|
.bcl-header .navbar:first-child .nav-link {
|
|
15599
15610
|
padding: 0.5rem 0.4rem;
|
|
15600
15611
|
}
|
|
15601
15612
|
}
|
|
15602
15613
|
@media (min-width: 768px) {
|
|
15603
|
-
.
|
|
15614
|
+
.bcl-header--ec .navbar-brand img,
|
|
15615
|
+
.ec__header .navbar-brand img {
|
|
15604
15616
|
width: 180px;
|
|
15605
15617
|
}
|
|
15606
15618
|
}
|
|
15619
|
+
@media (max-width: 991.98px) {
|
|
15620
|
+
.bcl-header__project {
|
|
15621
|
+
min-height: 3rem;
|
|
15622
|
+
padding-top: 1rem;
|
|
15623
|
+
}
|
|
15624
|
+
|
|
15625
|
+
.bcl-header nav + nav {
|
|
15626
|
+
min-height: 3rem;
|
|
15627
|
+
}
|
|
15628
|
+
.bcl-header nav + nav .navbar-toggler {
|
|
15629
|
+
position: static;
|
|
15630
|
+
}
|
|
15631
|
+
.bcl-header nav + nav .container {
|
|
15632
|
+
-ms-flex-pack: right;
|
|
15633
|
+
justify-content: right;
|
|
15634
|
+
}
|
|
15635
|
+
}
|
|
15607
15636
|
@media (min-width: 992px) {
|
|
15608
15637
|
.bcl-header__project.light,
|
|
15638
|
+
.bcl-header--ec .bcl-header__project.light,
|
|
15609
15639
|
.ec__header .bcl-header__project.light {
|
|
15610
15640
|
background: #fff;
|
|
15611
15641
|
}
|
|
15612
15642
|
|
|
15613
|
-
.bcl-
|
|
15643
|
+
.bcl-header__site-name {
|
|
15614
15644
|
padding-left: 1.5rem;
|
|
15615
15645
|
font-weight: 500;
|
|
15616
15646
|
}
|
|
15617
15647
|
|
|
15618
|
-
.bcl-header__project.light
|
|
15648
|
+
.bcl-header__project.light .bcl-header__site-name {
|
|
15619
15649
|
color: #000;
|
|
15620
15650
|
}
|
|
15621
15651
|
|
|
@@ -15644,11 +15674,12 @@ body {
|
|
|
15644
15674
|
z-index: 1050;
|
|
15645
15675
|
}
|
|
15646
15676
|
|
|
15647
|
-
.bcl-header__project {
|
|
15677
|
+
.bcl-header:not(.bcl-header--neutral) .bcl-header__project {
|
|
15648
15678
|
padding-bottom: 1rem;
|
|
15649
15679
|
}
|
|
15650
15680
|
|
|
15651
|
-
.
|
|
15681
|
+
.bcl-header--ec .navbar-brand img,
|
|
15682
|
+
.ec__header .navbar-brand img {
|
|
15652
15683
|
width: 285px;
|
|
15653
15684
|
}
|
|
15654
15685
|
}
|
|
@@ -15691,16 +15722,27 @@ body {
|
|
|
15691
15722
|
filter: invert(1) grayscale(100%) brightness(200%);
|
|
15692
15723
|
}
|
|
15693
15724
|
|
|
15694
|
-
.bcl-footer {
|
|
15725
|
+
.bcl-footer--neutral {
|
|
15726
|
+
background: #6c757d;
|
|
15727
|
+
}
|
|
15728
|
+
.bcl-footer--neutral a,
|
|
15729
|
+
.bcl-footer--neutral p {
|
|
15730
|
+
color: #fff;
|
|
15731
|
+
}
|
|
15732
|
+
|
|
15733
|
+
.bcl-footer--eu,
|
|
15734
|
+
.eu__footer {
|
|
15695
15735
|
background: #f4f6fb;
|
|
15696
15736
|
}
|
|
15697
15737
|
|
|
15698
|
-
.bcl-footer
|
|
15738
|
+
.bcl-footer--ec,
|
|
15739
|
+
.ec__footer {
|
|
15699
15740
|
background: #17458f;
|
|
15700
15741
|
}
|
|
15701
|
-
|
|
15702
|
-
.bcl-footer
|
|
15703
|
-
.
|
|
15742
|
+
.bcl-footer--ec a,
|
|
15743
|
+
.bcl-footer--ec p,
|
|
15744
|
+
.ec__footer a,
|
|
15745
|
+
.ec__footer p {
|
|
15704
15746
|
color: #fff;
|
|
15705
15747
|
}
|
|
15706
15748
|
|
|
@@ -16070,6 +16112,87 @@ a .badge {
|
|
|
16070
16112
|
font-size: 0.75em;
|
|
16071
16113
|
}
|
|
16072
16114
|
|
|
16115
|
+
.badge-outline-primary {
|
|
16116
|
+
border: 1px solid #0d6efd;
|
|
16117
|
+
color: #0d6efd !important;
|
|
16118
|
+
background: transparent !important;
|
|
16119
|
+
}
|
|
16120
|
+
.badge-outline-primary .icon--close {
|
|
16121
|
+
background: #0d6efd;
|
|
16122
|
+
color: #fff;
|
|
16123
|
+
}
|
|
16124
|
+
|
|
16125
|
+
.badge-outline-secondary {
|
|
16126
|
+
border: 1px solid #6c757d;
|
|
16127
|
+
color: #6c757d !important;
|
|
16128
|
+
background: transparent !important;
|
|
16129
|
+
}
|
|
16130
|
+
.badge-outline-secondary .icon--close {
|
|
16131
|
+
background: #6c757d;
|
|
16132
|
+
color: #fff;
|
|
16133
|
+
}
|
|
16134
|
+
|
|
16135
|
+
.badge-outline-success {
|
|
16136
|
+
border: 1px solid #198754;
|
|
16137
|
+
color: #198754 !important;
|
|
16138
|
+
background: transparent !important;
|
|
16139
|
+
}
|
|
16140
|
+
.badge-outline-success .icon--close {
|
|
16141
|
+
background: #198754;
|
|
16142
|
+
color: #fff;
|
|
16143
|
+
}
|
|
16144
|
+
|
|
16145
|
+
.badge-outline-info {
|
|
16146
|
+
border: 1px solid #0dcaf0;
|
|
16147
|
+
color: #0dcaf0 !important;
|
|
16148
|
+
background: transparent !important;
|
|
16149
|
+
}
|
|
16150
|
+
.badge-outline-info .icon--close {
|
|
16151
|
+
background: #0dcaf0;
|
|
16152
|
+
color: #fff;
|
|
16153
|
+
}
|
|
16154
|
+
|
|
16155
|
+
.badge-outline-warning {
|
|
16156
|
+
border: 1px solid #ffc107;
|
|
16157
|
+
color: #ffc107 !important;
|
|
16158
|
+
background: transparent !important;
|
|
16159
|
+
}
|
|
16160
|
+
.badge-outline-warning .icon--close {
|
|
16161
|
+
background: #ffc107;
|
|
16162
|
+
color: #fff;
|
|
16163
|
+
}
|
|
16164
|
+
|
|
16165
|
+
.badge-outline-danger {
|
|
16166
|
+
border: 1px solid #dc3545;
|
|
16167
|
+
color: #dc3545 !important;
|
|
16168
|
+
background: transparent !important;
|
|
16169
|
+
}
|
|
16170
|
+
.badge-outline-danger .icon--close {
|
|
16171
|
+
background: #dc3545;
|
|
16172
|
+
color: #fff;
|
|
16173
|
+
}
|
|
16174
|
+
|
|
16175
|
+
.badge-outline-light {
|
|
16176
|
+
border: 1px solid #f0f0f0;
|
|
16177
|
+
color: #f0f0f0 !important;
|
|
16178
|
+
background: transparent !important;
|
|
16179
|
+
}
|
|
16180
|
+
.badge-outline-light .icon--close {
|
|
16181
|
+
background: #f0f0f0;
|
|
16182
|
+
color: #fff;
|
|
16183
|
+
color: #000;
|
|
16184
|
+
}
|
|
16185
|
+
|
|
16186
|
+
.badge-outline-dark {
|
|
16187
|
+
border: 1px solid #212529;
|
|
16188
|
+
color: #212529 !important;
|
|
16189
|
+
background: transparent !important;
|
|
16190
|
+
}
|
|
16191
|
+
.badge-outline-dark .icon--close {
|
|
16192
|
+
background: #212529;
|
|
16193
|
+
color: #fff;
|
|
16194
|
+
}
|
|
16195
|
+
|
|
16073
16196
|
.ss-main {
|
|
16074
16197
|
position: relative;
|
|
16075
16198
|
display: inline-block;
|
|
@@ -16679,7 +16802,7 @@ select.multi-select {
|
|
|
16679
16802
|
background-position: right 1.6rem center;
|
|
16680
16803
|
}
|
|
16681
16804
|
}
|
|
16682
|
-
@media
|
|
16805
|
+
@media (min-width: 992px) {
|
|
16683
16806
|
.bcl-offcanvas {
|
|
16684
16807
|
position: relative;
|
|
16685
16808
|
width: auto;
|
|
@@ -16896,20 +17019,20 @@ select.multi-select {
|
|
|
16896
17019
|
transform: rotate(180deg);
|
|
16897
17020
|
}
|
|
16898
17021
|
|
|
16899
|
-
|
|
17022
|
+
.bcl-inpage-navigation {
|
|
16900
17023
|
top: 1rem;
|
|
16901
17024
|
background-color: #f8f9fa;
|
|
16902
17025
|
}
|
|
16903
|
-
|
|
17026
|
+
.bcl-inpage-navigation h5, .bcl-inpage-navigation .h5 {
|
|
16904
17027
|
font-weight: bold;
|
|
16905
17028
|
margin-bottom: 0;
|
|
16906
17029
|
padding: 1.25rem;
|
|
16907
17030
|
border-bottom: 1px solid #dee2e6;
|
|
16908
17031
|
}
|
|
16909
|
-
|
|
17032
|
+
.bcl-inpage-navigation ul {
|
|
16910
17033
|
padding: 0.75rem;
|
|
16911
17034
|
}
|
|
16912
|
-
|
|
17035
|
+
.bcl-inpage-navigation ul .nav-link {
|
|
16913
17036
|
padding: 0.5rem;
|
|
16914
17037
|
margin-bottom: 0.5rem;
|
|
16915
17038
|
}
|