bootstrap-italia 2.2.0 → 2.3.1
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/README.EN.md +1 -1
- package/README.md +1 -1
- 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 +253 -189
- package/dist/js/bootstrap-italia.min.js +256 -0
- package/dist/plugins/input-label.js +4 -1
- package/dist/plugins/input-label.js.map +1 -1
- package/dist/plugins/notification.js +1 -23
- package/dist/plugins/notification.js.map +1 -1
- package/dist/plugins/progress-donut.js +2 -2
- package/dist/plugins/progress-donut.js.map +1 -1
- package/dist/plugins/tab.js +82 -1
- package/dist/plugins/tab.js.map +1 -1
- package/dist/svg/sprites.svg +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +6 -4
- package/src/js/bootstrap-italia.entry.js +14 -1
- package/src/js/icons.js +2 -0
- package/src/js/plugins/input-label.js +4 -1
- package/src/js/plugins/notification.js +1 -32
- package/src/js/plugins/progress-donut.js +2 -2
- package/src/js/plugins/tab.js +82 -1
- package/src/js/version.js +1 -1
- package/src/scss/_variables.scss +66 -57
- package/src/scss/bootstrap-italia-comuni.scss +40 -39
- package/src/scss/bootstrap-italia.scss +39 -38
- package/src/scss/custom/_accordion.scss +5 -5
- package/src/scss/custom/_alert.scss +3 -3
- package/src/scss/custom/_autocomplete.scss +2 -2
- package/src/scss/custom/_avatar.scss +5 -5
- package/src/scss/custom/_back-to-top.scss +2 -2
- package/src/scss/custom/_bottomnav.scss +2 -2
- package/src/scss/custom/_breadcrumb.scss +2 -0
- package/src/scss/custom/_buttons.scss +13 -8
- package/src/scss/custom/_calendar.scss +2 -2
- package/src/scss/custom/_callout.scss +25 -25
- package/src/scss/custom/_card.scss +1 -1
- package/src/scss/custom/_carousel.scss +3 -4
- package/src/scss/custom/_chips.scss +4 -4
- package/src/scss/custom/_cookiebar.scss +1 -1
- package/src/scss/custom/_dimmer.scss +5 -5
- package/src/scss/custom/_dropdown.scss +6 -6
- package/src/scss/custom/_footer.scss +2 -2
- package/src/scss/custom/_form-datepicker.scss +2 -6
- package/src/scss/custom/_form-input-file.scss +2 -2
- package/src/scss/custom/_form-input-number.scss +13 -13
- package/src/scss/custom/_form-password.scss +1 -1
- package/src/scss/custom/_form-select.scss +3 -3
- package/src/scss/custom/_forms.scss +19 -17
- package/src/scss/custom/_just-validate.scss +7 -0
- package/src/scss/custom/_linklist.scss +13 -13
- package/src/scss/custom/_list.scss +5 -5
- package/src/scss/custom/_masonry-loader.scss +1 -1
- package/src/scss/custom/_megamenu.scss +12 -12
- package/src/scss/custom/_modal.scss +1 -1
- package/src/scss/custom/_notifications.scss +6 -6
- package/src/scss/custom/_point-list.scss +0 -2
- package/src/scss/custom/_popover.scss +2 -2
- package/src/scss/custom/_progress-bars.scss +3 -4
- package/src/scss/custom/_progress-donuts.scss +3 -3
- package/src/scss/custom/_progress-spinners.scss +4 -4
- package/src/scss/custom/_sections.scss +3 -2
- package/src/scss/custom/_sidebar.scss +2 -2
- package/src/scss/custom/_steppers.scss +82 -57
- package/src/scss/custom/_tab.scss +23 -19
- package/src/scss/custom/_timeline.scss +9 -11
- package/src/scss/custom/_toolbar.scss +12 -12
- package/src/scss/custom/_tooltip.scss +1 -1
- package/src/scss/custom/_version.scss +1 -1
- package/src/scss/utilities/colors_vars.scss +64 -28
- package/src/svg/it-mastodon-square.svg +3 -0
- package/src/svg/it-mastodon.svg +3 -0
- package/types/index.d.ts +80 -0
- package/types/plugins/accordion.d.ts +39 -0
- package/types/plugins/alert.d.ts +20 -0
- package/types/plugins/backToTop.d.ts +77 -0
- package/types/plugins/button.d.ts +17 -0
- package/types/plugins/carousel-bi.d.ts +59 -0
- package/types/plugins/carousel.d.ts +19 -0
- package/types/plugins/collapse.d.ts +19 -0
- package/types/plugins/cookiebar.d.ts +59 -0
- package/types/plugins/dimmer.d.ts +34 -0
- package/types/plugins/dropdown.d.ts +20 -0
- package/types/plugins/form-validate.d.ts +53 -0
- package/types/plugins/form.d.ts +30 -0
- package/types/plugins/forward.d.ts +49 -0
- package/types/plugins/header-sticky.d.ts +24 -0
- package/types/plugins/history-back.d.ts +24 -0
- package/types/plugins/input-label.d.ts +25 -0
- package/types/plugins/input-number.d.ts +35 -0
- package/types/plugins/input-password.d.ts +128 -0
- package/types/plugins/input-search-autocomplete.d.ts +54 -0
- package/types/plugins/input.d.ts +26 -0
- package/types/plugins/list.d.ts +25 -0
- package/types/plugins/masonry.d.ts +59 -0
- package/types/plugins/modal.d.ts +20 -0
- package/types/plugins/navbar-collapsible.d.ts +77 -0
- package/types/plugins/navscroll.d.ts +85 -0
- package/types/plugins/notification.d.ts +92 -0
- package/types/plugins/offcanvas.d.ts +19 -0
- package/types/plugins/popover.d.ts +19 -0
- package/types/plugins/progress-donut.d.ts +89 -0
- package/types/plugins/scrollspy.d.ts +19 -0
- package/types/plugins/select-autocomplete.d.ts +57 -0
- package/types/plugins/sticky.d.ts +97 -0
- package/types/plugins/tab.d.ts +17 -0
- package/types/plugins/toast.d.ts +19 -0
- package/types/plugins/tooltip.d.ts +19 -0
- package/types/plugins/track-focus.d.ts +7 -0
- package/types/plugins/transfer.d.ts +52 -0
- package/types/plugins/upload-dragdrop.d.ts +44 -0
- package/types/decs.d.ts +0 -1
|
@@ -1,56 +1,81 @@
|
|
|
1
1
|
//mobile
|
|
2
2
|
.steppers {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
li {
|
|
11
|
-
font-size: 1.125rem;
|
|
12
|
-
color: $gray-secondary;
|
|
13
|
-
list-style-type: none;
|
|
3
|
+
// steppers
|
|
4
|
+
.steppers-index {
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
font-size: 0.875rem;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
@include media-breakpoint-up(lg) {
|
|
14
10
|
display: none;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
height: 24px;
|
|
20
|
-
}
|
|
21
|
-
// states
|
|
22
|
-
&.active,
|
|
23
|
-
&.confirmed {
|
|
11
|
+
}
|
|
12
|
+
span {
|
|
13
|
+
margin-left: 0.25rem;
|
|
14
|
+
&.active {
|
|
24
15
|
color: $primary;
|
|
25
|
-
|
|
26
|
-
.icon {
|
|
27
|
-
fill: $primary;
|
|
28
|
-
}
|
|
16
|
+
text-decoration: underline;
|
|
29
17
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.steppers-header {
|
|
21
|
+
@include media-breakpoint-down(lg) {
|
|
22
|
+
padding: 0 24px;
|
|
23
|
+
height: 64px;
|
|
24
|
+
background: $white;
|
|
25
|
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
}
|
|
30
|
+
margin-bottom: 1rem;
|
|
31
|
+
ul {
|
|
32
|
+
display: flex;
|
|
33
|
+
width: 100%;
|
|
34
|
+
padding: 0;
|
|
35
|
+
@include media-breakpoint-down(lg) {
|
|
36
|
+
margin: 0;
|
|
37
|
+
padding: 0;
|
|
33
38
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
font-size: 0.875rem;
|
|
39
|
+
li {
|
|
40
|
+
display: flex;
|
|
41
|
+
font-size: 1.125rem;
|
|
38
42
|
font-weight: 600;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
color: $gray-secondary;
|
|
44
|
+
list-style-type: none;
|
|
45
|
+
.icon {
|
|
46
|
+
fill: $gray-secondary;
|
|
47
|
+
margin-right: 0.667rem;
|
|
48
|
+
width: 24px;
|
|
49
|
+
height: 24px;
|
|
50
|
+
}
|
|
51
|
+
// states
|
|
52
|
+
&:not(.active) {
|
|
53
|
+
@include media-breakpoint-down(lg) {
|
|
54
|
+
clip: rect(1px, 1px, 1px, 1px);
|
|
55
|
+
height: 0;
|
|
56
|
+
position: absolute;
|
|
57
|
+
display: block;
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
60
|
+
&.active,
|
|
61
|
+
&.confirmed {
|
|
62
|
+
color: $primary;
|
|
63
|
+
.icon {
|
|
64
|
+
fill: $primary;
|
|
65
|
+
}
|
|
51
66
|
}
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
&.active,
|
|
68
|
+
&.steppers-index {
|
|
69
|
+
display: block;
|
|
70
|
+
}
|
|
71
|
+
// numbers
|
|
72
|
+
.steppers-number {
|
|
73
|
+
.icon {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
&:after {
|
|
77
|
+
content: '. ';
|
|
78
|
+
}
|
|
54
79
|
}
|
|
55
80
|
}
|
|
56
81
|
}
|
|
@@ -60,6 +85,15 @@
|
|
|
60
85
|
&.bg-dark {
|
|
61
86
|
.steppers-header {
|
|
62
87
|
background: none;
|
|
88
|
+
// steppers
|
|
89
|
+
.steppers-index {
|
|
90
|
+
color: $neutral-1-a2;
|
|
91
|
+
span {
|
|
92
|
+
&.active {
|
|
93
|
+
color: $analogue-2-a6;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
63
97
|
// steps
|
|
64
98
|
li {
|
|
65
99
|
color: $neutral-1-a2;
|
|
@@ -80,14 +114,6 @@
|
|
|
80
114
|
fill: $white;
|
|
81
115
|
}
|
|
82
116
|
}
|
|
83
|
-
// steppers
|
|
84
|
-
&.steppers-index {
|
|
85
|
-
span {
|
|
86
|
-
&.active {
|
|
87
|
-
color: $analogue-2-a6;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
117
|
}
|
|
92
118
|
}
|
|
93
119
|
.steppers-nav {
|
|
@@ -107,7 +133,7 @@
|
|
|
107
133
|
.steppers-nav {
|
|
108
134
|
display: flex;
|
|
109
135
|
height: 64px;
|
|
110
|
-
padding: 0
|
|
136
|
+
padding: 0 $stepper-spacing-h;
|
|
111
137
|
box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.1); // TEMP - substitute with generic ellipsical shadow
|
|
112
138
|
background: $white;
|
|
113
139
|
align-items: center;
|
|
@@ -174,15 +200,14 @@
|
|
|
174
200
|
}
|
|
175
201
|
// steps
|
|
176
202
|
li {
|
|
177
|
-
|
|
178
|
-
padding: 1.778rem 1.111rem;
|
|
203
|
+
padding: $stepper-spacing-v $stepper-spacing-h;
|
|
179
204
|
flex-grow: 1;
|
|
180
|
-
border-left: 1px solid $gray-border
|
|
205
|
+
border-left: 1px solid $gray-border;
|
|
181
206
|
position: relative;
|
|
182
207
|
display: flex;
|
|
183
208
|
align-items: center;
|
|
184
209
|
&:nth-last-child(2) {
|
|
185
|
-
border-right: 1px solid $gray-border
|
|
210
|
+
border-right: 1px solid $gray-border;
|
|
186
211
|
}
|
|
187
212
|
// index
|
|
188
213
|
&.steppers-index {
|
|
@@ -221,7 +246,7 @@
|
|
|
221
246
|
display: inline-block;
|
|
222
247
|
width: 1.778rem;
|
|
223
248
|
height: 1.778rem;
|
|
224
|
-
border: 1px solid $gray-border
|
|
249
|
+
border: 1px solid $gray-border;
|
|
225
250
|
border-radius: 50%;
|
|
226
251
|
text-align: center;
|
|
227
252
|
margin-right: 0.667rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.nav-tabs {
|
|
2
2
|
position: relative;
|
|
3
3
|
background-color: $white;
|
|
4
|
-
border-bottom-color: $
|
|
4
|
+
border-bottom-color: $color-border-subtle;
|
|
5
5
|
display: flex;
|
|
6
6
|
overflow-x: scroll;
|
|
7
7
|
overflow-y: hidden;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
&.nav-tabs-vertical {
|
|
63
63
|
flex-direction: column;
|
|
64
64
|
border-bottom: none;
|
|
65
|
-
border-right: 1px solid $
|
|
65
|
+
border-right: 1px solid $color-border-subtle;
|
|
66
66
|
.nav-link {
|
|
67
67
|
justify-content: space-between;
|
|
68
68
|
border-bottom: none;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
&.nav-tabs-vertical-background {
|
|
89
89
|
.nav-link.active,
|
|
90
90
|
.nav-item.show .nav-link {
|
|
91
|
-
background-color: $
|
|
91
|
+
background-color: $color-background-primary-lighter;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
.nav-link {
|
|
98
98
|
border-radius: 0;
|
|
99
99
|
font-weight: 600;
|
|
100
|
-
color: $
|
|
100
|
+
color: $color-text-secondary;
|
|
101
101
|
border: none;
|
|
102
102
|
border-bottom: 3px solid transparent;
|
|
103
103
|
padding: 0.778rem 1.333em;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
justify-content: center;
|
|
112
112
|
|
|
113
113
|
&:hover {
|
|
114
|
-
color: $primary;
|
|
114
|
+
color: $color-text-primary-hover;
|
|
115
115
|
border-bottom-color: transparent;
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -120,10 +120,10 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
&.disabled {
|
|
123
|
-
color: $gray-
|
|
123
|
+
color: $gray-disabled;
|
|
124
124
|
cursor: default;
|
|
125
125
|
.icon {
|
|
126
|
-
fill: $gray-
|
|
126
|
+
fill: $gray-disabled;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
}
|
|
141
141
|
.icon {
|
|
142
142
|
fill: $gray-secondary;
|
|
143
|
+
&:hover {
|
|
144
|
+
fill: $color-text-primary-hover;
|
|
145
|
+
}
|
|
143
146
|
}
|
|
144
147
|
&.active {
|
|
145
148
|
.icon {
|
|
@@ -158,7 +161,8 @@
|
|
|
158
161
|
display: flex;
|
|
159
162
|
}
|
|
160
163
|
|
|
161
|
-
//
|
|
164
|
+
// Dark version
|
|
165
|
+
// Missing in the UI kit v3.x.x
|
|
162
166
|
&.nav-dark {
|
|
163
167
|
background-color: $gray-primary;
|
|
164
168
|
border-bottom: none;
|
|
@@ -206,16 +210,16 @@
|
|
|
206
210
|
//grey fullwidth bottom border for ul
|
|
207
211
|
.nav-item-filler {
|
|
208
212
|
flex-grow: 1;
|
|
209
|
-
border-bottom: 1px solid $
|
|
213
|
+
border-bottom: 1px solid $color-border-subtle;
|
|
210
214
|
}
|
|
211
215
|
.nav-link {
|
|
212
216
|
border-bottom-width: 2px;
|
|
213
217
|
border-color: transparent;
|
|
214
218
|
position: relative;
|
|
215
|
-
border-bottom-color: $
|
|
219
|
+
border-bottom-color: $color-border-subtle;
|
|
216
220
|
border-radius: $border-radius $border-radius 0 0;
|
|
217
221
|
&.active {
|
|
218
|
-
border: 1px solid $
|
|
222
|
+
border: 1px solid $color-border-subtle;
|
|
219
223
|
border-bottom-color: transparent;
|
|
220
224
|
border-bottom-width: 1px;
|
|
221
225
|
}
|
|
@@ -227,7 +231,7 @@
|
|
|
227
231
|
.nav-item {
|
|
228
232
|
position: relative;
|
|
229
233
|
&:last-of-type {
|
|
230
|
-
border-bottom: 1px solid $
|
|
234
|
+
border-bottom: 1px solid $color-border-subtle;
|
|
231
235
|
}
|
|
232
236
|
}
|
|
233
237
|
|
|
@@ -243,7 +247,7 @@
|
|
|
243
247
|
width: 1.444rem;
|
|
244
248
|
height: 1.444rem;
|
|
245
249
|
top: 0.8rem;
|
|
246
|
-
border: 1px solid $
|
|
250
|
+
border: 1px solid $color-border-subtle;
|
|
247
251
|
border-radius: 50%;
|
|
248
252
|
right: 0;
|
|
249
253
|
//plus sign
|
|
@@ -277,16 +281,16 @@
|
|
|
277
281
|
position: absolute;
|
|
278
282
|
top: calc(50% - 0.9rem);
|
|
279
283
|
right: 0.889rem;
|
|
280
|
-
color: $
|
|
284
|
+
color: $color-text-secondary;
|
|
281
285
|
transition: color 0.2s;
|
|
282
286
|
.icon {
|
|
283
|
-
fill: $
|
|
287
|
+
fill: $color-text-secondary;
|
|
284
288
|
}
|
|
285
289
|
&.disabled {
|
|
286
|
-
color: $gray-
|
|
290
|
+
color: $gray-disabled;
|
|
287
291
|
cursor: pointer;
|
|
288
292
|
.icon {
|
|
289
|
-
fill: $gray-
|
|
293
|
+
fill: $gray-disabled;
|
|
290
294
|
}
|
|
291
295
|
}
|
|
292
296
|
&:hover {
|
|
@@ -320,7 +324,7 @@
|
|
|
320
324
|
.flex-column-reverse {
|
|
321
325
|
.nav-tabs {
|
|
322
326
|
border-bottom: none;
|
|
323
|
-
border-top: 1px solid $
|
|
327
|
+
border-top: 1px solid $color-border-subtle;
|
|
324
328
|
.nav-link {
|
|
325
329
|
border-bottom: none;
|
|
326
330
|
border-top: 2px solid transparent;
|
|
@@ -345,7 +349,7 @@
|
|
|
345
349
|
}
|
|
346
350
|
&.nav-tabs-vertical {
|
|
347
351
|
border-right: none;
|
|
348
|
-
border-left: 1px solid $
|
|
352
|
+
border-left: 1px solid $color-border-subtle;
|
|
349
353
|
.nav-link {
|
|
350
354
|
justify-content: flex-start;
|
|
351
355
|
border-bottom: none;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
box-shadow: $card-shadow;
|
|
46
46
|
border: $timeline-pin-circle-border;
|
|
47
47
|
margin-right: $v-gap * 2;
|
|
48
|
-
background:
|
|
48
|
+
background: $white;
|
|
49
49
|
}
|
|
50
50
|
svg {
|
|
51
51
|
width: $timeline-pin-size;
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
fill: $primary;
|
|
54
54
|
}
|
|
55
55
|
.pin-text {
|
|
56
|
-
color: $
|
|
56
|
+
color: $white;
|
|
57
57
|
font-weight: 600;
|
|
58
58
|
text-transform: uppercase;
|
|
59
|
-
background: $
|
|
59
|
+
background: $timeline-pin-background;
|
|
60
60
|
border-radius: $border-radius;
|
|
61
61
|
font-family: $font-family-monospace;
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
content: '';
|
|
69
69
|
width: 10px;
|
|
70
70
|
height: 10px;
|
|
71
|
-
background: $
|
|
71
|
+
background: $timeline-pin-background;
|
|
72
72
|
border-radius: 3px;
|
|
73
73
|
position: absolute;
|
|
74
74
|
left: -4px;
|
|
@@ -82,10 +82,9 @@
|
|
|
82
82
|
background: $primary;
|
|
83
83
|
}
|
|
84
84
|
svg {
|
|
85
|
-
fill:
|
|
85
|
+
fill: $white;
|
|
86
86
|
}
|
|
87
87
|
.pin-text {
|
|
88
|
-
color: #fff;
|
|
89
88
|
background: $primary;
|
|
90
89
|
span {
|
|
91
90
|
&:after {
|
|
@@ -96,17 +95,16 @@
|
|
|
96
95
|
}
|
|
97
96
|
&.it-evidence {
|
|
98
97
|
.pin-icon {
|
|
99
|
-
background: $
|
|
98
|
+
background: $timeline-pin-background;
|
|
100
99
|
}
|
|
101
100
|
svg {
|
|
102
|
-
fill:
|
|
101
|
+
fill: $white;
|
|
103
102
|
}
|
|
104
103
|
.pin-text {
|
|
105
|
-
|
|
106
|
-
background: $primary-a10;
|
|
104
|
+
background: $timeline-pin-background;
|
|
107
105
|
span {
|
|
108
106
|
&:after {
|
|
109
|
-
background: $
|
|
107
|
+
background: $timeline-pin-background;
|
|
110
108
|
}
|
|
111
109
|
}
|
|
112
110
|
}
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
min-width: 1px; // fix for IE11
|
|
247
247
|
max-width: 1px;
|
|
248
248
|
height: calc(100% - 16px);
|
|
249
|
-
background: $gray-border
|
|
249
|
+
background: $gray-border;
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -254,9 +254,9 @@
|
|
|
254
254
|
a,
|
|
255
255
|
.btn-dropdown {
|
|
256
256
|
display: block;
|
|
257
|
-
color: $
|
|
257
|
+
color: $color-text-secondary;
|
|
258
258
|
.icon {
|
|
259
|
-
fill: $
|
|
259
|
+
fill: $secondary;
|
|
260
260
|
}
|
|
261
261
|
// active
|
|
262
262
|
&.active {
|
|
@@ -268,30 +268,30 @@
|
|
|
268
268
|
// disabled
|
|
269
269
|
&.disabled {
|
|
270
270
|
cursor: not-allowed;
|
|
271
|
-
color: $
|
|
271
|
+
color: $gray-disabled;
|
|
272
272
|
.icon {
|
|
273
|
-
fill: $
|
|
273
|
+
fill: $gray-disabled;
|
|
274
274
|
}
|
|
275
275
|
&:hover {
|
|
276
276
|
text-decoration: none;
|
|
277
|
-
color: $
|
|
277
|
+
color: $gray-disabled;
|
|
278
278
|
.icon {
|
|
279
|
-
fill: $
|
|
279
|
+
fill: $gray-disabled;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
&:after {
|
|
283
|
-
color: $
|
|
283
|
+
color: $gray-disabled;
|
|
284
284
|
.icon {
|
|
285
|
-
fill: $
|
|
285
|
+
fill: $gray-disabled;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
// hover
|
|
290
290
|
&:not(.disabled):hover {
|
|
291
291
|
text-decoration: underline;
|
|
292
|
-
color: $primary;
|
|
292
|
+
color: $color-text-primary-hover;
|
|
293
293
|
.icon {
|
|
294
|
-
fill: $primary;
|
|
294
|
+
fill: $color-text-primary-hover;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
// hover fix for ie11
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
height: 0;
|
|
334
334
|
border-style: solid;
|
|
335
335
|
border-width: 4px 3px 0 3px;
|
|
336
|
-
border-color: $
|
|
336
|
+
border-color: $secondary transparent transparent transparent;
|
|
337
337
|
position: absolute;
|
|
338
338
|
top: 16px;
|
|
339
339
|
right: 2px;
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
$black: hsl(0, 0%, 0%) !default;
|
|
6
6
|
$white: hsl(0, 0%, 100%) !default;
|
|
7
7
|
|
|
8
|
-
$gray-100:
|
|
9
|
-
$gray-200:
|
|
10
|
-
$gray-300:
|
|
11
|
-
$gray-400:
|
|
12
|
-
$gray-500:
|
|
13
|
-
$gray-600:
|
|
14
|
-
$gray-700:
|
|
15
|
-
$gray-800:
|
|
16
|
-
$gray-900:
|
|
8
|
+
$gray-100: hsl(0, 0%, 96%) !default; // color-gray-96
|
|
9
|
+
$gray-200: hsl(0, 0%, 90%) !default; // color-gray-90
|
|
10
|
+
$gray-300: hsl(0, 0%, 83%) !default; // color-gray-83
|
|
11
|
+
$gray-400: hsl(0, 0%, 64%) !default; // color-gray-64
|
|
12
|
+
$gray-500: hsl(0, 0%, 45%) !default; // color-gray-45
|
|
13
|
+
$gray-600: hsl(0, 0%, 32%) !default; // color-gray-32
|
|
14
|
+
$gray-700: hsl(0, 0%, 25%) !default; // color-gray-25
|
|
15
|
+
$gray-800: hsl(0, 0%, 15%) !default; // color-gray-15
|
|
16
|
+
$gray-900: hsl(0, 0%, 10%) !default; // color-gray-10
|
|
17
17
|
|
|
18
18
|
$grays: () !default;
|
|
19
19
|
$grays: map-merge(
|
|
@@ -39,38 +39,39 @@ $grays: map-merge(
|
|
|
39
39
|
$primary-h: 210 !default;
|
|
40
40
|
$primary-s: 100 !default;
|
|
41
41
|
$primary-b: 80 !default;
|
|
42
|
+
$primary-l: 40 !default; // Kit UI
|
|
42
43
|
|
|
43
|
-
$primary:
|
|
44
|
+
$primary: hsl(210, 100%, 40%) !default; // color-blue-40
|
|
44
45
|
|
|
45
46
|
$indigo: hsb(243, 70, 100) !default;
|
|
46
47
|
$purple: hsb(243, 40, 100) !default;
|
|
47
48
|
$pink: hsb(350, 30, 100) !default;
|
|
48
|
-
$red:
|
|
49
|
-
$orange:
|
|
49
|
+
$red: hsl(350, 60%, 50%) !default; // color-red-50
|
|
50
|
+
$orange: hsl(36, 100%, 30%) !default; // color-orange-30
|
|
50
51
|
$yellow: hsb(44, 55, 100) !default;
|
|
51
|
-
$green:
|
|
52
|
-
$teal:
|
|
52
|
+
$green: hsl(160, 100%, 25%) !default; // color-emerald-25
|
|
53
|
+
$teal: hsl(178, 90%, 32%) !default;
|
|
53
54
|
$cyan: hsb(178, 100, 100) !default;
|
|
54
55
|
$blue: hsb(210, 100, 90) !default;
|
|
55
56
|
$light: hsb(255, 5, 95) !default;
|
|
56
|
-
$dark:
|
|
57
|
+
$dark: hsl(210, 54%, 20%) !default; // color-slate-20
|
|
57
58
|
|
|
58
59
|
$yiq-text-light: $white !default;
|
|
59
60
|
$yiq-text-dark: $black !default;
|
|
60
61
|
|
|
61
|
-
$red-accessible:
|
|
62
|
-
$orange-accessible:
|
|
62
|
+
$red-accessible: $red !default;
|
|
63
|
+
$orange-accessible: $orange !default;
|
|
63
64
|
$yellow-accessible: hsb(44, 100, 59) !default;
|
|
64
|
-
$green-accessible:
|
|
65
|
+
$green-accessible: $green !default;
|
|
65
66
|
|
|
66
67
|
$gray-primary: hsb(210, 38.9, 44.3) !default;
|
|
67
|
-
$gray-secondary:
|
|
68
|
+
$gray-secondary: hsl(210, 17%, 44%) !default; // color-slate-44
|
|
68
69
|
$gray-tertiary: hsb(205, 35, 54) !default;
|
|
69
70
|
$gray-quaternary: hsb(238, 1, 100) !default;
|
|
70
|
-
$gray-border:
|
|
71
|
-
$gray-disabled:
|
|
72
|
-
$gray-label-disabled:
|
|
73
|
-
$gray-border-disabled:
|
|
71
|
+
$gray-border: hsl(210, 4%, 78%) !default; // color-border-subtle
|
|
72
|
+
$gray-disabled: hsl(210, 3%, 85%) !default; // color-background-disabled
|
|
73
|
+
$gray-label-disabled: hsl(210, 12%, 44%) !default; // color-text-disabled
|
|
74
|
+
$gray-border-disabled: $gray-disabled !default; // color-border-disabled
|
|
74
75
|
|
|
75
76
|
$secondary: $gray-secondary !default;
|
|
76
77
|
|
|
@@ -102,7 +103,7 @@ $border-color: $gray-border !default;
|
|
|
102
103
|
|
|
103
104
|
// Info Colors
|
|
104
105
|
$success: $green-accessible !default;
|
|
105
|
-
$info: $
|
|
106
|
+
$info: $secondary !default;
|
|
106
107
|
$warning: $orange-accessible !default;
|
|
107
108
|
$danger: $red-accessible !default;
|
|
108
109
|
|
|
@@ -167,20 +168,20 @@ $neutral-2-b: 95;
|
|
|
167
168
|
$neutral-2: hsb($neutral-2-h, $neutral-2-s, $neutral-2-b) !default;
|
|
168
169
|
|
|
169
170
|
// Light Greys A
|
|
170
|
-
$lightgrey-a1:
|
|
171
|
+
$lightgrey-a1: hsl(210, 3%, 85%); // progress-background-default
|
|
171
172
|
$lightgrey-a2: #edf5fc;
|
|
172
|
-
$lightgrey-a3:
|
|
173
|
+
$lightgrey-a3: hsl(210, 62%, 97%); // color-background-primary-lighter
|
|
173
174
|
$lightgrey-a4: #f5f9fc;
|
|
174
175
|
|
|
175
176
|
// Light Greys B
|
|
176
|
-
$lightgrey-b1:
|
|
177
|
+
$lightgrey-b1: hsl(210, 62%, 97%); // color-background-primary-lighter
|
|
177
178
|
$lightgrey-b2: #ebf2fa;
|
|
178
179
|
$lightgrey-b3: #edf4fa;
|
|
179
180
|
$lightgrey-b4: #f2f6fa;
|
|
180
181
|
|
|
181
182
|
// Light Greys C
|
|
182
183
|
$lightgrey-c1: #f7f9fa;
|
|
183
|
-
$lightgrey-c2:
|
|
184
|
+
$lightgrey-c2: hsl(210, 62%, 97%); // color-background-primary-lighter;
|
|
184
185
|
|
|
185
186
|
//***********************************************************************
|
|
186
187
|
//********************Primary color variations***************************
|
|
@@ -387,3 +388,38 @@ $neutral-2-a4: hsb($neutral-2-h, $neutral-2-s + 2, $neutral-2-b - 45) !default;
|
|
|
387
388
|
$neutral-2-a5: hsb($neutral-2-h, $neutral-2-s + 2, $neutral-2-b - 60) !default;
|
|
388
389
|
$neutral-2-a6: hsb($neutral-2-h, $neutral-2-s + 2, $neutral-2-b - 75) !default;
|
|
389
390
|
$neutral-2-a7: hsb($neutral-2-h, $neutral-2-s + 4, $neutral-2-b - 85) !default;
|
|
391
|
+
|
|
392
|
+
//==================== DESIGN TOKENS VARIABLES ============================//
|
|
393
|
+
|
|
394
|
+
// SEMANTIC TOKENS =========================================================
|
|
395
|
+
|
|
396
|
+
// Backgrounds
|
|
397
|
+
$color-background-emphasis: hsl(210, 54%, 20%); // color-slate-20
|
|
398
|
+
$color-background-primary-lighter: hsl(210, 62%, 97%); // color-blue-97
|
|
399
|
+
$color-background-secondary-hover: hsl(210, 33%, 28%); // color-slate-28
|
|
400
|
+
$color-background-secondary-lighter: hsl(210, 3%, 85%); // color-slate-85
|
|
401
|
+
$color-background-muted: $gray-100; // color-gray-96
|
|
402
|
+
|
|
403
|
+
// Borders
|
|
404
|
+
$color-border-secondary: hsl(210, 17%, 44%); // color-slate-44
|
|
405
|
+
$color-border-subtle: hsl(210, 4%, 78%); // color-slate-78
|
|
406
|
+
$color-border-warning: hsl(36, 100%, 30%); // color-orange-30
|
|
407
|
+
|
|
408
|
+
// Text
|
|
409
|
+
$color-text-primary-active: hsl(210, 100%, 15%); // color-blue-15
|
|
410
|
+
$color-text-primary-hover: hsl(210, 100%, 30%); // color-blue-30
|
|
411
|
+
$color-text-muted: hsl(210, 17%, 44%); // color-slate-44
|
|
412
|
+
$color-text-base: $gray-900; // color-gray-10
|
|
413
|
+
$color-text-secondary: hsl(210, 33%, 28%); // color-slate-28
|
|
414
|
+
$color-text-warning: hsl(36, 100%, 30%); // color-orange-30
|
|
415
|
+
|
|
416
|
+
// SPECIFIC TOKENS =========================================================
|
|
417
|
+
//
|
|
418
|
+
// Footer
|
|
419
|
+
$footer-top-background: hsl(210, 100%, 30%); // color-blue-30
|
|
420
|
+
$footer-bottom-background: hsl(210, 100%, 20%); // color-blue-20
|
|
421
|
+
|
|
422
|
+
// Icons
|
|
423
|
+
$icon-primary: $primary;
|
|
424
|
+
$icon-secondary: $secondary;
|
|
425
|
+
$icon-base: $color-text-base;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.56696 1.33333H20.3289C20.9351 1.33333 21.5165 1.57414 21.9451 2.0028C22.3738 2.43145 22.6146 3.01283 22.6146 3.61904V20.3809C22.6146 20.9872 22.3738 21.5685 21.9451 21.9972C21.5165 22.4258 20.9351 22.6667 20.3289 22.6667H3.56696C2.96076 22.6667 2.37937 22.4258 1.95072 21.9972C1.52207 21.5685 1.28125 20.9872 1.28125 20.3809V3.61904C1.28125 3.01283 1.52207 2.43145 1.95072 2.0028C2.37937 1.57414 2.96076 1.33333 3.56696 1.33333ZM19.1807 13.5918C18.9602 14.7205 17.2058 15.9557 15.1909 16.1951C14.1403 16.3198 13.1058 16.4345 12.0027 16.3841C10.1987 16.3019 8.77521 15.9557 8.77521 15.9557C8.77521 16.1304 8.78604 16.2968 8.8077 16.4524C9.04223 18.2238 10.5731 18.3299 12.0231 18.3794C13.4867 18.4292 14.79 18.0204 14.79 18.0204L14.8501 19.3369C14.8501 19.3369 13.8264 19.8838 12.0027 19.9844C10.9971 20.0394 9.74843 19.9592 8.2941 19.5762C5.13991 18.7456 4.59746 15.4003 4.51446 12.006C4.49586 11.265 4.49936 10.5551 4.50252 9.91519C4.50366 9.68479 4.50475 9.46347 4.50475 9.25305C4.50475 5.78217 6.79039 4.7648 6.79039 4.7648C7.94286 4.23818 9.92041 4.01672 11.9763 4H12.0268C14.0826 4.01672 16.0615 4.23818 17.2139 4.7648C17.2139 4.7648 19.4994 5.78217 19.4994 9.25305C19.4994 9.25305 19.5281 11.8139 19.1807 13.5918ZM15.13 13.725H16.8034V9.52235C16.8034 8.66342 16.5836 7.98086 16.1422 7.47588C15.6868 6.9709 15.0906 6.71204 14.3505 6.71204C13.4941 6.71204 12.8456 7.03952 12.4169 7.69458L12 8.38981L11.5832 7.69458C11.1544 7.03952 10.5059 6.71204 9.64955 6.71204C8.90939 6.71204 8.31314 6.9709 7.85785 7.47588C7.41634 7.98086 7.19653 8.66342 7.19653 9.52235V13.725H8.86997V9.64588C8.86997 8.786 9.2336 8.34955 9.96093 8.34955C10.7651 8.34955 11.1683 8.86729 11.1683 9.89104V12.1238H12.8318V9.89104C12.8318 8.86729 13.2349 8.34955 14.039 8.34955C14.7664 8.34955 15.13 8.786 15.13 9.64588V13.725Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M15.5273 16.7195C17.794 16.4502 19.7677 15.0606 20.0158 13.7908C20.4066 11.7906 20.3744 8.90969 20.3744 8.90969C20.3744 5.00494 17.8031 3.86039 17.8031 3.86039C16.5067 3.26795 14.2805 3.01881 11.9676 3H11.9108C9.59796 3.01881 7.37322 3.26795 6.07669 3.86039C6.07669 3.86039 3.50535 5.00494 3.50535 8.90969C3.50535 9.14641 3.50412 9.39539 3.50284 9.65459C3.49928 10.3744 3.49534 11.1731 3.51627 12.0067C3.60964 15.8253 4.2199 19.5888 7.76836 20.5233C9.40448 20.9541 10.8092 21.0443 11.9405 20.9825C13.9922 20.8693 15.1439 20.254 15.1439 20.254L15.0762 18.7729C15.0762 18.7729 13.6101 19.2329 11.9635 19.1768C10.3322 19.1212 8.61001 19.0018 8.34616 17.009C8.32179 16.8339 8.30961 16.6467 8.30961 16.4502C8.30961 16.4502 9.91103 16.8396 11.9405 16.9322C13.1815 16.9888 14.3453 16.8598 15.5273 16.7195ZM17.3414 13.9406H15.4588V9.35161C15.4588 8.38425 15.0497 7.89325 14.2314 7.89325C13.3267 7.89325 12.8733 8.4757 12.8733 9.62742V12.1393H11.0018V9.62742C11.0018 8.4757 10.5483 7.89325 9.64355 7.89325C8.8253 7.89325 8.41622 8.38425 8.41622 9.35161V13.9406H6.5336V9.21264C6.5336 8.24635 6.78088 7.47847 7.27758 6.91037C7.78978 6.34227 8.46057 6.05104 9.29325 6.05104C10.2566 6.05104 10.9862 6.41946 11.4686 7.1564L11.9375 7.93854L12.4065 7.1564C12.8888 6.41946 13.6183 6.05104 14.5818 6.05104C15.4144 6.05104 16.0852 6.34227 16.5975 6.91037C17.0941 7.47847 17.3414 8.24635 17.3414 9.21264V13.9406Z" fill="black"/>
|
|
3
|
+
</svg>
|