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.
- package/dist/css/bootstrap-italia-comuni.min.css +1 -1
- package/dist/css/bootstrap-italia.min.css +1 -1
- package/dist/css/bootstrap-italia.min.css.map +1 -1
- package/dist/js/bootstrap-italia.bundle.min.js +1 -1
- package/dist/js/bootstrap-italia.min.js +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
- package/src/js/version.js +1 -1
- package/src/scss/_variables.scss +1 -1
- package/src/scss/bootstrap-italia-comuni.scss +1 -1
- package/src/scss/custom/_accept-overlay.scss +3 -1
- package/src/scss/custom/_alert.scss +4 -1
- package/src/scss/custom/_card.scss +0 -2
- package/src/scss/custom/_megamenu.scss +5 -5
- package/src/scss/custom/_version.scss +1 -1
- package/src/scss/utilities/text-colors.scss +1 -1
|
@@ -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.
|
|
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.
|
|
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.
|
|
4
|
+
const BOOTSTRAP_ITALIA_VERSION = '2.6.2';
|
|
5
5
|
|
|
6
6
|
export { BOOTSTRAP_ITALIA_VERSION as default };
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -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.
|
|
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
package/src/js/version.js
CHANGED
package/src/scss/_variables.scss
CHANGED
|
@@ -631,7 +631,7 @@ $transfer-height: 240px;
|
|
|
631
631
|
|
|
632
632
|
//Timeline
|
|
633
633
|
$timeline-width: 4px;
|
|
634
|
-
$timeline-padding:
|
|
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
|
|
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;
|
|
@@ -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
|
+
}
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
background: transparent;
|
|
38
38
|
|
|
39
39
|
.description-content {
|
|
40
|
-
padding-left:
|
|
41
|
-
padding-right:
|
|
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 +
|
|
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:
|
|
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 +
|
|
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
|
}
|