@mtvh/mtvh-design-system 0.0.32 → 0.0.34

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 (38) hide show
  1. package/assets/scss/app.scss +91 -1
  2. package/assets/scss/components/_accordion.scss +66 -0
  3. package/assets/scss/components/_alert.scss +1 -0
  4. package/assets/scss/components/_all.scss +4 -0
  5. package/assets/scss/components/_banner.scss +2 -1
  6. package/assets/scss/components/_button-circle.scss +5 -0
  7. package/assets/scss/components/_button.scss +22 -9
  8. package/assets/scss/components/_card-list.scss +19 -5
  9. package/assets/scss/components/_content-block.scss +13 -28
  10. package/assets/scss/components/_form.scss +4 -5
  11. package/assets/scss/components/_good-to-know.scss +5 -0
  12. package/assets/scss/components/_link.scss +3 -2
  13. package/assets/scss/components/_pagination.scss +1 -1
  14. package/assets/scss/components/_payment.scss +59 -0
  15. package/assets/scss/components/_progress-bar.scss +29 -0
  16. package/assets/scss/components/_space-selection.scss +11 -1
  17. package/assets/scss/components/_stepper.scss +26 -1
  18. package/assets/scss/components/_table.scss +46 -0
  19. package/assets/scss/components/_tabs.scss +21 -0
  20. package/assets/scss/config/_icon-list.scss +18 -6
  21. package/assets/scss/config/_palette.scss +2 -2
  22. package/assets/scss/config/_variables.scss +29 -5
  23. package/assets/scss/core/iconography/_icon.scss +4 -0
  24. package/assets/scss/core/typography/_typography.scss +7 -3
  25. package/assets/scss/forms/_credit-card-form.scss +9 -2
  26. package/assets/scss/forms/_file-upload.scss +119 -0
  27. package/assets/scss/forms/_form-chip.scss +53 -31
  28. package/assets/scss/forms/_form-control.scss +1 -5
  29. package/assets/scss/forms/_formio.scss +4 -0
  30. package/assets/scss/forms/_search.scss +2 -1
  31. package/assets/scss/forms/_validation.scss +12 -0
  32. package/assets/scss/mixins/_butttons.scss +5 -7
  33. package/assets/scss/mixins/_form.scss +1 -8
  34. package/assets/scss/mixins/_style.scss +39 -0
  35. package/assets/scss/mtvh.scss +1 -1
  36. package/dist/js/app.min.js +1 -1
  37. package/dist/mtvh.min.css +3 -3
  38. package/package.json +1 -1
@@ -1,7 +1,97 @@
1
1
  @import "mtvh";
2
2
 
3
+
4
+ // 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
5
+ @import "bootstrap/scss/functions";
6
+
3
7
  // 2. Include any default variable overrides here
