@swisspost/design-system-styles 5.4.1 → 6.1.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/basics.css +1 -1
- package/components/accordion.scss +1 -1
- package/components/alert.scss +2 -7
- package/components/badge.scss +1 -1
- package/components/breadcrumb.scss +1 -1
- package/components/button-group.scss +27 -51
- package/components/button.scss +1 -2
- package/components/card.scss +5 -5
- package/components/carousel.scss +1 -1
- package/components/close.scss +1 -1
- package/components/datepicker.scss +2 -1
- package/components/floating-label.scss +1 -5
- package/components/form-check.scss +1 -1
- package/components/form-range.scss +1 -1
- package/components/form-select.scss +1 -1
- package/components/grid.scss +1 -1
- package/components/intranet-header/_logo.scss +1 -1
- package/components/intranet-header/_nav-overflow.scss +1 -1
- package/components/intranet-header/_scaffolding.scss +1 -2
- package/components/intranet-header/_searchbox.scss +1 -1
- package/components/intranet-header/_sidebar.scss +1 -1
- package/components/intranet-header/_top-navigation.scss +3 -2
- package/components/list-group.scss +1 -1
- package/components/modal.scss +1 -1
- package/components/offcanvas.scss +1 -1
- package/components/popover.scss +1 -1
- package/components/product-card.scss +0 -1
- package/components/progress.scss +1 -2
- package/components/sizing.scss +2 -2
- package/components/spinner.scss +1 -1
- package/components/stepper.scss +12 -6
- package/components/subnavigation.scss +1 -1
- package/components/tabs.scss +1 -1
- package/components/toast.scss +1 -1
- package/components/topic-teaser.scss +1 -1
- package/components/type.scss +21 -49
- package/components/utilities.scss +5 -5
- package/core.scss +1 -1
- package/functions/_sizing.scss +1 -0
- package/index.css +8 -34
- package/intranet.css +8 -34
- package/layouts/portal/_grid.scss +1 -1
- package/layouts/portal/_type.scss +1 -1
- package/mixins/_animation.scss +1 -1
- package/mixins/_button.scss +0 -1
- package/mixins/_forms.scss +2 -1
- package/mixins/_size.scss +1 -1
- package/mixins/_type.scss +4 -15
- package/package.json +19 -20
- package/placeholders/_notifications.scss +1 -1
- package/placeholders/_text.scss +1 -1
- package/placeholders/badge.scss +1 -3
- package/schematics/migrations/_example-dom-migration/index.js +11 -7
- package/schematics/migrations/_example-dom-migration/index.js.map +1 -1
- package/schematics/migrations/bootstrap/badge/index.js +2 -2
- package/schematics/migrations/bootstrap/badge/index.js.map +1 -1
- package/schematics/migrations/bootstrap/blockquote/index.js +2 -2
- package/schematics/migrations/bootstrap/blockquote/index.js.map +1 -1
- package/schematics/migrations/bootstrap/button/index.js +2 -2
- package/schematics/migrations/bootstrap/button/index.js.map +1 -1
- package/schematics/migrations/bootstrap/button-close/index.js +2 -2
- package/schematics/migrations/bootstrap/button-close/index.js.map +1 -1
- package/schematics/migrations/bootstrap/form-checkbox/index.js +2 -2
- package/schematics/migrations/bootstrap/form-checkbox/index.js.map +1 -1
- package/schematics/migrations/bootstrap/form-control/index.js +2 -2
- package/schematics/migrations/bootstrap/form-control/index.js.map +1 -1
- package/schematics/migrations/bootstrap/form-radio/index.js +2 -2
- package/schematics/migrations/bootstrap/form-radio/index.js.map +1 -1
- package/schematics/migrations/bootstrap/form-select/index.js +2 -2
- package/schematics/migrations/bootstrap/form-select/index.js.map +1 -1
- package/schematics/migrations/bootstrap/form-switch/index.js +2 -2
- package/schematics/migrations/bootstrap/form-switch/index.js.map +1 -1
- package/schematics/migrations/bootstrap/forms/index.js +2 -2
- package/schematics/migrations/bootstrap/forms/index.js.map +1 -1
- package/schematics/migrations/bootstrap/textarea/index.js +2 -2
- package/schematics/migrations/bootstrap/textarea/index.js.map +1 -1
- package/schematics/migrations/general/classes/bg-opacity.js +2 -2
- package/schematics/migrations/general/classes/bg-opacity.js.map +1 -1
- package/schematics/migrations/general/classes/rtl.js +5 -3
- package/schematics/migrations/general/classes/rtl.js.map +1 -1
- package/schematics/migrations/general/classes/secondary.js +2 -2
- package/schematics/migrations/general/classes/secondary.js.map +1 -1
- package/schematics/migrations/general/classes/sr-only.js +2 -2
- package/schematics/migrations/general/classes/sr-only.js.map +1 -1
- package/schematics/migrations/general/classes/text-auto.js +2 -2
- package/schematics/migrations/general/classes/text-auto.js.map +1 -1
- package/schematics/migrations/ngbootstrap/buttons/index.js +67 -29
- package/schematics/migrations/ngbootstrap/buttons/index.js.map +1 -1
- package/schematics/migrations/post/custom-select/index.js +2 -2
- package/schematics/migrations/post/custom-select/index.js.map +1 -1
- package/schematics/migrations/post/stepper/index.d.ts +2 -0
- package/schematics/migrations/post/stepper/index.js +61 -0
- package/schematics/migrations/post/stepper/index.js.map +1 -0
- package/schematics/migrations/post/subnavigation/index.js +2 -2
- package/schematics/migrations/post/subnavigation/index.js.map +1 -1
- package/schematics/migrations/post/topic-teaser/index.js +2 -2
- package/schematics/migrations/post/topic-teaser/index.js.map +1 -1
- package/schematics/migrations.json +6 -2
- package/schematics/utils/constants.d.ts +2 -0
- package/schematics/utils/constants.js +67 -3
- package/schematics/utils/constants.js.map +1 -1
- package/schematics/utils/{dom/update.d.ts → dom-migration/dom-update.d.ts} +1 -1
- package/schematics/utils/{dom/update.js → dom-migration/dom-update.js} +1 -1
- package/schematics/utils/dom-migration/dom-update.js.map +1 -0
- package/schematics/utils/dom-migration/get-dom-migration-rule.d.ts +3 -0
- package/schematics/utils/{dom/migration-rule.js → dom-migration/get-dom-migration-rule.js} +27 -18
- package/schematics/utils/dom-migration/get-dom-migration-rule.js.map +1 -0
- package/schematics/utils/dom-migration/index.d.ts +2 -0
- package/schematics/utils/dom-migration/index.js +22 -0
- package/schematics/utils/dom-migration/index.js.map +1 -0
- package/themes/bootstrap/_accordion.scss +1 -1
- package/themes/bootstrap/_alert.scss +1 -1
- package/themes/bootstrap/_badge.scss +1 -1
- package/themes/bootstrap/_breadcrumbs.scss +1 -1
- package/themes/bootstrap/_button-group.scss +1 -1
- package/themes/bootstrap/_buttons.scss +1 -1
- package/themes/bootstrap/_card.scss +1 -1
- package/themes/bootstrap/_carousel.scss +1 -1
- package/themes/bootstrap/_close.scss +1 -1
- package/themes/bootstrap/_containers.scss +1 -1
- package/themes/bootstrap/{_overrides.scss → _core.scss} +7 -1
- package/themes/bootstrap/_dropdown.scss +1 -1
- package/themes/bootstrap/_grid.scss +1 -1
- package/themes/bootstrap/_images.scss +1 -1
- package/themes/bootstrap/_list-group.scss +1 -1
- package/themes/bootstrap/_modal.scss +1 -1
- package/themes/bootstrap/_nav.scss +1 -1
- package/themes/bootstrap/_navbar.scss +1 -1
- package/themes/bootstrap/_offcanvas.scss +1 -1
- package/themes/bootstrap/_overrides-color.scss +1 -1
- package/themes/bootstrap/_pagination.scss +1 -1
- package/themes/bootstrap/_popover.scss +1 -1
- package/themes/bootstrap/_progress.scss +1 -1
- package/themes/bootstrap/_reboot.scss +1 -1
- package/themes/bootstrap/_root.scss +1 -1
- package/themes/bootstrap/_spinners.scss +1 -1
- package/themes/bootstrap/_tables.scss +1 -1
- package/themes/bootstrap/_toasts.scss +1 -1
- package/themes/bootstrap/_tooltip.scss +1 -1
- package/themes/bootstrap/_transitions.scss +1 -1
- package/themes/bootstrap/_type.scss +1 -1
- package/themes/bootstrap/_utilities.scss +1 -1
- package/themes/bootstrap/forms/_floating-labels.scss +1 -1
- package/themes/bootstrap/forms/_form-check.scss +1 -1
- package/themes/bootstrap/forms/_form-control.scss +1 -1
- package/themes/bootstrap/forms/_form-range.scss +1 -1
- package/themes/bootstrap/forms/_form-select.scss +1 -1
- package/themes/bootstrap/forms/_form-text.scss +1 -1
- package/themes/bootstrap/forms/_input-group.scss +1 -1
- package/themes/bootstrap/forms/_labels.scss +1 -1
- package/themes/bootstrap/forms/_validation.scss +1 -1
- package/variables/_color.scss +2 -1
- package/variables/_heading.scss +52 -0
- package/variables/_index.scss +1 -0
- package/variables/_type.scss +52 -15
- package/variables/components/_accordion.scss +1 -1
- package/variables/components/_alert.scss +2 -2
- package/variables/components/_button.scss +11 -9
- package/variables/components/_form-check.scss +1 -1
- package/variables/components/_form-switch.scss +1 -1
- package/variables/components/_forms.scss +5 -5
- package/variables/components/_modals.scss +1 -1
- package/variables/components/_nav.scss +1 -1
- package/variables/components/_navbar.scss +1 -1
- package/variables/components/_tables.scss +0 -1
- package/schematics/utils/css/css-classes-update.d.ts +0 -14
- package/schematics/utils/css/css-classes-update.js +0 -27
- package/schematics/utils/css/css-classes-update.js.map +0 -1
- package/schematics/utils/css/css-migration-rule.d.ts +0 -4
- package/schematics/utils/css/css-migration-rule.js +0 -112
- package/schematics/utils/css/css-migration-rule.js.map +0 -1
- package/schematics/utils/css/css-migration.d.ts +0 -13
- package/schematics/utils/css/css-migration.js +0 -36
- package/schematics/utils/css/css-migration.js.map +0 -1
- package/schematics/utils/css/html_css_classes_visitor.d.ts +0 -23
- package/schematics/utils/css/html_css_classes_visitor.js +0 -76
- package/schematics/utils/css/html_css_classes_visitor.js.map +0 -1
- package/schematics/utils/dom/migration-rule.d.ts +0 -3
- package/schematics/utils/dom/migration-rule.js.map +0 -1
- package/schematics/utils/dom/migration.d.ts +0 -7
- package/schematics/utils/dom/migration.js +0 -11
- package/schematics/utils/dom/migration.js.map +0 -1
- package/schematics/utils/dom/update.js.map +0 -1
- package/schematics/utils/regex.d.ts +0 -2
- package/schematics/utils/regex.js +0 -12
- package/schematics/utils/regex.js.map +0 -1
package/components/alert.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use 'sass:map';
|
|
4
4
|
|
|
5
5
|
@use './../lic/bootstrap-license';
|
|
6
|
-
@use './../themes/bootstrap/
|
|
6
|
+
@use './../themes/bootstrap/core' as *;
|
|
7
7
|
|
|
8
8
|
@use './../variables/color';
|
|
9
9
|
@use './../variables/commons';
|
|
@@ -23,8 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.alert {
|
|
26
|
-
$effective-line-height: (alert.$alert-line-height * alert.$alert-font-size);
|
|
27
|
-
|
|
28
26
|
@extend %notification;
|
|
29
27
|
|
|
30
28
|
min-height: 2 * alert.$alert-padding-y + alert.$alert-icon-size;
|
|
@@ -84,8 +82,7 @@
|
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
|
|
87
|
-
.alert-fixed-bottom
|
|
88
|
-
%alert-fixed {
|
|
85
|
+
.alert-fixed-bottom {
|
|
89
86
|
position: fixed;
|
|
90
87
|
z-index: commons.$zindex-alert;
|
|
91
88
|
bottom: 0;
|
|
@@ -129,8 +126,6 @@
|
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
.alert-action {
|
|
132
|
-
@extend %alert-fixed;
|
|
133
|
-
|
|
134
129
|
flex-direction: row;
|
|
135
130
|
flex-wrap: nowrap;
|
|
136
131
|
align-items: center;
|
package/components/badge.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
5
|
@use './../themes/bootstrap/badge' as bb;
|
|
6
6
|
@use './../themes/bootstrap/close' as bc; // Styles for the close icon
|
|
7
7
|
|
|
@@ -1,69 +1,45 @@
|
|
|
1
|
-
@
|
|
1
|
+
@forward './../variables/options';
|
|
2
|
+
|
|
3
|
+
@use './../lic/bootstrap-license';
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
|
+
@use './../themes/bootstrap/button-group' as bg;
|
|
6
|
+
|
|
2
7
|
@use './../mixins/utilities';
|
|
3
|
-
@use './../
|
|
8
|
+
@use './../variables/color';
|
|
9
|
+
@use './../variables/components/button';
|
|
4
10
|
|
|
5
11
|
.btn-group {
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
gap: 0.125rem;
|
|
8
12
|
max-width: 100%;
|
|
9
13
|
|
|
10
|
-
.btn
|
|
11
|
-
// Reset primary button for backwards compatibility
|
|
12
|
-
@extend %btn-default;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.btn {
|
|
16
|
-
border: 0;
|
|
17
|
-
outline-offset: 0.25rem;
|
|
18
|
-
box-shadow: 0 0 0 0.125rem color.$gray-20;
|
|
14
|
+
> .btn {
|
|
19
15
|
white-space: normal;
|
|
20
|
-
text-align: center;
|
|
21
16
|
cursor: pointer;
|
|
22
17
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
// added a transition delay on the "z-index" so the button only moves back after all other transitions
|
|
19
|
+
z-index: 0;
|
|
20
|
+
transition: z-index 0s ease (0.5 * button.$btn-transition-duration), button.$btn-transition;
|
|
26
21
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
z-index: 1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:not(:disabled):hover {
|
|
33
|
-
z-index: 2;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:not(:first-child) {
|
|
37
|
-
border-top-left-radius: 0;
|
|
38
|
-
border-bottom-left-radius: 0;
|
|
22
|
+
@include utilities.high-contrast-mode() {
|
|
23
|
+
transition: none !important;
|
|
39
24
|
}
|
|
25
|
+
}
|
|
40
26
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
> .btn:hover {
|
|
28
|
+
// remove the transition delay on the "z-index" for all raised states so the button moves forward before other transitions
|
|
29
|
+
z-index: 2 !important;
|
|
30
|
+
transition: button.$btn-transition;
|
|
31
|
+
}
|
|
45
32
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
color: color.$black;
|
|
33
|
+
> .btn-secondary {
|
|
34
|
+
border-color: color.$gray-20;
|
|
35
|
+
}
|
|
50
36
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
37
|
+
> .btn-secondary.active,
|
|
38
|
+
> .btn-check:checked + .btn-secondary {
|
|
39
|
+
background-color: color.$yellow;
|
|
55
40
|
|
|
56
41
|
@include utilities.high-contrast-mode() {
|
|
57
|
-
|
|
58
|
-
&:focus-within,
|
|
59
|
-
&:focus-visible {
|
|
60
|
-
outline: 2px solid highlight;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
input[type='checkbox'],
|
|
65
|
-
input[type='radio'] {
|
|
66
|
-
@include utilities.visuallyhidden();
|
|
42
|
+
background-color: Highlight;
|
|
67
43
|
}
|
|
68
44
|
}
|
|
69
45
|
}
|
package/components/button.scss
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
justify-content: center;
|
|
28
28
|
max-width: 100%;
|
|
29
29
|
overflow: hidden;
|
|
30
|
-
transition:
|
|
30
|
+
transition: button.$btn-transition;
|
|
31
31
|
border-width: button.$btn-border-width;
|
|
32
32
|
border-style: solid;
|
|
33
33
|
border-radius: button.$btn-border-radius;
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
color: var(--post-contrast-color);
|
|
37
37
|
font-family: inherit;
|
|
38
38
|
font-weight: button.$btn-font-weight;
|
|
39
|
-
line-height: inherit;
|
|
40
39
|
text-decoration: none !important; // For <a> tags, !important for hover
|
|
41
40
|
white-space: nowrap; // Long content should never break in buttons
|
|
42
41
|
}
|
package/components/card.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
5
|
@use './../themes/bootstrap/card' as bootstrap-card;
|
|
6
6
|
@use './../variables/color';
|
|
7
7
|
@use './../variables/spacing';
|
|
@@ -92,19 +92,19 @@
|
|
|
92
92
|
|
|
93
93
|
.product-card &,
|
|
94
94
|
.card-button & {
|
|
95
|
-
@include
|
|
95
|
+
@include media-breakpoint-down(sm) {
|
|
96
96
|
padding: spacing.$size-regular;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
@include
|
|
99
|
+
@include media-breakpoint-between(sm, md) {
|
|
100
100
|
padding: spacing.$size-large;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
@include
|
|
103
|
+
@include media-breakpoint-between(md, xxl) {
|
|
104
104
|
padding: spacing.$size-big;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
@include
|
|
107
|
+
@include media-breakpoint-up(xxl) {
|
|
108
108
|
padding: spacing.$size-bigger-big;
|
|
109
109
|
}
|
|
110
110
|
}
|
package/components/carousel.scss
CHANGED
package/components/close.scss
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../variables/color';
|
|
4
|
+
@use './../variables/type';
|
|
4
5
|
@use './../variables/components/datepicker';
|
|
5
6
|
@use './../variables/components/forms';
|
|
6
7
|
@use './../variables/commons';
|
|
@@ -73,7 +74,7 @@ span.ngb-dp-navigation-chevron {
|
|
|
73
74
|
color: rgba(var(--post-contrast-color-rgb), 0.6) !important;
|
|
74
75
|
font-size: 1rem;
|
|
75
76
|
font-style: normal !important;
|
|
76
|
-
line-height:
|
|
77
|
+
line-height: type.$line-height-copy !important;
|
|
77
78
|
width: 40px !important;
|
|
78
79
|
height: auto !important;
|
|
79
80
|
font-weight: normal;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
padding-inline: forms.$form-floating-padding-x;
|
|
22
22
|
padding-block: calc(
|
|
23
23
|
#{forms.$input-border-width} + #{forms.$form-floating-label-height * 0.5} - #{forms.$form-floating-label-font-size *
|
|
24
|
-
type.$line-height-
|
|
24
|
+
type.$line-height-copy * 0.5}
|
|
25
25
|
);
|
|
26
26
|
height: forms.$form-floating-label-height;
|
|
27
27
|
border: 0;
|
|
@@ -99,10 +99,6 @@
|
|
|
99
99
|
padding-bottom: 0;
|
|
100
100
|
height: auto;
|
|
101
101
|
|
|
102
|
-
option {
|
|
103
|
-
height: 1em * forms.$form-floating-line-height;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
102
|
~ label {
|
|
107
103
|
padding-top: forms.$input-padding-y-lg * forms.$form-floating-label-scale;
|
|
108
104
|
padding-bottom: 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
5
|
@use './../themes/bootstrap/forms' as bf;
|
|
6
6
|
@use './../mixins/forms' as forms-mixins;
|
|
7
7
|
@use './../mixins/utilities';
|
package/components/grid.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use './../../variables/commons';
|
|
4
4
|
@use './../../variables/components/intranet-header';
|
|
5
5
|
|
|
6
|
-
@use './../../themes/bootstrap/
|
|
6
|
+
@use './../../themes/bootstrap/core' as *;
|
|
7
7
|
|
|
8
8
|
// based from http://getbootstrap.com/docs/4.1/examples/dashboard/
|
|
9
9
|
.navbar-brand {
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
h2 {
|
|
48
48
|
overflow: hidden;
|
|
49
49
|
font-size: 1.6rem; // Same as PostWeb
|
|
50
|
-
line-height: 1.2;
|
|
51
50
|
text-overflow: ellipsis;
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
@use './../../mixins/utilities';
|
|
9
9
|
|
|
10
10
|
@use './../../themes/bootstrap/navbar' as bn;
|
|
11
|
-
@use './../../themes/bootstrap/
|
|
11
|
+
@use './../../themes/bootstrap/core' as *;
|
|
12
12
|
|
|
13
13
|
.top-navigation {
|
|
14
14
|
button.nav-link {
|
|
15
15
|
@include button-mixins.reset-button();
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
16
18
|
padding: nav.$nav-link-padding-y navbar.$navbar-nav-link-padding-x;
|
|
17
|
-
line-height: var(--post-body-line-height);
|
|
18
19
|
|
|
19
20
|
@include media-breakpoint-down(md) {
|
|
20
21
|
padding: 1rem 3rem 1rem 0;
|
package/components/modal.scss
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
4
|
@use './../themes/bootstrap/modal' as bm;
|
|
5
5
|
@use './../themes/bootstrap/close' as bc;
|
|
6
|
-
@use './../themes/bootstrap/
|
|
6
|
+
@use './../themes/bootstrap/core' as *;
|
|
7
7
|
|
|
8
8
|
@use './../mixins/icons' as icon-mixin;
|
|
9
9
|
@use './../mixins/scroll-shadows' as scroll-shadows-mixin;
|
package/components/popover.scss
CHANGED
package/components/progress.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use './../lic/bootstrap-license';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
5
|
@use './../themes/bootstrap/progress' as bp;
|
|
6
6
|
|
|
7
7
|
@use './../variables/commons';
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
|
|
23
23
|
> span {
|
|
24
24
|
background-color: ButtonFace;
|
|
25
|
-
line-height: 1;
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
}
|
package/components/sizing.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@forward './../variables/options';
|
|
2
2
|
|
|
3
3
|
@use 'sass:map';
|
|
4
|
-
@use './../themes/bootstrap/
|
|
4
|
+
@use './../themes/bootstrap/core' as *;
|
|
5
5
|
@use './../variables/spacing';
|
|
6
6
|
@use './../variables/breakpoints';
|
|
7
7
|
@use './../mixins/utilities';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
in (
|
|
17
17
|
margin: m,
|
|
18
18
|
padding: p,
|
|
19
|
-
line-height: lh,
|
|
19
|
+
/* Deprecated */ line-height: lh,
|
|
20
20
|
height: h,
|
|
21
21
|
max-height: mh,
|
|
22
22
|
width: w,
|
package/components/spinner.scss
CHANGED
package/components/stepper.scss
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
@use './../mixins/utilities';
|
|
3
3
|
|
|
4
4
|
@use './../variables/spacing';
|
|
5
|
+
@use './../variables/color';
|
|
5
6
|
@use './../variables/components/stepper';
|
|
6
7
|
|
|
7
|
-
@use './../themes/bootstrap/
|
|
8
|
+
@use './../themes/bootstrap/core' as *;
|
|
8
9
|
|
|
9
10
|
.stepper-container {
|
|
10
11
|
@include size-mx.responsive-size('big', 'margin-bottom');
|
|
@@ -15,6 +16,10 @@
|
|
|
15
16
|
height: stepper.$stepper-bar-height;
|
|
16
17
|
margin-top: stepper.$stepper-indicator-height * 0.5;
|
|
17
18
|
margin-bottom: -1 * (stepper.$stepper-bar-height + stepper.$stepper-indicator-height) * 0.5;
|
|
19
|
+
|
|
20
|
+
.progress-bar {
|
|
21
|
+
background-color: color.$yellow;
|
|
22
|
+
}
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
.stepper {
|
|
@@ -42,6 +47,7 @@
|
|
|
42
47
|
&:last-child {
|
|
43
48
|
justify-self: end;
|
|
44
49
|
align-items: end;
|
|
50
|
+
text-align: right;
|
|
45
51
|
transform: translateX(#{0.5 * stepper.$stepper-indicator-height});
|
|
46
52
|
}
|
|
47
53
|
|
|
@@ -82,17 +88,17 @@
|
|
|
82
88
|
content: counter(step-index);
|
|
83
89
|
}
|
|
84
90
|
|
|
85
|
-
&[aria-current] ~ &:not(:hover)::before {
|
|
86
|
-
color: stepper.$stepper-indicator-future-color;
|
|
87
|
-
background-color: stepper.$stepper-indicator-future-bg;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
91
|
&:hover::before {
|
|
91
92
|
color: stepper.$stepper-indicator-hover-color;
|
|
92
93
|
background-color: stepper.$stepper-indicator-hover-bg;
|
|
93
94
|
background-image: stepper.$stepper-indicator-hover-check-icon;
|
|
94
95
|
}
|
|
95
96
|
|
|
97
|
+
&[aria-current] ~ ::before {
|
|
98
|
+
color: stepper.$stepper-indicator-future-color;
|
|
99
|
+
background-color: stepper.$stepper-indicator-future-bg;
|
|
100
|
+
}
|
|
101
|
+
|
|
96
102
|
&:is(:focus-visible, :focus-within)::before {
|
|
97
103
|
outline: stepper.$stepper-indicator-hover-outline;
|
|
98
104
|
}
|
package/components/tabs.scss
CHANGED
package/components/toast.scss
CHANGED