bootstrap-italia 2.15.1 → 2.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/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/_variables.scss +2 -2
- package/src/scss/base/_version.scss +1 -1
- package/src/scss/bootstrap-italia.scss +1 -0
- package/src/scss/components/_card-old.scss +952 -0
- package/src/scss/components/_card.scss +618 -765
- package/src/scss/components/_carousel.scss +11 -11
- package/src/scss/components/_timeline.scss +60 -0
- package/src/scss/utilities/focus.scss +13 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@import '@splidejs/splide/src/css/core/index';
|
|
2
2
|
|
|
3
|
+
// Keep all .card-SOMETHING till next major? (.card is deprecated)
|
|
4
|
+
|
|
3
5
|
//mobile
|
|
4
6
|
.it-carousel-wrapper {
|
|
5
7
|
// splide pagination
|
|
@@ -24,6 +26,7 @@
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
.it-special-card {
|
|
29
|
+
// xxx deprecated with old .card
|
|
27
30
|
h5.card-title {
|
|
28
31
|
margin-bottom: 0;
|
|
29
32
|
}
|
|
@@ -43,12 +46,16 @@
|
|
|
43
46
|
padding-bottom: 0;
|
|
44
47
|
}
|
|
45
48
|
.card-wrapper {
|
|
49
|
+
// xxx deprecated with old .card
|
|
50
|
+
padding-bottom: $v-gap * 2;
|
|
51
|
+
}
|
|
52
|
+
.it-card {
|
|
46
53
|
padding-bottom: $v-gap * 2;
|
|
47
54
|
}
|
|
48
55
|
// Landscape abstract
|
|
49
56
|
&.it-carousel-landscape-abstract {
|
|
57
|
+
// xxx deprecated with old .card
|
|
50
58
|
.it-single-slide-wrapper {
|
|
51
|
-
background-color: $white;
|
|
52
59
|
> a {
|
|
53
60
|
position: relative;
|
|
54
61
|
display: block;
|
|
@@ -121,11 +128,13 @@
|
|
|
121
128
|
margin: 0 auto;
|
|
122
129
|
// with img
|
|
123
130
|
.card.card-img {
|
|
131
|
+
// xxx deprecated with old .card
|
|
124
132
|
margin-left: 0;
|
|
125
133
|
margin-right: 0;
|
|
126
134
|
}
|
|
127
135
|
// with shadow
|
|
128
136
|
.it-card-bg {
|
|
137
|
+
// xxx deprecated with old .card
|
|
129
138
|
.card.card-bg {
|
|
130
139
|
margin-left: 0;
|
|
131
140
|
margin-right: 0;
|
|
@@ -172,6 +181,7 @@
|
|
|
172
181
|
.it-text-slider-wrapper-outside {
|
|
173
182
|
flex-basis: 50%;
|
|
174
183
|
.card {
|
|
184
|
+
// xxx deprecated with old .card
|
|
175
185
|
border-right: none;
|
|
176
186
|
margin-right: 0;
|
|
177
187
|
&:after {
|
|
@@ -197,16 +207,6 @@
|
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
209
|
}
|
|
200
|
-
.splide__pagination {
|
|
201
|
-
position: absolute;
|
|
202
|
-
left: 50%;
|
|
203
|
-
margin-left: $v-gap * 5;
|
|
204
|
-
right: 0;
|
|
205
|
-
bottom: $crs-landscape-bottom;
|
|
206
|
-
text-align: left;
|
|
207
|
-
justify-content: left;
|
|
208
|
-
margin-bottom: 8px;
|
|
209
|
-
}
|
|
210
210
|
}
|
|
211
211
|
&.it-carousel-landscape-abstract-three-cols-arrow-visible {
|
|
212
212
|
.lined_slide {
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
color: $primary;
|
|
10
10
|
font-weight: 600;
|
|
11
11
|
}
|
|
12
|
+
|
|
12
13
|
.row {
|
|
13
14
|
position: relative;
|
|
14
15
|
padding-top: $v-gap * 6;
|
|
16
|
+
|
|
15
17
|
//padding-bottom: $v-gap*6;
|
|
16
18
|
&:after {
|
|
17
19
|
content: '';
|
|
@@ -23,13 +25,38 @@
|
|
|
23
25
|
bottom: -$v-gap * 2;
|
|
24
26
|
}
|
|
25
27
|
}
|
|
28
|
+
|
|
26
29
|
.timeline-element {
|
|
27
30
|
padding: $timeline-content-padding;
|
|
28
31
|
position: relative;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
|
|
29
34
|
.card {
|
|
35
|
+
// xxx deprecated with old .card
|
|
30
36
|
background: none;
|
|
31
37
|
}
|
|
38
|
+
|
|
39
|
+
.it-card {
|
|
40
|
+
margin-top: 16px;
|
|
41
|
+
margin-bottom: 16px;
|
|
42
|
+
|
|
43
|
+
+ .it-card {
|
|
44
|
+
margin-top: 4px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include media-breakpoint-down(lg) {
|
|
48
|
+
margin-top: 32px;
|
|
49
|
+
margin-bottom: 32px;
|
|
50
|
+
margin-left: -24px;
|
|
51
|
+
width: auto;
|
|
52
|
+
|
|
53
|
+
+ .it-card {
|
|
54
|
+
margin-top: 8px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
32
58
|
}
|
|
59
|
+
|
|
33
60
|
.it-pin-wrapper {
|
|
34
61
|
display: flex;
|
|
35
62
|
align-items: center;
|
|
@@ -37,6 +64,7 @@
|
|
|
37
64
|
top: -$timeline-pin-circle-size * 0.5;
|
|
38
65
|
z-index: 4;
|
|
39
66
|
left: calc($timeline-padding / 2);
|
|
67
|
+
|
|
40
68
|
.pin-icon {
|
|
41
69
|
width: $timeline-pin-circle-size;
|
|
42
70
|
height: $timeline-pin-circle-size;
|
|
@@ -50,11 +78,13 @@
|
|
|
50
78
|
margin-right: $v-gap * 2;
|
|
51
79
|
background: $white;
|
|
52
80
|
}
|
|
81
|
+
|
|
53
82
|
svg {
|
|
54
83
|
width: $timeline-pin-size;
|
|
55
84
|
height: $timeline-pin-size;
|
|
56
85
|
fill: $primary;
|
|
57
86
|
}
|
|
87
|
+
|
|
58
88
|
.pin-text {
|
|
59
89
|
color: $white;
|
|
60
90
|
font-weight: 600;
|
|
@@ -69,6 +99,7 @@
|
|
|
69
99
|
padding: $v-gap * 0.5 $v-gap * 2;
|
|
70
100
|
display: block;
|
|
71
101
|
position: relative;
|
|
102
|
+
|
|
72
103
|
&:after {
|
|
73
104
|
content: '';
|
|
74
105
|
width: 10px;
|
|
@@ -82,15 +113,19 @@
|
|
|
82
113
|
}
|
|
83
114
|
}
|
|
84
115
|
}
|
|
116
|
+
|
|
85
117
|
&.it-now {
|
|
86
118
|
.pin-icon {
|
|
87
119
|
background: $primary;
|
|
88
120
|
}
|
|
121
|
+
|
|
89
122
|
svg {
|
|
90
123
|
fill: $white;
|
|
91
124
|
}
|
|
125
|
+
|
|
92
126
|
.pin-text {
|
|
93
127
|
background: $primary;
|
|
128
|
+
|
|
94
129
|
span {
|
|
95
130
|
&:after {
|
|
96
131
|
background: $primary;
|
|
@@ -98,15 +133,19 @@
|
|
|
98
133
|
}
|
|
99
134
|
}
|
|
100
135
|
}
|
|
136
|
+
|
|
101
137
|
&.it-evidence {
|
|
102
138
|
.pin-icon {
|
|
103
139
|
background: $timeline-pin-background;
|
|
104
140
|
}
|
|
141
|
+
|
|
105
142
|
svg {
|
|
106
143
|
fill: $white;
|
|
107
144
|
}
|
|
145
|
+
|
|
108
146
|
.pin-text {
|
|
109
147
|
background: $timeline-pin-background;
|
|
148
|
+
|
|
110
149
|
span {
|
|
111
150
|
&:after {
|
|
112
151
|
background: $timeline-pin-background;
|
|
@@ -117,6 +156,7 @@
|
|
|
117
156
|
}
|
|
118
157
|
|
|
119
158
|
.card-title {
|
|
159
|
+
// xxx deprecated with old .card
|
|
120
160
|
text-transform: uppercase;
|
|
121
161
|
}
|
|
122
162
|
}
|
|
@@ -130,17 +170,21 @@
|
|
|
130
170
|
left: calc(50% - #{$timeline-width});
|
|
131
171
|
}
|
|
132
172
|
}
|
|
173
|
+
|
|
133
174
|
.timeline-element {
|
|
134
175
|
padding: $timeline-content-padding;
|
|
135
176
|
width: 50%;
|
|
136
177
|
}
|
|
178
|
+
|
|
137
179
|
.col-12 {
|
|
138
180
|
.card-wrapper {
|
|
181
|
+
// xxx deprecated with old .card
|
|
139
182
|
.card {
|
|
140
183
|
border: none;
|
|
141
184
|
}
|
|
142
185
|
}
|
|
143
186
|
}
|
|
187
|
+
|
|
144
188
|
// col rules
|
|
145
189
|
.col-12:nth-child(odd) {
|
|
146
190
|
.it-now-label {
|
|
@@ -148,6 +192,7 @@
|
|
|
148
192
|
transform: translateX(100%);
|
|
149
193
|
display: flex;
|
|
150
194
|
align-items: center;
|
|
195
|
+
|
|
151
196
|
&:before {
|
|
152
197
|
content: '';
|
|
153
198
|
display: inline-block;
|
|
@@ -157,30 +202,38 @@
|
|
|
157
202
|
margin-right: $v-gap * 2;
|
|
158
203
|
}
|
|
159
204
|
}
|
|
205
|
+
|
|
160
206
|
.timeline-element {
|
|
161
207
|
padding: $timeline-content-padding-reverse;
|
|
162
208
|
}
|
|
209
|
+
|
|
163
210
|
.card-wrapper {
|
|
211
|
+
// xxx deprecated with old .card
|
|
164
212
|
.card {
|
|
165
213
|
text-align: right;
|
|
214
|
+
|
|
166
215
|
&:after {
|
|
167
216
|
margin-left: auto;
|
|
168
217
|
display: inline-block;
|
|
169
218
|
margin-right: $v-gap * 3;
|
|
170
219
|
}
|
|
220
|
+
|
|
171
221
|
a.read-more {
|
|
172
222
|
right: $v-gap * 3;
|
|
173
223
|
}
|
|
174
224
|
}
|
|
175
225
|
}
|
|
226
|
+
|
|
176
227
|
.it-pin-wrapper {
|
|
177
228
|
flex-direction: row-reverse;
|
|
178
229
|
left: auto;
|
|
179
230
|
right: -62px;
|
|
231
|
+
|
|
180
232
|
.pin-icon {
|
|
181
233
|
margin-right: 0;
|
|
182
234
|
margin-left: $v-gap * 2;
|
|
183
235
|
}
|
|
236
|
+
|
|
184
237
|
.pin-text {
|
|
185
238
|
span {
|
|
186
239
|
&:after {
|
|
@@ -189,6 +242,7 @@
|
|
|
189
242
|
}
|
|
190
243
|
}
|
|
191
244
|
}
|
|
245
|
+
|
|
192
246
|
&.it-evidence {
|
|
193
247
|
.pin-text {
|
|
194
248
|
span {
|
|
@@ -200,12 +254,14 @@
|
|
|
200
254
|
}
|
|
201
255
|
}
|
|
202
256
|
}
|
|
257
|
+
|
|
203
258
|
.col-12:nth-child(even) {
|
|
204
259
|
.it-now-label {
|
|
205
260
|
left: 0;
|
|
206
261
|
transform: translateX(-100%);
|
|
207
262
|
display: flex;
|
|
208
263
|
align-items: center;
|
|
264
|
+
|
|
209
265
|
&:after {
|
|
210
266
|
content: '';
|
|
211
267
|
display: inline-block;
|
|
@@ -215,16 +271,20 @@
|
|
|
215
271
|
margin-left: $v-gap * 2;
|
|
216
272
|
}
|
|
217
273
|
}
|
|
274
|
+
|
|
218
275
|
.timeline-element {
|
|
219
276
|
position: relative;
|
|
220
277
|
left: 50%;
|
|
278
|
+
|
|
221
279
|
.it-pin-wrapper {
|
|
222
280
|
left: -66px;
|
|
223
281
|
}
|
|
224
282
|
}
|
|
225
283
|
}
|
|
284
|
+
|
|
226
285
|
.it-pin-wrapper {
|
|
227
286
|
position: relative;
|
|
287
|
+
|
|
228
288
|
.pin-text {
|
|
229
289
|
font-size: 1rem;
|
|
230
290
|
}
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
outline: none !important;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
p a
|
|
27
|
+
p a,
|
|
28
|
+
p.it-card-text a {
|
|
28
29
|
&:focus:not([data-focus-mouse='true'], .btn) {
|
|
29
30
|
outline-offset: 0px !important;
|
|
30
31
|
outline: 3px $focus-outline-color-out solid !important;
|
|
@@ -34,6 +35,17 @@ p a {
|
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
.it-card h2 a,
|
|
39
|
+
.it-card h3 a,
|
|
40
|
+
.it-card h4 a,
|
|
41
|
+
.it-card h5 a,
|
|
42
|
+
.it-card a.it-card-link,
|
|
43
|
+
.it-card .list-group-item a {
|
|
44
|
+
&:focus:not([data-focus-mouse='true'], .btn) {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
37
49
|
.shadow,
|
|
38
50
|
.shadow-none,
|
|
39
51
|
.shadow-sm,
|