bootstrap-italia 2.6.0 → 2.6.2

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.
@@ -20,7 +20,7 @@
20
20
 
21
21
  const DATA_MOUSE_FOCUS="data-focus-mouse";class TrackFocus{constructor(){this._usingMouse=!1,this._bindEvents();}_bindEvents(){["keydown","mousedown"].forEach((t=>{document.addEventListener(t,(t=>{this._usingMouse="mousedown"===t.type;}));})),document.addEventListener("focusin",(t=>{this._usingMouse&&t.target&&(t.target.classList.add("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!0));})),document.addEventListener("focusout",(t=>{t.target&&(t.target.classList.remove("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!1));}));}}new TrackFocus;const TrackFocus$1 = TrackFocus;
22
22
 
23
- const BOOTSTRAP_ITALIA_VERSION = "2.6.0";
23
+ const BOOTSTRAP_ITALIA_VERSION = "2.6.2";
24
24
 
25
25
  const init=()=>{window.BOOTSTRAP_ITALIA_VERSION||(new TrackFocus$1,window.BOOTSTRAP_ITALIA_VERSION=BOOTSTRAP_ITALIA_VERSION);};const init$1 = init;init();
26
26
 
@@ -47,7 +47,7 @@
47
47
 
48
48
  const DATA_MOUSE_FOCUS="data-focus-mouse";class TrackFocus{constructor(){this._usingMouse=!1,this._bindEvents();}_bindEvents(){["keydown","mousedown"].forEach((t=>{document.addEventListener(t,(t=>{this._usingMouse="mousedown"===t.type;}));})),document.addEventListener("focusin",(t=>{this._usingMouse&&t.target&&(t.target.classList.add("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!0));})),document.addEventListener("focusout",(t=>{t.target&&(t.target.classList.remove("focus--mouse"),t.target.setAttribute(DATA_MOUSE_FOCUS,!1));}));}}new TrackFocus;const TrackFocus$1 = TrackFocus;
49
49
 
50
- const BOOTSTRAP_ITALIA_VERSION = "2.6.0";
50
+ const BOOTSTRAP_ITALIA_VERSION = "2.6.2";
51
51
 
52
52
  const init=()=>{window.BOOTSTRAP_ITALIA_VERSION||(new TrackFocus$1,window.BOOTSTRAP_ITALIA_VERSION=BOOTSTRAP_ITALIA_VERSION);};const init$1 = init;init();
53
53
 
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // bootstrap italia version variable
2
2
  // useful to check for the current version
3
3
  // eslint-disable-next-line no-unused-vars
4
- const BOOTSTRAP_ITALIA_VERSION = '2.6.0';
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.6.2';
5
5
 
6
6
  export { BOOTSTRAP_ITALIA_VERSION as default };
7
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["// bootstrap italia version variable\n// useful to check for the current version\n// eslint-disable-next-line no-unused-vars\nconst BOOTSTRAP_ITALIA_VERSION = '2.6.0'\nexport default BOOTSTRAP_ITALIA_VERSION\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACK,MAAC,wBAAwB,GAAG;;;;"}
1
+ {"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["// bootstrap italia version variable\n// useful to check for the current version\n// eslint-disable-next-line no-unused-vars\nconst BOOTSTRAP_ITALIA_VERSION = '2.6.2'\nexport default BOOTSTRAP_ITALIA_VERSION\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACK,MAAC,wBAAwB,GAAG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-italia",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "keywords": [
5
5
  "css",
6
6
  "sass",
package/src/js/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // bootstrap italia version variable
2
2
  // useful to check for the current version
3
3
  // eslint-disable-next-line no-unused-vars
4
- const BOOTSTRAP_ITALIA_VERSION = '2.6.0'
4
+ const BOOTSTRAP_ITALIA_VERSION = '2.6.2'
5
5
  export default BOOTSTRAP_ITALIA_VERSION
@@ -631,7 +631,7 @@ $transfer-height: 240px;
631
631
 
632
632
  //Timeline
633
633
  $timeline-width: 4px;
634
- $timeline-padding: ($v-gap * 3) - calc($grid-gutter-width / 2);
634
+ $timeline-padding: 12px;
635
635
  $timeline-border-color: linear-gradient(0deg, $primary 0%, hsl(210, 100%, 20%) 100%) !default; // UI kit
636
636
  $timeline-pin-size: $v-gap * 3;
637
637
  $timeline-pin-background: hsl(210, 100%, 20%); // color-blue-20
@@ -25,7 +25,7 @@ $primary-b: 48;
25
25
  // color custom variables
26
26
  $color-text-primary-hover: hsl(160, 100%, 19%); // color-seagreen-19
27
27
  $color-text-primary-active: hsl(160, 100%, 14%); // color-seagreen-14
28
- $color-background-primary-lighter: hsl(160, 40, 92%); // color-seagreen-92
28
+ $color-background-primary-lighter: hsl(160, 40%, 92%); // color-seagreen-92
29
29
  $btn-comuni-primary-hover: #fff;
30
30
  $header-center-bg-color: $primary;
31
31
  $header-slim-bg-color: #00402b;
@@ -2,7 +2,9 @@
2
2
 
3
3
  .acceptoverlayable {
4
4
  position: relative;
5
- min-height: 400px;
5
+ &:has(.acceptoverlay.show) {
6
+ min-height: 450px;
7
+ }
6
8
  }
7
9
 
8
10
  .acceptoverlay {
@@ -46,7 +46,7 @@
46
46
  // Generate contextual modifier classes for colorizing the alert.
47
47
 
48
48
  @each $color, $value in $theme-colors {
49
- @if ($color == 'danger' or $color == 'warning' or $color == 'success' or $color == 'info') {
49
+ @if ($color == 'danger' or $color == 'warning' or $color == 'success' or $color == 'info' or $color == 'primary') {
50
50
  .alert-#{$color} {
51
51
  background-position: 20px 16px;
52
52
  background-repeat: no-repeat;
@@ -68,3 +68,6 @@
68
68
  .alert-info {
69
69
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='#{url-friendly-color($info)}' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 19a9 9 0 1 1 9-9 9 9 0 0 1-9 9zm-.7-15h1.5v2h-1.5zm0 3h1.5v9h-1.5z'%3E%3C/path%3E%3C/svg%3E");
70
70
  }
71
+ .alert-primary {
72
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='#{url-friendly-color($primary)}' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 19a9 9 0 1 1 9-9 9 9 0 0 1-9 9zm-.7-15h1.5v2h-1.5zm0 3h1.5v9h-1.5z'%3E%3C/path%3E%3C/svg%3E");
73
+ }
@@ -716,8 +716,6 @@ a.read-more {
716
716
  }
717
717
  .card {
718
718
  border: none;
719
- // border-right: 1px solid $card-border-color;
720
- margin-right: -$grid-gutter-width * 0.5;
721
719
  &.card-bg,
722
720
  &.card-img {
723
721
  margin: 0;
@@ -37,8 +37,8 @@
37
37
  background: transparent;
38
38
 
39
39
  .description-content {
40
- padding-left: $megamenu-linklist-vertical-link-padding + $grid-gutter-width * 0.5;
41
- padding-right: $megamenu-linklist-vertical-link-padding + $grid-gutter-width * 0.5;
40
+ padding-left: 48px;
41
+ padding-right: 48px;
42
42
  &:before {
43
43
  content: '';
44
44
  display: block;
@@ -94,7 +94,7 @@
94
94
  h3,
95
95
  .link-list-heading {
96
96
  &.it-heading-megacolumn {
97
- margin: $megamenu-linklist-link-v-padding $megamenu-column-gap + $grid-gutter-width * 2;
97
+ margin: $megamenu-linklist-link-v-padding $megamenu-column-gap + 24px * 2;
98
98
  line-height: $megamenu-heading-line-height;
99
99
  font-size: $megamenu-heading-text-size;
100
100
  text-transform: uppercase;
@@ -157,7 +157,7 @@
157
157
  padding: $v-gap * 2 0;
158
158
  margin-top: $v-gap * 2;
159
159
  .col-12 {
160
- padding-bottom: 0px !important;
160
+ padding-bottom: 0 !important;
161
161
  }
162
162
  .link-list-wrapper {
163
163
  margin-bottom: 0;
@@ -389,7 +389,7 @@
389
389
  }
390
390
  .row.max-height-col {
391
391
  min-height: 100%;
392
- margin-right: -($megamenu-column-gap + $grid-gutter-width * 0.5 + 1);
392
+ margin-right: -($megamenu-column-gap + 24px * 0.5 + 1);
393
393
  .row.max-height-col {
394
394
  margin-right: -$grid-gutter-width * 0.5;
395
395
  }
@@ -1,3 +1,3 @@
1
1
  :root {
2
- --bootstrap-italia-version: '2.6.0';
2
+ --bootstrap-italia-version: '2.6.2';
3
3
  }
@@ -2,7 +2,7 @@
2
2
  @each $color, $value in $theme-colors {
3
3
  @if $color != 'white' {
4
4
  .text-#{$color} {
5
- color: darken($value, 15%) !important;
5
+ color: $value;
6
6
  }
7
7
  }
8
8
  }