@mtvh/mtvh-design-system 0.0.22 → 0.0.24

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.
@@ -21,6 +21,7 @@
21
21
  text-align: center;
22
22
  color: var(--#{$prefix}stepper-sm-font-color);
23
23
  width:100%;
24
+
24
25
  }
25
26
 
26
27
 
@@ -38,10 +39,11 @@
38
39
  display: flex;
39
40
  flex-wrap: nowrap;
40
41
  list-style: none;
42
+ align-items: stretch;
43
+ justify-content: center;
41
44
  width: 100%;
42
45
  padding: $mtvh-spacing-8 0 $mtvh-spacing-5 0;
43
46
  margin: 0;
44
- justify-content: center;
45
47
  color: var(--#{$prefix}stepper-font-color);
46
48
  text-align: center;
47
49
  position: relative;
@@ -56,28 +58,28 @@
56
58
 
57
59
  .mtvh-stepper-item {
58
60
 
59
- counter-increment: count;
61
+ align-items: center;
62
+ display: flex;
63
+ justify-content: center;
60
64
  flex-basis: 100%;
61
- margin-right: 1px;
65
+ counter-increment: count;
66
+ margin-right: 2px;
62
67
  margin-bottom: 0;
63
68
  color: var(--#{$prefix}stepper-disabled-font-color);
64
69
  background-color: var(--#{$prefix}stepper-disabled-bg-color);
65
70
  font-size: var(--#{$prefix}stepper-font-size);
66
71
  padding: $mtvh-spacing-3 $mtvh-spacing-2;
67
72
 
73
+ @include media-breakpoint-up(md) {
74
+ margin-right: 4px;
75
+ }
76
+
68
77
  &:has( a + span), &:has( span + a ), &.completed {
69
78
  background-color: var(--#{$prefix}stepper-bg-color);
70
79
  color: inherit;
71
80
  font-weight: bold;
72
81
  }
73
82
 
74
- &:has(a) {
75
- &:hover {
76
- background-color: var(--#{$prefix}blue-04);
77
- cursor: pointer;
78
- }
79
- }
80
-
81
83
  &:focus-within {
82
84
  outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}btn-outline-color);
83
85
  outline-offset: var(--#{$prefix}btn-outline-border);
@@ -114,18 +116,18 @@
114
116
  border:0;
115
117
  outline: 0;
116
118
  }
117
- &:after {
118
- bottom: 0;
119
- content: "";
120
- left: 0;
121
- position: absolute;
122
- right: 0;
123
- top: 0;
124
- z-index: 100;
119
+ }
120
+
121
+ &:has(a) {
122
+
123
+ &:hover {
124
+ background-color: var(--#{$prefix}blue-04);
125
+ cursor: pointer;
125
126
  }
126
127
  }
127
128
 
128
129
  &:has(a:not(.link-inactive)) {
130
+
129
131
  &:before {
130
132
  font-weight: $mtvh-font-weight-bold;
131
133
  }
@@ -146,6 +148,9 @@
146
148
  }
147
149
 
148
150
  a, span {
151
+ @include media-breakpoint-up($stepper-breakpoint) {
152
+ padding-left: 3px;
153
+ }
149
154
  @include media-breakpoint-down($stepper-breakpoint) {
150
155
  @include stepper-small-position
151
156
  }
@@ -220,7 +220,7 @@ $btn-close-hover-opacity: 1;
220
220
  $stepper-bg-color: var(--#{$prefix}grey-06);
221
221
  $stepper-sm-font-color: var(--#{$prefix}purple-04);
222
222
  $stepper-active-bg-color: var(--#{$prefix}purple-04);
223
- $stepper-disabled-bg-color: var(--#{$prefix}grey-03);
223
+ $stepper-disabled-bg-color: var(--#{$prefix}grey-02);
224
224
  $stepper-disabled-font-color: var(--#{$prefix}black);
225
225
  $stepper-font-size: $font-size-xs;
226
226
  $stepper-font-color: var(--#{$prefix}white);