4
- @import "../../node_modules/@thulite/doks-core/assets/scss/app";
8
+ @import "../../node_modules/@thulite/doks-core/assets/scss/common/colors";
9
+ @import "../../node_modules/@thulite/doks-core/assets/scss/common/variables-overrides";
10
+
11
+ // 3. Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
12
+ @import "bootstrap/scss/variables";
13
+ @import "bootstrap/scss/variables-dark";
14
+
15
+ // 4. Include any default map overrides here
16
+
17
+ // 5. Include remainder of required parts
18
+ @import "bootstrap/scss/maps";
19
+ @import "bootstrap/scss/mixins";
20
+ @import "bootstrap/scss/root";
21
+
22
+ // 6. Optionally include any other parts as needed
23
+
24
+ // Layout & components
25
+ @import "bootstrap/scss/utilities";
26
+ @import "bootstrap/scss/reboot";
27
+ @import "bootstrap/scss/type";
28
+ @import "bootstrap/scss/images";
29
+ @import "bootstrap/scss/containers";
30
+ @import "bootstrap/scss/grid";
31
+ @import "bootstrap/scss/helpers";
32
+ @import "bootstrap/scss/tables";
33
+ @import "bootstrap/scss/forms";
34
+ @import "bootstrap/scss/buttons";
35
+ @import "bootstrap/scss/transitions";
36
+ @import "bootstrap/scss/dropdown";
37
+ @import "bootstrap/scss/button-group";
38
+ @import "bootstrap/scss/nav";
39
+ @import "bootstrap/scss/navbar";
40
+ @import "bootstrap/scss/card";
41
+ @import "bootstrap/scss/accordion";
42
+ @import "bootstrap/scss/breadcrumb";
43
+ @import "bootstrap/scss/pagination";
44
+ @import "bootstrap/scss/badge";
45
+ @import "bootstrap/scss/alert";
46
+ @import "bootstrap/scss/progress";
47
+ @import "bootstrap/scss/list-group";
48
+ @import "bootstrap/scss/close";
49
+ @import "bootstrap/scss/toasts";
50
+ @import "bootstrap/scss/modal";
51
+ @import "bootstrap/scss/tooltip";
52
+ @import "bootstrap/scss/popover";
53
+ @import "bootstrap/scss/carousel";
54
+ @import "bootstrap/scss/spinners";
55
+ @import "bootstrap/scss/offcanvas";
56
+ @import "bootstrap/scss/placeholders";
57
+
58
+ // 7. Optionally include utilities API last to generate classes based on the Sass map in `_utilities.scss`
59
+ @import "bootstrap/scss/utilities/api";
60
+
61
+ // 8. Add additional custom code here
62
+ //@import "common/fonts";
63
+ @import "../../node_modules/@thulite/doks-core/assets/scss/common/global";
64
+ @import "../../node_modules/@thulite/doks-core/assets/scss/common/syntax";
65
+ @import "../../node_modules/@thulite/doks-core/assets/scss/common/dark";
66
+ //@import "components/alerts";
67
+ //@import "components/buttons";
68
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/callouts";
69
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/expressive-code";
70
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/code";
71
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/comments";
72
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/details";
73
+ //@import "components/forms";
74
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/images";
75
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/mermaid";
76
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/modals";
77
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/search";
78
+ @import "../../node_modules/@thulite/doks-core/assets/scss/components/section-nav";
79
+ //@import "components/steps";
80
+ //@import "components/tables";
81
+ //@import "components/tabs";
82
+ @import "../../node_modules/@thulite/doks-core/assets/scss/layouts/footer";
83
+ @import "../../node_modules/@thulite/doks-core/assets/scss/layouts/header";
84
+ @import "../../node_modules/@thulite/doks-core/assets/scss/layouts/pages";
85
+ @import "../../node_modules/@thulite/doks-core/assets/scss/layouts/sidebar";
86
+
87
+ /*
88
+ body {
89
+ background-color: {{ site.Params.doks.backGround }};
90
+ }
91
+ */
92
+
93
+ // 9. Custom styles
94
+ @import "common/custom";
5
95
 
6
96
  // 9. Custom styles
7
97
  @import "common/custom";
