@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.
Files changed (186) hide show
  1. package/basics.css +1 -1
  2. package/components/accordion.scss +1 -1
  3. package/components/alert.scss +2 -7
  4. package/components/badge.scss +1 -1
  5. package/components/breadcrumb.scss +1 -1
  6. package/components/button-group.scss +27 -51
  7. package/components/button.scss +1 -2
  8. package/components/card.scss +5 -5
  9. package/components/carousel.scss +1 -1
  10. package/components/close.scss +1 -1
  11. package/components/datepicker.scss +2 -1
  12. package/components/floating-label.scss +1 -5
  13. package/components/form-check.scss +1 -1
  14. package/components/form-range.scss +1 -1
  15. package/components/form-select.scss +1 -1
  16. package/components/grid.scss +1 -1
  17. package/components/intranet-header/_logo.scss +1 -1
  18. package/components/intranet-header/_nav-overflow.scss +1 -1
  19. package/components/intranet-header/_scaffolding.scss +1 -2
  20. package/components/intranet-header/_searchbox.scss +1 -1
  21. package/components/intranet-header/_sidebar.scss +1 -1
  22. package/components/intranet-header/_top-navigation.scss +3 -2
  23. package/components/list-group.scss +1 -1
  24. package/components/modal.scss +1 -1
  25. package/components/offcanvas.scss +1 -1
  26. package/components/popover.scss +1 -1
  27. package/components/product-card.scss +0 -1
  28. package/components/progress.scss +1 -2
  29. package/components/sizing.scss +2 -2
  30. package/components/spinner.scss +1 -1
  31. package/components/stepper.scss +12 -6
  32. package/components/subnavigation.scss +1 -1
  33. package/components/tabs.scss +1 -1
  34. package/components/toast.scss +1 -1
  35. package/components/topic-teaser.scss +1 -1
  36. package/components/type.scss +21 -49
  37. package/components/utilities.scss +5 -5
  38. package/core.scss +1 -1
  39. package/functions/_sizing.scss +1 -0
  40. package/index.css +8 -34
  41. package/intranet.css +8 -34
  42. package/layouts/portal/_grid.scss +1 -1
  43. package/layouts/portal/_type.scss +1 -1
  44. package/mixins/_animation.scss +1 -1
  45. package/mixins/_button.scss +0 -1
  46. package/mixins/_forms.scss +2 -1
  47. package/mixins/_size.scss +1 -1
  48. package/mixins/_type.scss +4 -15
  49. package/package.json +19 -20
  50. package/placeholders/_notifications.scss +1 -1
  51. package/placeholders/_text.scss +1 -1
  52. package/placeholders/badge.scss +1 -3
  53. package/schematics/migrations/_example-dom-migration/index.js +11 -7
  54. package/schematics/migrations/_example-dom-migration/index.js.map +1 -1
  55. package/schematics/migrations/bootstrap/badge/index.js +2 -2
  56. package/schematics/migrations/bootstrap/badge/index.js.map +1 -1
  57. package/schematics/migrations/bootstrap/blockquote/index.js +2 -2
  58. package/schematics/migrations/bootstrap/blockquote/index.js.map +1 -1
  59. package/schematics/migrations/bootstrap/button/index.js +2 -2
  60. package/schematics/migrations/bootstrap/button/index.js.map +1 -1
  61. package/schematics/migrations/bootstrap/button-close/index.js +2 -2
  62. package/schematics/migrations/bootstrap/button-close/index.js.map +1 -1
  63. package/schematics/migrations/bootstrap/form-checkbox/index.js +2 -2
  64. package/schematics/migrations/bootstrap/form-checkbox/index.js.map +1 -1
  65. package/schematics/migrations/bootstrap/form-control/index.js +2 -2
  66. package/schematics/migrations/bootstrap/form-control/index.js.map +1 -1
  67. package/schematics/migrations/bootstrap/form-radio/index.js +2 -2
  68. package/schematics/migrations/bootstrap/form-radio/index.js.map +1 -1
  69. package/schematics/migrations/bootstrap/form-select/index.js +2 -2
  70. package/schematics/migrations/bootstrap/form-select/index.js.map +1 -1
  71. package/schematics/migrations/bootstrap/form-switch/index.js +2 -2
  72. package/schematics/migrations/bootstrap/form-switch/index.js.map +1 -1
  73. package/schematics/migrations/bootstrap/forms/index.js +2 -2
  74. package/schematics/migrations/bootstrap/forms/index.js.map +1 -1
  75. package/schematics/migrations/bootstrap/textarea/index.js +2 -2
  76. package/schematics/migrations/bootstrap/textarea/index.js.map +1 -1
  77. package/schematics/migrations/general/classes/bg-opacity.js +2 -2
  78. package/schematics/migrations/general/classes/bg-opacity.js.map +1 -1
  79. package/schematics/migrations/general/classes/rtl.js +5 -3
  80. package/schematics/migrations/general/classes/rtl.js.map +1 -1
  81. package/schematics/migrations/general/classes/secondary.js +2 -2
  82. package/schematics/migrations/general/classes/secondary.js.map +1 -1
  83. package/schematics/migrations/general/classes/sr-only.js +2 -2
  84. package/schematics/migrations/general/classes/sr-only.js.map +1 -1
  85. package/schematics/migrations/general/classes/text-auto.js +2 -2
  86. package/schematics/migrations/general/classes/text-auto.js.map +1 -1
  87. package/schematics/migrations/ngbootstrap/buttons/index.js +67 -29
  88. package/schematics/migrations/ngbootstrap/buttons/index.js.map +1 -1
  89. package/schematics/migrations/post/custom-select/index.js +2 -2
  90. package/schematics/migrations/post/custom-select/index.js.map +1 -1
  91. package/schematics/migrations/post/stepper/index.d.ts +2 -0
  92. package/schematics/migrations/post/stepper/index.js +61 -0
  93. package/schematics/migrations/post/stepper/index.js.map +1 -0
  94. package/schematics/migrations/post/subnavigation/index.js +2 -2
  95. package/schematics/migrations/post/subnavigation/index.js.map +1 -1
  96. package/schematics/migrations/post/topic-teaser/index.js +2 -2
  97. package/schematics/migrations/post/topic-teaser/index.js.map +1 -1
  98. package/schematics/migrations.json +6 -2
  99. package/schematics/utils/constants.d.ts +2 -0
  100. package/schematics/utils/constants.js +67 -3
  101. package/schematics/utils/constants.js.map +1 -1
  102. package/schematics/utils/{dom/update.d.ts → dom-migration/dom-update.d.ts} +1 -1
  103. package/schematics/utils/{dom/update.js → dom-migration/dom-update.js} +1 -1
  104. package/schematics/utils/dom-migration/dom-update.js.map +1 -0
  105. package/schematics/utils/dom-migration/get-dom-migration-rule.d.ts +3 -0
  106. package/schematics/utils/{dom/migration-rule.js → dom-migration/get-dom-migration-rule.js} +27 -18
  107. package/schematics/utils/dom-migration/get-dom-migration-rule.js.map +1 -0
  108. package/schematics/utils/dom-migration/index.d.ts +2 -0
  109. package/schematics/utils/dom-migration/index.js +22 -0
  110. package/schematics/utils/dom-migration/index.js.map +1 -0
  111. package/themes/bootstrap/_accordion.scss +1 -1
  112. package/themes/bootstrap/_alert.scss +1 -1
  113. package/themes/bootstrap/_badge.scss +1 -1
  114. package/themes/bootstrap/_breadcrumbs.scss +1 -1
  115. package/themes/bootstrap/_button-group.scss +1 -1
  116. package/themes/bootstrap/_buttons.scss +1 -1
  117. package/themes/bootstrap/_card.scss +1 -1
  118. package/themes/bootstrap/_carousel.scss +1 -1
  119. package/themes/bootstrap/_close.scss +1 -1
  120. package/themes/bootstrap/_containers.scss +1 -1
  121. package/themes/bootstrap/{_overrides.scss → _core.scss} +7 -1
  122. package/themes/bootstrap/_dropdown.scss +1 -1
  123. package/themes/bootstrap/_grid.scss +1 -1
  124. package/themes/bootstrap/_images.scss +1 -1
  125. package/themes/bootstrap/_list-group.scss +1 -1
  126. package/themes/bootstrap/_modal.scss +1 -1
  127. package/themes/bootstrap/_nav.scss +1 -1
  128. package/themes/bootstrap/_navbar.scss +1 -1
  129. package/themes/bootstrap/_offcanvas.scss +1 -1
  130. package/themes/bootstrap/_overrides-color.scss +1 -1
  131. package/themes/bootstrap/_pagination.scss +1 -1
  132. package/themes/bootstrap/_popover.scss +1 -1
  133. package/themes/bootstrap/_progress.scss +1 -1
  134. package/themes/bootstrap/_reboot.scss +1 -1
  135. package/themes/bootstrap/_root.scss +1 -1
  136. package/themes/bootstrap/_spinners.scss +1 -1
  137. package/themes/bootstrap/_tables.scss +1 -1
  138. package/themes/bootstrap/_toasts.scss +1 -1
  139. package/themes/bootstrap/_tooltip.scss +1 -1
  140. package/themes/bootstrap/_transitions.scss +1 -1
  141. package/themes/bootstrap/_type.scss +1 -1
  142. package/themes/bootstrap/_utilities.scss +1 -1
  143. package/themes/bootstrap/forms/_floating-labels.scss +1 -1
  144. package/themes/bootstrap/forms/_form-check.scss +1 -1
  145. package/themes/bootstrap/forms/_form-control.scss +1 -1
  146. package/themes/bootstrap/forms/_form-range.scss +1 -1
  147. package/themes/bootstrap/forms/_form-select.scss +1 -1
  148. package/themes/bootstrap/forms/_form-text.scss +1 -1
  149. package/themes/bootstrap/forms/_input-group.scss +1 -1
  150. package/themes/bootstrap/forms/_labels.scss +1 -1
  151. package/themes/bootstrap/forms/_validation.scss +1 -1
  152. package/variables/_color.scss +2 -1
  153. package/variables/_heading.scss +52 -0
  154. package/variables/_index.scss +1 -0
  155. package/variables/_type.scss +52 -15
  156. package/variables/components/_accordion.scss +1 -1
  157. package/variables/components/_alert.scss +2 -2
  158. package/variables/components/_button.scss +11 -9
  159. package/variables/components/_form-check.scss +1 -1
  160. package/variables/components/_form-switch.scss +1 -1
  161. package/variables/components/_forms.scss +5 -5
  162. package/variables/components/_modals.scss +1 -1
  163. package/variables/components/_nav.scss +1 -1
  164. package/variables/components/_navbar.scss +1 -1
  165. package/variables/components/_tables.scss +0 -1
  166. package/schematics/utils/css/css-classes-update.d.ts +0 -14
  167. package/schematics/utils/css/css-classes-update.js +0 -27
  168. package/schematics/utils/css/css-classes-update.js.map +0 -1
  169. package/schematics/utils/css/css-migration-rule.d.ts +0 -4
  170. package/schematics/utils/css/css-migration-rule.js +0 -112
  171. package/schematics/utils/css/css-migration-rule.js.map +0 -1
  172. package/schematics/utils/css/css-migration.d.ts +0 -13
  173. package/schematics/utils/css/css-migration.js +0 -36
  174. package/schematics/utils/css/css-migration.js.map +0 -1
  175. package/schematics/utils/css/html_css_classes_visitor.d.ts +0 -23
  176. package/schematics/utils/css/html_css_classes_visitor.js +0 -76
  177. package/schematics/utils/css/html_css_classes_visitor.js.map +0 -1
  178. package/schematics/utils/dom/migration-rule.d.ts +0 -3
  179. package/schematics/utils/dom/migration-rule.js.map +0 -1
  180. package/schematics/utils/dom/migration.d.ts +0 -7
  181. package/schematics/utils/dom/migration.js +0 -11
  182. package/schematics/utils/dom/migration.js.map +0 -1
  183. package/schematics/utils/dom/update.js.map +0 -1
  184. package/schematics/utils/regex.d.ts +0 -2
  185. package/schematics/utils/regex.js +0 -12
  186. package/schematics/utils/regex.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/accordion' as ba;
