@openeuropa/bcl-theme-joinup 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.
@@ -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 },
@@ -5399,9 +5399,9 @@ textarea.form-control-lg {
5399
5399
  }
5400
5400
  }
5401
5401
  .accordion-button:not(.collapsed) {
5402
- color: #0c63e4;
5403
- background-color: #e7f1ff;
5404
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
5402
+ color: #212529;
5403
+ background-color: #f8f9fa;
5404
+ box-shadow: inset 0 -1px 0 #dee2e6;
5405
5405
  }
5406
5406
  .accordion-button:not(.collapsed)::after {
5407
5407
  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");
@@ -5443,7 +5443,7 @@ textarea.form-control-lg {
5443
5443
 
5444
5444
  .accordion-item {
5445
5445
  background-color: #fff;
5446
- border: 1px solid rgba(0, 0, 0, 0.125);
5446
+ border: 1px solid #dee2e6;
5447
5447
  }
5448
5448
  .accordion-item:first-of-type {
5449
5449
  border-top-left-radius: 0.25rem;
@@ -15643,14 +15643,9 @@ body {
15643
15643
  padding-bottom: 1rem;
15644
15644
  }
15645
15645
 
15646
- .bcl-header__project {
15647
- padding-top: 1rem;
15648
- min-height: 3rem;
15649
- }
15650
-
15651
- .ec__header .bcl-header__project,
15652
- .ec__header .bcl-header__navbar {
15653
- background: #004494;
15646
+ .bcl-header--neutral .bcl-header__project,
15647
+ .bcl-header--neutral .bcl-header__navbar {
15648
+ background: #6d7173;
15654
15649
  }
15655
15650
 
15656
15651
  .bcl-navbar-header {
@@ -15662,10 +15657,21 @@ body {
15662
15657
  color: #1b4ac3;
15663
15658
  }
15664
15659
 
15665
- .bcl-header.ec__header .nav-link {
15660
+ .bcl-header--ec .bcl-header__project,
15661
+ .bcl-header--ec .bcl-header__navbar,
15662
+ .ec__header .bcl-header__project,
15663
+ .ec__header .bcl-header__navbar {
15664
+ background: #004494;
15665
+ }
15666
+ .bcl-header--ec .nav-link,
15667
+ .ec__header .nav-link {
15666
15668
  color: #17458f;
15667
15669
  }
15668
15670
 
15671
+ .bcl-header:not(.bcl-header--neutral) .bcl-header__project {
15672
+ padding-top: 1rem;
15673
+ }
15674
+
15669
15675
  .bcl-header__navbar .navbar-nav .nav-link {
15670
15676
  color: #a2a8ab;
15671
15677
  }
@@ -15701,7 +15707,7 @@ body {
15701
15707
  transform: translate(-11px, 5px);
15702
15708
  }
15703
15709
 
15704
- .bcl-header__project p {
15710
+ .bcl-header__project .bcl-header__site-name {
15705
15711
  display: inline-block;
15706
15712
  margin-bottom: 0;
15707
15713
  font-size: 1.3rem;
@@ -15721,28 +15727,52 @@ body {
15721
15727
  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");
15722
15728
  }
15723
15729
 
15730
+ @media only screen and (max-width: 400px) {
15731
+ .bcl-header--neutral .bcl-header__project-logo {
15732
+ display: none;
15733
+ }
15734
+ }
15724
15735
  @media (max-width: 575.98px) {
15725
15736
  .bcl-header .navbar:first-child .nav-link {
15726
15737
  padding: 0.5rem 0.4rem;
15727
15738
  }
15728
15739
  }
15729
15740
  @media (min-width: 768px) {
15730
- .ec__header .navbar-brand img {
15741
+ .bcl-header--ec .navbar-brand img,
15742
+ .ec__header .navbar-brand img {
15731
15743
  width: 180px;
15732
15744
  }
15733
15745
  }
15746
+ @media (max-width: 991.98px) {
15747
+ .bcl-header__project {
15748
+ min-height: 3rem;
15749
+ padding-top: 1rem;
15750
+ }
15751
+
15752
+ .bcl-header nav + nav {
15753
+ min-height: 3rem;
15754
+ }
15755
+ .bcl-header nav + nav .navbar-toggler {
15756
+ position: static;
15757
+ }
15758
+ .bcl-header nav + nav .container {
15759
+ -ms-flex-pack: right;
15760
+ justify-content: right;
15761
+ }
15762
+ }
15734
15763
  @media (min-width: 992px) {
15735
15764
  .bcl-header__project.light,
15765
+ .bcl-header--ec .bcl-header__project.light,
15736
15766
  .ec__header .bcl-header__project.light {
15737
15767
  background: #fff;
15738
15768
  }
15739
15769
 
15740
- .bcl-header__project p {
15770
+ .bcl-header__site-name {
15741
15771
  padding-left: 1.5rem;
15742
15772
  font-weight: 500;
15743
15773
  }
15744
15774
 
15745
- .bcl-header__project.light p {
15775
+ .bcl-header__project.light .bcl-header__site-name {
15746
15776
  color: #000;
15747
15777
  }
15748
15778
 
@@ -15771,11 +15801,12 @@ body {
15771
15801
  z-index: 1050;
15772
15802
  }
15773
15803
 
15774
- .bcl-header__project {
15804
+ .bcl-header:not(.bcl-header--neutral) .bcl-header__project {
15775
15805
  padding-bottom: 1rem;
15776
15806
  }
15777
15807
 
15778
- .ec__header .navbar-brand img {
15808
+ .bcl-header--ec .navbar-brand img,
15809
+ .ec__header .navbar-brand img {
15779
15810
  width: 285px;
15780
15811
  }
15781
15812
  }
@@ -16166,6 +16197,97 @@ a .badge {
16166
16197
  font-size: 0.75em;
16167
16198
  }
16168
16199
 
16200
+ .badge-outline-primary {
16201
+ border: 1px solid #143b76;
16202
+ color: #143b76 !important;
16203
+ background: transparent !important;
16204
+ }
16205
+ .badge-outline-primary .icon--close {
16206
+ background: #143b76;
16207
+ color: #fff;
16208
+ }
16209
+
16210
+ .badge-outline-secondary {
16211
+ border: 1px solid #e7f1fb;
16212
+ color: #e7f1fb !important;
16213
+ background: transparent !important;
16214
+ }
16215
+ .badge-outline-secondary .icon--close {
16216
+ background: #e7f1fb;
16217
+ color: #fff;
16218
+ }
16219
+
16220
+ .badge-outline-success {
16221
+ border: 1px solid #18bf80;
16222
+ color: #18bf80 !important;
16223
+ background: transparent !important;
16224
+ }
16225
+ .badge-outline-success .icon--close {
16226
+ background: #18bf80;
16227
+ color: #fff;
16228
+ }
16229
+
16230
+ .badge-outline-info {
16231
+ border: 1px solid #0dcaf0;
16232
+ color: #0dcaf0 !important;
16233
+ background: transparent !important;
16234
+ }
16235
+ .badge-outline-info .icon--close {
16236
+ background: #0dcaf0;
16237
+ color: #fff;
16238
+ }
16239
+
16240
+ .badge-outline-warning {
16241
+ border: 1px solid #eba843;
16242
+ color: #eba843 !important;
16243
+ background: transparent !important;
16244
+ }
16245
+ .badge-outline-warning .icon--close {
16246
+ background: #eba843;
16247
+ color: #fff;
16248
+ }
16249
+
16250
+ .badge-outline-danger {
16251
+ border: 1px solid #eb3434;
16252
+ color: #eb3434 !important;
16253
+ background: transparent !important;
16254
+ }
16255
+ .badge-outline-danger .icon--close {
16256
+ background: #eb3434;
16257
+ color: #fff;
16258
+ }
16259
+
16260
+ .badge-outline-light {
16261
+ border: 1px solid #f0f0f0;
16262
+ color: #f0f0f0 !important;
16263
+ background: transparent !important;
16264
+ }
16265
+ .badge-outline-light .icon--close {
16266
+ background: #f0f0f0;
16267
+ color: #fff;
16268
+ color: #000;
16269
+ }
16270
+
16271
+ .badge-outline-dark {
16272
+ border: 1px solid #212529;
16273
+ color: #212529 !important;
16274
+ background: transparent !important;
16275
+ }
16276
+ .badge-outline-dark .icon--close {
16277
+ background: #212529;
16278
+ color: #fff;
16279
+ }
16280
+
16281
+ .badge-outline-brand {
16282
+ border: 1px solid #1073de;
16283
+ color: #1073de !important;
16284
+ background: transparent !important;
16285
+ }
16286
+ .badge-outline-brand .icon--close {
16287
+ background: #1073de;
16288
+ color: #fff;
16289
+ }
16290
+
16169
16291
  .ss-main {
16170
16292
  position: relative;
16171
16293
  display: inline-block;
@@ -16770,7 +16892,7 @@ select.multi-select {
16770
16892
  background-position: right 1.6rem center;
16771
16893
  }
16772
16894
  }
16773
- @media screen and (min-width: 992px) {
16895
+ @media (min-width: 992px) {
16774
16896
  .bcl-offcanvas {
16775
16897
  position: relative;
16776
16898
  width: auto;
@@ -17026,20 +17148,20 @@ input:hover {
17026
17148
  font-weight: 700;
17027
17149
  }
17028
17150
 
17029
- #bcl-inpage-navigation {
17151
+ .bcl-inpage-navigation {
17030
17152
  top: 1rem;
17031
17153
  background-color: #fafbfc;
17032
17154
  }
17033
- #bcl-inpage-navigation h5, #bcl-inpage-navigation .h5 {
17155
+ .bcl-inpage-navigation h5, .bcl-inpage-navigation .h5 {
17034
17156
  font-weight: bold;
17035
17157
  margin-bottom: 0;
17036
17158
  padding: 1.25rem;
17037
17159
  border-bottom: 1px solid #dadee0;
17038
17160
  }
17039
- #bcl-inpage-navigation ul {
17161
+ .bcl-inpage-navigation ul {
17040
17162
  padding: 0.75rem;
17041
17163
  }
17042
- #bcl-inpage-navigation ul .nav-link {
17164
+ .bcl-inpage-navigation ul .nav-link {
17043
17165
  padding: 0.5rem;
17044
17166
  margin-bottom: 0.5rem;
17045
17167
  }