@@ -0,0 +1,66 @@
1
+ .accordion {
2
+ --#{$prefix}accordion-active-bg: var(--#{$prefix}white);
3
+ --#{$prefix}accordion-active-color: var(--#{$prefix}blue-04);
4
+ --#{$prefix}accordion-body-padding-x: #{$mtvh-spacing-7};
5
+ --#{$prefix}accordion-body-padding-y: #{$mtvh-spacing-6};
6
+ --#{$prefix}accordion-inner-border-radius: #{$border-radius-lg};
7
+
8
+ background-color: var(--#{$prefix}white);
9
+ padding: $mtvh-spacing-6 $mtvh-spacing-5;
10
+ border-radius: $border-radius-lg;
11
+ @include media-breakpoint-up(md) {
12
+ padding: $mtvh-spacing-6;
13
+ }
14
+
15
+ }
16
+
17
+ .accordion-button {
18
+ border-left: 0;
19
+ border-right: 0;
20
+ font-size: $font-size-sm;
21
+ font-weight: $mtvh-font-weight-bold;
22
+ font-family: $font-family-sans-serif;
23
+ &:not(.collapsed)
24
+ {
25
+ box-shadow: none;
26
+ }
27
+
28
+
29
+ &:focus {
30
+ @include focus-radius;
31
+ border-radius: $border-radius-lg;
32
+ }
33
+
34
+ &:after {
35
+ left: 0;
36
+ position: absolute;
37
+
38
+ }
39
+ padding-left: $mtvh-spacing-7;
40
+ }
41
+ .accordion-header {
42
+
43
+ &:hover {
44
+ background-color: var(--#{$prefix}grey-01);
45
+ .accordion-button {
46
+ background-color: var(--#{$prefix}grey-01);
47
+ }
48
+ }
49
+
50
+ padding-top:0;
51
+ padding-bottom: 0;
52
+ padding-left: 0;
53
+ padding-right: 0;
54
+ align-items: center;
55
+ }
56
+ .accordion-item {
57
+ border-left: 0;
58
+ border-right: 0;
59
+
60
+ }
61
+ .accordion-body {
62
+ padding-top: 0;
63
+ padding-right: 0;
64
+ border-right: 0;
65
+
66
+ }
@@ -17,3 +17,4 @@
17
17
  margin: 0;
18
18
  }
19
19
  }
20
+
@@ -18,3 +18,7 @@
18
18
  @import "_good-to-know";
19
19
  @import "_collapse_button";
20
20
  @import "_agent-repair-location-list";
21
+ @import "_accordion";
22
+ @import "_table";
23
+ @import "_progress-bar";
24
+ @import "_tabs";
@@ -1,4 +1,5 @@
1
1
  .mtvh-banner {
2
+
2
3
  background-color: var(--#{$prefix}banner-bg);
3
4
  color: var(--#{$prefix}banner-text-color);
4
5
  display: none;
@@ -57,7 +58,7 @@
57
58
  &.alert {
58
59
  --#{$prefix}alert-margin-bottom: 0;
59
60
  &.p-0 {
60
- height: 44px;
61
+ height: $input-min-height;
61
62
  overflow: hidden;
62
63
  }
63
64
  }
@@ -1,4 +1,6 @@
1
1
  .btn-icon-circle {
2
+ --#{$prefix}icon-right-spacing: 0px;
3
+ --#{$prefix}icon-left-spacing: 0px;
2
4
  --#{$prefix}btn-close-focus-outline-color: var(
3
5
  --#{$prefix}primary-outline-color
4
6
  );
@@ -11,6 +13,9 @@
11
13
 
12
14
  .btn-close-circle {
13
15
  @include button-circle();
16
+ &.btn-close {
17
+ padding: 0;
18
+ }
14
19
  }
15
20
 
16
21
  @each $state in map-keys($banner-theme-colors) {
@@ -62,6 +62,23 @@ $mtvh-buttons: (
62
62
  border-active: var(--mtvh-blue-06),
63
63
  border-color-disabled: var(--mtvh-grey-06),
64
64
  ),
65
+ outline-primary-filled: (
66
+ text-color: var(--mtvh-blue-04),
67
+ text-color-hover: var(--mtvh-blue-05),
68
+ text-color-active: var(--mtvh-blue-06),
69
+ text-color-focus: var(--mtvh-blue-05),
70
+ text-color-disabled: var(--mtvh-grey-06),
71
+ background: var(--mtvh-white),
72
+ background-hover: var(--mtvh-white),
73
+ background-focus: var(--mtvh-white),
74
+ background-disabled: var(--mtvh-white),
75
+ background-active: var(--mtvh-white),
76
+ border: var(--mtvh-blue-04),
77
+ border-hover: var(--mtvh-blue-05),
78
+ border-focus: var(--mtvh-blue-05),
79
+ border-active: var(--mtvh-blue-06),
80
+ border-color-disabled: var(--mtvh-grey-06),
81
+ ),
65
82
  outline-light: (
66
83
  text-color: var(--mtvh-white),
67
84
  text-color-hover: var(--mtvh-grey-04),
@@ -129,22 +146,18 @@ $mtvh-buttons: (
129
146
  box-shadow: none;
130
147
 
131
148
  &:focus-visible {
132
- box-shadow: none;
133
- outline: solid var(--#{$prefix}btn-outline-border)
134
- var(--#{$prefix}btn-outline-color);
135
- outline-offset: var(--#{$prefix}btn-outline-border);
136
- border-radius: $btn-border-radius;
137
- text-decoration: none;
138
- }
139
- &:focus:not(:focus-visible) {
140
- outline: 0;
149
+ @include focus-radius;
141
150
  }
151
+
142
152
  &:hover {
143
153
  text-decoration: none;
144
154
  }
145
155
  }
146
156
 
147
157
  .mtvh-btn {
158
+ --#{$prefix}icon-right-spacing: #{$button-icon-spacing};
159
+ --#{$prefix}icon-left-spacing: 0;
160
+
148
161
  min-height: 2.5rem;
149
162
  min-width: var(--#{$prefix}btn-min-width);
150
163
  border-radius: $btn-border-radius;
@@ -1,13 +1,14 @@
1
1
  .card-list {
2
2
  border-radius: $border-radius-lg;
3
3
  background-color: var(--#{$prefix}white);
4
+
4
5
  &-item {
5
6
 
6
7
  display: flex;
7
8
  flex-direction: row;
8
9
  flex-wrap: nowrap;
9
10
  align-items: center;
10
-
11
+
11
12
  border-bottom: 1px solid var(--#{$prefix}grey-03);
12
13
  padding-top: $mtvh-spacing-4;
13
14
  padding-bottom: $mtvh-spacing-5;
@@ -20,6 +21,16 @@
20
21
  padding-top: $mtvh-spacing-5;
21
22
  }
22
23
 
24
+ .credit-card-form & {
25
+
26
+ margin-left: 0;
27
+ margin-right: 0;
28
+
29
+ &:first-child {
30
+ border-top: 1px solid var(--#{$prefix}grey-03);
31
+ }
32
+ }
33
+
23
34
  &:has(.label) {
24
35
  &:last-child {
25
36
  border-bottom: none;
@@ -43,12 +54,14 @@
43
54
 
44
55
  div {
45
56
  flex-wrap: nowrap;
46
- @include media-breakpoint-up(lg) {
47
- flex-wrap: nowrap;
48
- }
57
+ }
58
+
59
+ .form-check-input, span {
60
+ margin-right: $mtvh-spacing-5;
49
61
  }
50
62
 
51
63
  span {
64
+ --#{$prefix}icon-right-spacing: #{$mtvh-spacing-5};
52
65
  display: block;
53
66
  align-self: center;
54
67
  font-size: $font-size-xs;
@@ -71,8 +84,9 @@
71
84
  align-self: flex-start;
72
85
  }
73
86
 
74
- .invali-feedback {
87
+ .invalid-feedback {
75
88
  flex-basis: 100%;
89
+ padding-top: $mtvh-spacing-4;
76
90
  }
77
91
  }
78
92
  }
@@ -6,10 +6,17 @@
6
6
  padding: $mtvh-spacing-6 $mtvh-spacing-6 $mtvh-spacing-5 $mtvh-spacing-6;
7
7
  }
8
8
 
9
- &:last-of-type {
10
- .mtvh-link {
11
- padding-bottom: 0;
12
- }
9
+ p {
10
+ margin-bottom: $mtvh-spacing-3;
11
+ }
12
+ .large {
13
+ margin-bottom: map-get($spacers,2);
14
+ }
15
+ .mtvh-link, .mtvh-btn {
16
+ margin-top: $mtvh-spacing-3;
17
+ }
18
+ .mtvh-btn {
19
+ margin-bottom: $mtvh-spacing-3;
13
20
  }
14
21
 
15
22
  &__date {
@@ -93,25 +100,6 @@
93
100
  font-size: $mtvh-base-font-size;
94
101
  }
95
102
  }
96
- .mtvh-btn,
97
- p {
98
- &:last-child {
99
- margin-bottom: 0;
100
- }
101
- }
102
-
103
- h3,
104
- .mtvh-h3 {
105
- + .mtvh-btn {
106
- margin-top: 0.625rem;
107
- }
108
- }
109
- h4,
110
- .mtvh-h4 {
111
- + .mtvh-btn {
112
- margin-top: 0.625rem;
113
- }
114
- }
115
103
 
116
104
  &-no-padding {
117
105
  padding: 0;
@@ -129,6 +117,8 @@
129
117
  }
130
118
 
131
119
  &-icon {
120
+
121
+ --#{$prefix}icon-right-spacing: #{$button-icon-spacing};
132
122
  &:not(.mtvh-content-block-link-card) {
133
123
  padding: $mtvh-spacing-5;
134
124
  @include media-breakpoint-up(md) {
@@ -142,11 +132,6 @@
142
132
  display: block;
143
133
  }
144
134
 
145
- h3:has(+ p + p),
146
- h3:has(+ p + p + p),
147
- h3:has(+ div) {
148
- margin-bottom: $mtvh-spacing-5;
149
- }
150
135
  }
151
136
 
152
137
  &-container {
@@ -15,6 +15,7 @@
15
15
  @import "../forms/mtvho-contact-phone";
16
16
  @import "../forms/mtvho-contact-email";
17
17
  @import "../forms/mtvh-address";
18
+ @import "../forms/file-upload";
18
19
  }
19
20
 
20
21
  .mtvh-form,
@@ -58,6 +59,7 @@ formio {
58
59
  display: none;
59
60
  --#{$prefix}form-group-padding-y: 0;
60
61
  }
62
+
61
63
  }
62
64
 
63
65
  label.field-required,
@@ -91,7 +93,7 @@ formio {
91
93
  --#{$prefix}form-control-input-width: #{$input-width-size-lg};
92
94
 
93
95
  @include media-breakpoint-up("md") {
94
- --#{$prefix}form-max-width: 576px;
96
+ --#{$prefix}form-max-width: unset;
95
97
  }
96
98
  @include media-breakpoint-up("lg") {
97
99
  --#{$prefix}form-group-padding-y: #{$form-group-lg-margin-bottom};
@@ -132,8 +134,5 @@ formio {
132
134
 
133
135
  .mtvh-form-container-required {
134
136
  font-size: $font-size-xs;
135
- padding: 0 0 $mtvh-spacing-6 0;
136
- @include media-breakpoint-down("lg") {
137
- padding-bottom: $mtvh-spacing-7;
138
- }
137
+ padding: 0 0 $mtvh-spacing-7 0;
139
138
  }
@@ -26,6 +26,10 @@
26
26
  margin-right: $spacing-unit;
27
27
  border-bottom: 1px solid var(--mtvh-yellow-03);
28
28
 
29
+ @include media-breakpoint-up(lg) {
30
+ margin-left: $mtvh-spacing-6;
31
+ }
32
+
29
33
  h3,
30
34
  h4,
31
35
  h5,
@@ -41,6 +45,7 @@
41
45
  font-family: $font-family-sans-serif;
42
46
  font-size: $font-size-base;
43
47
  line-height: $line-height-base;
48
+ margin: unset;
44
49
  }
45
50
 
46
51
  a {
@@ -85,10 +85,11 @@ $mtvh-links: (
85
85
  }
86
86
  }
87
87
  }
88
+
88
89
  &:before {
89
- margin-right: $link-icon-spacing !important;
90
+ --#{$prefix}icon-right-spacing: #{$link-icon-spacing};
90
91
  }
91
92
  &:after {
92
- margin-left: $link-icon-spacing !important;
93
+ --#{$prefix}icon-left-spacing: #{$link-icon-spacing};
93
94
  }
94
95
  }
@@ -1,5 +1,5 @@
1
1
  .pagination {
2
- $size: 44px;
2
+ $size: $input-min-height;
3
3
  margin: 0;
4
4
 
5
5
  @include media-breakpoint-down("lg") {
@@ -0,0 +1,59 @@
1
+ .payment-supported {
2
+
3
+ text-align: center;
4
+ font-size: $font-size-xs;
5
+ color: var(--#{$prefix}grey-06);
6
+ border-top:1px solid var(--#{$prefix}grey-04);
7
+
8
+ margin-top: $mtvh-spacing-4;
9
+ margin-bottom: $mtvh-spacing-5;
10
+
11
+ @include media-breakpoint-up(md) {
12
+ text-align: left;
13
+ display: flex;
14
+ align-items: center;
15
+ padding-top: $mtvh-spacing-3;
16
+ padding-bottom: $mtvh-spacing-5;
17
+ margin: 0;
18
+ }
19
+
20
+ &-text {
21
+ padding-top: $mtvh-spacing-4;
22
+ padding-bottom: $mtvh-spacing-3;
23
+ display: block;
24
+
25
+ @include media-breakpoint-up(md) {
26
+ padding-top: $mtvh-spacing-3;
27
+ padding-bottom: $mtvh-spacing-5;
28
+ margin-right: $mtvh-spacing-6;
29
+ }
30
+
31
+ }
32
+ &-icons {
33
+ display: flex;
34
+ justify-content: center;
35
+ align-items: center;
36
+ flex-wrap: nowrap;
37
+ margin-bottom: $mtvh-spacing-6;
38
+
39
+ span {
40
+ &:last-child {
41
+ margin-right: $mtvh-spacing-3;
42
+ }
43
+ }
44
+ @include media-breakpoint-up(md) {
45
+ margin: 0;
46
+ }
47
+ }
48
+ }
49
+
50
+ .payment-info {
51
+ padding: $mtvh-spacing-4 $mtvh-spacing-5;
52
+ border-radius: $border-radius-lg;
53
+ background-color: var(--#{$prefix}grey-01);
54
+ font-size: $font-size-xs;
55
+ @include media-breakpoint-up(md) {
56
+ font-size: $font-size-sm;
57
+ padding: $mtvh-spacing-5 $mtvh-spacing-6;
58
+ }
59
+ }
@@ -0,0 +1,29 @@
1
+ .progress {
2
+ border: 1px solid var(--#{$prefix}purple-05);
3
+ }
4
+
5
+
6
+ .progress-container {
7
+ background-color: var(--#{$prefix}purple-01);
8
+ padding: $mtvh-spacing-3;
9
+ button {
10
+ cursor: pointer;
11
+ }
12
+ .fileName {
13
+ display: flex;
14
+ align-items: center;
15
+ }
16
+ .name {
17
+ flex: 1 100px;
18
+ display: flex;
19
+ }
20
+ @include media-breakpoint-up("lg") {
21
+ padding: $mtvh-spacing-5;
22
+ }
23
+ .progress {
24
+ margin-top: $mtvh-spacing-3;
25
+ @include media-breakpoint-up("lg") {
26
+ margin-top: $mtvh-spacing-5;
27
+ }
28
+ }
29
+ }
@@ -1,4 +1,10 @@
1
1
  fieldset.space-selection {
2
+ --#{$prefix}icon-right-spacing: #{$button-icon-spacing};
3
+
4
+ .form-check {
5
+ margin-bottom: $mtvh-spacing-4;
6
+ }
7
+
2
8
  input {
3
9
  @extend .btn-check;
4
10
  }
@@ -6,7 +12,7 @@ fieldset.space-selection {
6
12
  input + label {
7
13
  display: flex;
8
14
  align-items: center;
9
- padding: $mtvh-spacing-3 $mtvh-spacing-6;
15
+ padding: $mtvh-spacing-3 $mtvh-spacing-5;
10
16
  border: 1px solid var(--mtvh-grey-06);
11
17
  border-radius: 0.5rem;
12
18
  background-color: var(--mtvh-grey-02);
@@ -23,6 +29,10 @@ fieldset.space-selection {
23
29
  div {
24
30
  flex-direction: column;
25
31
  }
32
+
33
+ @include media-breakpoint-up(lg) {
34
+ max-width: 336px;
35
+ }
26
36
  }
27
37
 
28
38
  input:checked + label {
@@ -9,16 +9,21 @@
9
9
  @mixin stepper-small-count {
10
10
  counter-increment: count-1;
11
11
  content: counter(count);
12
+ position: absolute;
12
13
  }
13
14
  @mixin stepper-small-position {
14
15
  opacity: 0;
15
- position: absolute;
16
16
  top: 80px;
17
17
  left: 0;
18
18
  margin-left: auto;
19
19
  text-align: center;
20
20
  color: var(--#{$prefix}stepper-sm-font-color);
21
21
  width: 100%;
22
+ min-height: $input-min-height;
23
+ }
24
+
25
+ @mixin stepper-small-position-active {
26
+ position: absolute;
22
27
  }
23
28
 
24
29
  .mtvh-stepper {
@@ -51,7 +56,9 @@
51
56
  }
52
57
  }
53
58
 
59
+
54
60
  .mtvh-stepper-item {
61
+
55
62
  align-items: center;
56
63
  display: flex;
57
64
  justify-content: center;
@@ -68,6 +75,10 @@
68
75
  margin-right: 4px;
69
76
  }
70
77
 
78
+ &:only-child {
79
+ color: blue;
80
+ }
81
+
71
82
  &:has(a + span),
72
83
  &:has(span + a),
73
84
  &.completed {
@@ -157,9 +168,16 @@
157
168
  a {
158
169
  opacity: 1;
159
170
  @include active-link-style;
171
+ @include media-breakpoint-down($stepper-breakpoint) {
172
+ @include stepper-small-position-active;
173
+ }
160
174
  }
161
175
  }
162
176
  }
177
+ .mtvh-stepper-item:only-child {
178
+ border-radius: 50px;
179
+ }
180
+
163
181
  }
164
182
 
165
183
  .mtvh-stepper-small {
@@ -169,6 +187,13 @@
169
187
  span {
170
188
  @include stepper-small-position;
171
189
  }
190
+ &.active {
191
+ a,
192
+ span {
193
+ @include stepper-small-position-active;
194
+
195
+ }
196
+ }
172
197
  &:before {
173
198
  @include stepper-small-count;
174
199
  }