6
6
 
7
7
  @use './../mixins/type';
@@ -3,7 +3,7 @@
3
3
  @use 'sass:map';
4
4
 
5
5
  @use './../lic/bootstrap-license';
6
- @use './../themes/bootstrap/overrides' as *;
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;
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
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
 
@@ -3,7 +3,7 @@
3
3
  @use 'sass:map';
4
4
 
5
5
  @use './../lic/bootstrap-license';
6
- @use './../themes/bootstrap/overrides' as *;
6
+ @use './../themes/bootstrap/core' as *;
7
7
  @use './../themes/bootstrap/breadcrumbs' as bb;
8
8
 
9
9
  @use './../variables/type';
@@ -1,69 +1,45 @@
1
- @use './../variables/color';
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 './../placeholders/button';
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-primary {
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
- @include utilities.not-disabled-focus-hover() {
24
- box-shadow: 0 0 0 0.125rem var(--post-contrast-color);
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
- &:focus,
28
- &:focus-within {
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
- &:not(:last-child) {
42
- border-top-right-radius: 0;
43
- border-bottom-right-radius: 0;
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
- &.active {
47
- border-color: color.$yellow;
48
- background-color: color.$yellow;
49
- color: color.$black;
33
+ > .btn-secondary {
34
+ border-color: color.$gray-20;
35
+ }
50
36
 
51
- @include utilities.high-contrast-mode() {
52
- background-color: Highlight;
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
- &:focus,
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
  }
@@ -27,7 +27,7 @@
27
27
  justify-content: center;
28
28
  max-width: 100%;
29
29
  overflow: hidden;
30
- transition: opacity 250ms, border-color 250ms, background-color 250ms, color 250ms;
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
  }
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as 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 bootstrap.media-breakpoint-down(sm) {
95
+ @include media-breakpoint-down(sm) {
96
96
  padding: spacing.$size-regular;
97
97
  }
98
98
 
99
- @include bootstrap.media-breakpoint-between(sm, md) {
99
+ @include media-breakpoint-between(sm, md) {
100
100
  padding: spacing.$size-large;
101
101
  }
102
102
 
103
- @include bootstrap.media-breakpoint-between(md, xxl) {
103
+ @include media-breakpoint-between(md, xxl) {
104
104
  padding: spacing.$size-big;
105
105
  }
106
106
 
107
- @include bootstrap.media-breakpoint-up(xxl) {
107
+ @include media-breakpoint-up(xxl) {
108
108
  padding: spacing.$size-bigger-big;
109
109
  }
110
110
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
4
  @use './../themes/bootstrap/carousel' as bc;
5
- @use './../themes/bootstrap/overrides' as *;
5
+ @use './../themes/bootstrap/core' as *;
6
6
 
7
7
  @use './../functions/icons';
8
8
  @use './../variables/color';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/close' as bc;
6
6
 
7
7
  @use './../variables/components/close';
@@ -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: 1.47 !important;
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-base * 0.5}
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;
@@ -2,7 +2,7 @@
2
2
 
3
3
  @use 'sass:math';
4
4
  @use './../lic/bootstrap-license';
5
- @use './../themes/bootstrap/overrides' as *;
5
+ @use './../themes/bootstrap/core' as *;
6
6
  @use './../themes/bootstrap/forms/form-check' as bfc;
7
7
 
8
8
  @use './../variables/color';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/forms' as bf;
6
6
 
7
7
  @use './../variables/commons';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
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';
@@ -3,7 +3,7 @@
3
3
  @use 'sass:map';
4
4
 
5
5
  @use './../lic/bootstrap-license';
6
- @use './../themes/bootstrap/overrides' as *;
6
+ @use './../themes/bootstrap/core' as *;
7
7
  @use './../themes/bootstrap/grid' as bg;
8
8
  @use './../themes/bootstrap/containers' as bc;
9
9
 
@@ -1,7 +1,7 @@
1
1
  @use './../../variables/color';
2
2
  @use './../../variables/components/intranet-header';
3
3
 
4
- @use './../../themes/bootstrap/overrides' as *;
4
+ @use './../../themes/bootstrap/core' as *;
5
5
 
6
6
  %header-logo {
7
7
  display: block;
@@ -2,7 +2,7 @@
2
2
  @use './../../variables/commons';
3
3
  @use './../../functions/icons';
4
4
 
5
- @use './../../themes/bootstrap/overrides' as *;
5
+ @use './../../themes/bootstrap/core' as *;
6
6
  @use './../../placeholders/dropdown';
7
7
 
8
8
  .top-navigation {
@@ -3,7 +3,7 @@
3
3
  @use './../../variables/commons';
4
4
  @use './../../variables/components/intranet-header';
5
5
 
6
- @use './../../themes/bootstrap/overrides' as *;
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
  }
@@ -4,7 +4,7 @@
4
4
  @use './../../variables/commons';
5
5
  @use './../../variables/components/intranet-header';
6
6
 
7
- @use './../../themes/bootstrap/overrides' as *;
7
+ @use './../../themes/bootstrap/core' as *;
8
8
 
9
9
  header.navbar {
10
10
  .search-textbox {
@@ -3,7 +3,7 @@
3
3
  @use './../../variables/commons';
4
4
  @use './../../variables/components/intranet-header';
5
5
 
6
- @use './../../themes/bootstrap/overrides' as *;
6
+ @use './../../themes/bootstrap/core' as *;
7
7
 
8
8
  // Sidebar
9
9
  #sidebar {
@@ -8,13 +8,14 @@
8
8
  @use './../../mixins/utilities';
9
9
 
10
10
  @use './../../themes/bootstrap/navbar' as bn;
11
- @use './../../themes/bootstrap/overrides' as *;
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;
@@ -3,7 +3,7 @@
3
3
  @use 'sass:map';
4
4
 
5
5
  @use './../lic/bootstrap-license';
6
- @use './../themes/bootstrap/overrides' as *;
6
+ @use './../themes/bootstrap/core' as *;
7
7
  @use './../themes/bootstrap/list-group' as bl;
8
8
 
9
9
  @use './../variables/color';
@@ -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/overrides' as *;
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;
@@ -1,5 +1,5 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/offcanvas' as bc;
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/popover' as bp;
6
6
 
7
7
  @use './../variables/type';
@@ -3,7 +3,6 @@
3
3
  @use 'sass:map';
4
4
 
5
5
  @use './../lic/bootstrap-license';
6
- @use './../themes/bootstrap/overrides' as bootstrap;
7
6
  @use './../themes/bootstrap/card' as bootstrap-card;
8
7
  @use './../variables/color';
9
8
  @use './../variables/spacing';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
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
  }
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use 'sass:map';
4
- @use './../themes/bootstrap/overrides' as *;
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,
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/progress' as bp;
6
6
 
7
7
  @use './../mixins/utilities';
@@ -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/overrides' as *;
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
  }
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
 
6
6
  @use './../mixins';
7
7
  @use './../mixins/utilities';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
  @use './../themes/bootstrap/nav' as n;
6
6
 
7
7
  @use './../variables/components/nav';
@@ -1,7 +1,7 @@
1
1
  @forward './../variables/options';
2
2
 
3
3
  @use './../lic/bootstrap-license';
4
- @use './../themes/bootstrap/overrides' as *;
4
+ @use './../themes/bootstrap/core' as *;
5
5
 
6
6
  @use './../variables/components/toasts';
7
7
  @use './../variables/components/alert';
@@ -2,7 +2,7 @@
2
2
 
3
3
  @use 'sass:map';
4
4
 
5
- @use './../themes/bootstrap/overrides' as *;
5
+ @use './../themes/bootstrap/core' as *;
6
6
 
7
7
  @use './../functions/icons';
8
8
  @use './../variables/color';