bootstrap-italia 2.16.2 → 2.17.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/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/base/_utilities.scss +1 -0
- package/src/scss/base/_variables.scss +21 -21
- package/src/scss/base/_version.scss +1 -1
- package/src/scss/bootstrap-italia.scss +0 -1
- package/src/scss/components/_buttons.scss +6 -41
- package/src/scss/components/_callout.scss +12 -66
- package/src/scss/components/_card.scss +1 -3
- package/src/scss/forms/_forms.scss +2 -2
- package/src/scss/utilities/text-colors.scss +0 -13
package/dist/version.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
// NOTE:bootstrap italia version variable, useful to check for the current version
|
|
10
10
|
|
|
11
|
-
const BOOTSTRAP_ITALIA_VERSION = '2.
|
|
11
|
+
const BOOTSTRAP_ITALIA_VERSION = '2.17.0';
|
|
12
12
|
|
|
13
13
|
export { BOOTSTRAP_ITALIA_VERSION as default };
|
|
14
14
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap Italia (https://italia.github.io/bootstrap-italia/)\n * Authors: https://github.com/italia/bootstrap-italia/blob/main/AUTHORS\n * Licensed under BSD-3-Clause license (https://github.com/italia/bootstrap-italia/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n// NOTE:bootstrap italia version variable, useful to check for the current version\n\nconst BOOTSTRAP_ITALIA_VERSION = '2.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../src/js/version.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap Italia (https://italia.github.io/bootstrap-italia/)\n * Authors: https://github.com/italia/bootstrap-italia/blob/main/AUTHORS\n * Licensed under BSD-3-Clause license (https://github.com/italia/bootstrap-italia/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n// NOTE:bootstrap italia version variable, useful to check for the current version\n\nconst BOOTSTRAP_ITALIA_VERSION = '2.17.0'\nexport default BOOTSTRAP_ITALIA_VERSION\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEK,MAAC,wBAAwB,GAAG;;;;"}
|
package/package.json
CHANGED
package/src/js/version.js
CHANGED
|
@@ -151,36 +151,36 @@ $escaped-characters: (('<', '%3c'), ('>', '%3e'), ('#', '%23'), ('(', '%28'), ('
|
|
|
151
151
|
|
|
152
152
|
// ACCENT COLORS DEFINITIONS
|
|
153
153
|
// analoghi
|
|
154
|
-
$analogue-1-h: 243;
|
|
155
|
-
$analogue-1-s: 85;
|
|
156
|
-
$analogue-1-b: 100;
|
|
154
|
+
$analogue-1-h: 243 !default;
|
|
155
|
+
$analogue-1-s: 85 !default;
|
|
156
|
+
$analogue-1-b: 100 !default;
|
|
157
157
|
$analogue-1: hsb($analogue-1-h, $analogue-1-s, $analogue-1-b) !default;
|
|
158
|
-
$analogue-2-h: 178;
|
|
159
|
-
$analogue-2-s: 95;
|
|
160
|
-
$analogue-2-b: 85;
|
|
158
|
+
$analogue-2-h: 178 !default;
|
|
159
|
+
$analogue-2-s: 95 !default;
|
|
160
|
+
$analogue-2-b: 85 !default;
|
|
161
161
|
$analogue-2: hsb($analogue-2-h, $analogue-2-s, $analogue-2-b) !default;
|
|
162
162
|
// Complementari e triadici
|
|
163
|
-
$complementary-1-h: 351;
|
|
164
|
-
$complementary-1-s: 75;
|
|
165
|
-
$complementary-1-b: 97;
|
|
163
|
+
$complementary-1-h: 351 !default;
|
|
164
|
+
$complementary-1-s: 75 !default;
|
|
165
|
+
$complementary-1-b: 97 !default;
|
|
166
166
|
$complementary-1: hsb($complementary-1-h, $complementary-1-s, $complementary-1-b) !default;
|
|
167
|
-
$complementary-2-h: 36;
|
|
168
|
-
$complementary-2-s: 100;
|
|
169
|
-
$complementary-2-b: 100;
|
|
167
|
+
$complementary-2-h: 36 !default;
|
|
168
|
+
$complementary-2-s: 100 !default;
|
|
169
|
+
$complementary-2-b: 100 !default;
|
|
170
170
|
$complementary-2: hsb($complementary-2-h, $complementary-2-s, $complementary-2-b) !default;
|
|
171
|
-
$complementary-3-h: 159;
|
|
172
|
-
$complementary-3-s: 100;
|
|
173
|
-
$complementary-3-b: 81;
|
|
171
|
+
$complementary-3-h: 159 !default;
|
|
172
|
+
$complementary-3-s: 100 !default;
|
|
173
|
+
$complementary-3-b: 81 !default;
|
|
174
174
|
$complementary-3: hsb($complementary-3-h, $complementary-3-s, $complementary-3-b) !default;
|
|
175
175
|
|
|
176
176
|
// NEUTRAL COLORS DEFINITIONS
|
|
177
|
-
$neutral-1-h: 210;
|
|
178
|
-
$neutral-1-s: 70;
|
|
179
|
-
$neutral-1-b: 30;
|
|
177
|
+
$neutral-1-h: 210 !default;
|
|
178
|
+
$neutral-1-s: 70 !default;
|
|
179
|
+
$neutral-1-b: 30 !default;
|
|
180
180
|
$neutral-1: hsb($neutral-1-h, $neutral-1-s, $neutral-1-b) !default;
|
|
181
|
-
$neutral-2-h: 210;
|
|
182
|
-
$neutral-2-s: 5;
|
|
183
|
-
$neutral-2-b: 95;
|
|
181
|
+
$neutral-2-h: 210 !default;
|
|
182
|
+
$neutral-2-s: 5 !default;
|
|
183
|
+
$neutral-2-b: 95 !default;
|
|
184
184
|
$neutral-2: hsb($neutral-2-h, $neutral-2-s, $neutral-2-b) !default;
|
|
185
185
|
|
|
186
186
|
// Light Greys A
|
|
@@ -155,6 +155,12 @@
|
|
|
155
155
|
@each $color, $value in $theme-colors {
|
|
156
156
|
.btn-outline-#{$color} {
|
|
157
157
|
@include button-outline-variant($value);
|
|
158
|
+
box-shadow: inset 0 0 0 2px $value;
|
|
159
|
+
&.disabled,
|
|
160
|
+
&:hover,
|
|
161
|
+
&:active {
|
|
162
|
+
box-shadow: inset 0 0 0 2px color-hover($value);
|
|
163
|
+
}
|
|
158
164
|
}
|
|
159
165
|
}
|
|
160
166
|
// scss-docs-end btn-variant-loops
|
|
@@ -348,47 +354,6 @@
|
|
|
348
354
|
}
|
|
349
355
|
}
|
|
350
356
|
|
|
351
|
-
.btn-outline {
|
|
352
|
-
&-primary {
|
|
353
|
-
box-shadow: inset 0 0 0 2px $primary;
|
|
354
|
-
&.disabled {
|
|
355
|
-
box-shadow: inset 0 0 0 2px color-hover($primary);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
&-secondary {
|
|
359
|
-
box-shadow: inset 0 0 0 2px $secondary;
|
|
360
|
-
&.disabled,
|
|
361
|
-
&:hover,
|
|
362
|
-
&:active {
|
|
363
|
-
box-shadow: inset 0 0 0 2px color-hover($secondary);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
&-success {
|
|
367
|
-
box-shadow: inset 0 0 0 2px $success;
|
|
368
|
-
&.disabled,
|
|
369
|
-
&:hover,
|
|
370
|
-
&:active {
|
|
371
|
-
box-shadow: inset 0 0 0 2px color-hover($success);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
&-warning {
|
|
375
|
-
box-shadow: inset 0 0 0 2px $color-border-warning;
|
|
376
|
-
&.disabled,
|
|
377
|
-
&:hover,
|
|
378
|
-
&:active {
|
|
379
|
-
box-shadow: inset 0 0 0 2px color-hover($color-border-warning);
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
&-danger {
|
|
383
|
-
box-shadow: inset 0 0 0 2px $danger;
|
|
384
|
-
&.disabled,
|
|
385
|
-
&:hover,
|
|
386
|
-
&:active {
|
|
387
|
-
box-shadow: inset 0 0 0 2px color-hover($danger);
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
357
|
.bg-dark {
|
|
393
358
|
.btn-link {
|
|
394
359
|
color: $white;
|
|
@@ -3,31 +3,16 @@
|
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
|
|
5
5
|
.callout-inner {
|
|
6
|
-
padding:
|
|
6
|
+
padding: 1.5rem;
|
|
7
7
|
border: 2px solid $color-border-secondary;
|
|
8
|
-
|
|
9
|
-
margin: 2.5rem 0;
|
|
8
|
+
margin: 2rem 0;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
&.callout-highlight {
|
|
13
12
|
border: none;
|
|
14
13
|
border-left: 2px solid $color-border-secondary;
|
|
15
14
|
border-radius: 0;
|
|
16
|
-
padding: 0
|
|
17
|
-
|
|
18
|
-
p:last-child {
|
|
19
|
-
margin: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.callout-title {
|
|
23
|
-
margin-bottom: 1.556rem;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@each $color-name, $color-value in (success: $success, warning: $color-border-warning, danger: $danger, important: $success, note: $primary) {
|
|
27
|
-
&.#{$color-name} {
|
|
28
|
-
border-color: $color-value;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
15
|
+
padding: 0 1.5rem;
|
|
31
16
|
}
|
|
32
17
|
|
|
33
18
|
&.callout-more {
|
|
@@ -131,11 +116,13 @@
|
|
|
131
116
|
}
|
|
132
117
|
|
|
133
118
|
.callout-title {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
margin-bottom: 1rem;
|
|
134
122
|
font-weight: 600;
|
|
135
123
|
text-transform: uppercase;
|
|
136
124
|
font-size: 1rem;
|
|
137
125
|
color: $color-text-secondary;
|
|
138
|
-
|
|
139
126
|
@include media-breakpoint-up(lg) {
|
|
140
127
|
font-size: 1.125rem;
|
|
141
128
|
}
|
|
@@ -146,53 +133,18 @@
|
|
|
146
133
|
}
|
|
147
134
|
}
|
|
148
135
|
|
|
149
|
-
&:not(.callout-highlight):not(.callout-more) {
|
|
150
|
-
.callout-title {
|
|
151
|
-
position: relative;
|
|
152
|
-
padding-left: 1.5rem;
|
|
153
|
-
top: -3rem;
|
|
154
|
-
|
|
155
|
-
.text {
|
|
156
|
-
position: relative;
|
|
157
|
-
overflow: hidden;
|
|
158
|
-
width: 100%;
|
|
159
|
-
font-size: 0.875rem;
|
|
160
|
-
padding-right: 1.5rem;
|
|
161
|
-
|
|
162
|
-
@include media-breakpoint-up(md) {
|
|
163
|
-
font-size: 1.15rem;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&:after {
|
|
167
|
-
content: '';
|
|
168
|
-
top: 0.875em;
|
|
169
|
-
border-top: 2px solid;
|
|
170
|
-
position: absolute;
|
|
171
|
-
width: calc(100vw - 100% - 20px);
|
|
172
|
-
left: 100%;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&:before {
|
|
177
|
-
content: '';
|
|
178
|
-
top: 0.875em;
|
|
179
|
-
border-top: 2px solid;
|
|
180
|
-
position: absolute;
|
|
181
|
-
width: 3rem;
|
|
182
|
-
left: -2.5rem;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
136
|
p {
|
|
188
137
|
font-family: $font-family-serif;
|
|
189
138
|
font-size: 1rem;
|
|
190
139
|
color: $color-text-secondary;
|
|
191
|
-
|
|
192
140
|
@include media-breakpoint-up(lg) {
|
|
193
141
|
font-size: 1.125rem;
|
|
194
142
|
}
|
|
195
143
|
|
|
144
|
+
&:last-child {
|
|
145
|
+
margin-bottom: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
196
148
|
&.callout-big-text {
|
|
197
149
|
font-size: 1.125rem;
|
|
198
150
|
}
|
|
@@ -304,13 +256,7 @@
|
|
|
304
256
|
}
|
|
305
257
|
|
|
306
258
|
@media (min-width: 768px) {
|
|
307
|
-
.callout {
|
|
308
|
-
|
|
309
|
-
padding: 0 0 0 2.222rem;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
&.callout-more p {
|
|
313
|
-
font-size: 0.775rem;
|
|
314
|
-
}
|
|
259
|
+
.callout .callout-more p {
|
|
260
|
+
font-size: 0.775rem;
|
|
315
261
|
}
|
|
316
262
|
}
|
|
@@ -243,14 +243,12 @@ article.it-card {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.it-card-title-icon-wrapper {
|
|
246
|
-
|
|
247
|
-
align-items: center;
|
|
246
|
+
margin-left: 0.5rem;
|
|
248
247
|
}
|
|
249
248
|
|
|
250
249
|
// linked titles with icons goes fullwidth
|
|
251
250
|
> a {
|
|
252
251
|
display: flex;
|
|
253
|
-
flex-direction: row;
|
|
254
252
|
justify-content: space-between;
|
|
255
253
|
width: 100%;
|
|
256
254
|
|
|
@@ -30,7 +30,7 @@ fieldset {
|
|
|
30
30
|
input,
|
|
31
31
|
optgroup,
|
|
32
32
|
textarea {
|
|
33
|
-
color: $color-text-
|
|
33
|
+
color: $color-text-base;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
label {
|
|
@@ -46,7 +46,7 @@ fieldset {
|
|
|
46
46
|
max-width: 100%;
|
|
47
47
|
width: auto;
|
|
48
48
|
padding: 0 $input-spacing-x;
|
|
49
|
-
z-index:
|
|
49
|
+
z-index: 2;
|
|
50
50
|
&.active {
|
|
51
51
|
transform: translateY(-85%);
|
|
52
52
|
font-weight: 600;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// text-color
|
|
2
|
-
// excluding `secondary` due to different colors used for background and text, using a direct class instead
|
|
3
|
-
@each $color, $value in $theme-colors {
|
|
4
|
-
@if $color != 'white' and $color != 'secondary' {
|
|
5
|
-
.text-#{$color} {
|
|
6
|
-
color: $value;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.text-secondary {
|
|
12
|
-
color: $color-text-secondary;
|
|
13
|
-
}
|