@mtvh/mtvh-design-system 0.0.24 → 0.0.26

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 (106) hide show
  1. package/assets/scss/base/_all.scss +3 -3
  2. package/assets/scss/base/_functions.scss +16 -15
  3. package/assets/scss/base/_global.scss +1 -1
  4. package/assets/scss/base/_print.scss +5 -5
  5. package/assets/scss/common/_custom.scss +7 -10
  6. package/assets/scss/components/_alert.scss +0 -1
  7. package/assets/scss/components/_all.scss +13 -11
  8. package/assets/scss/components/_banner.scss +7 -13
  9. package/assets/scss/components/_breadcrumb.scss +10 -8
  10. package/assets/scss/components/_button-circle.scss +38 -0
  11. package/assets/scss/components/_button.scss +28 -31
  12. package/assets/scss/components/_card-list.scss +63 -0
  13. package/assets/scss/components/_content-block.scss +35 -33
  14. package/assets/scss/components/_form.scss +92 -77
  15. package/assets/scss/components/_link.scss +9 -9
  16. package/assets/scss/components/_list-group.scss +1 -1
  17. package/assets/scss/components/_notification.scss +0 -1
  18. package/assets/scss/components/_pagination.scss +2 -4
  19. package/assets/scss/components/_payment.scss +0 -0
  20. package/assets/scss/components/_status.scss +5 -6
  21. package/assets/scss/components/_stepper.scss +18 -21
  22. package/assets/scss/config/_all.scss +2 -2
  23. package/assets/scss/config/_font.scss +5 -5
  24. package/assets/scss/config/_icon-list.scss +685 -104
  25. package/assets/scss/config/_map-amends.scss +0 -4
  26. package/assets/scss/config/_palette.scss +38 -40
  27. package/assets/scss/config/_theme.scss +3 -6
  28. package/assets/scss/config/_variables.scss +117 -117
  29. package/assets/scss/core/_all.scss +2 -2
  30. package/assets/scss/core/iconography/_icon.scss +26 -13
  31. package/assets/scss/core/typography/_typography.scss +36 -18
  32. package/assets/scss/forms/_form-check.scss +14 -16
  33. package/assets/scss/forms/_form-chip.scss +13 -16
  34. package/assets/scss/forms/_form-control.scss +32 -9
  35. package/assets/scss/forms/_form-date-input.scss +0 -1
  36. package/assets/scss/forms/_form-select.scss +3 -5
  37. package/assets/scss/forms/_formio.scss +24 -22
  38. package/assets/scss/forms/_global.scss +1 -1
  39. package/assets/scss/forms/_input-group.scss +1 -1
  40. package/assets/scss/forms/_labels.scss +2 -2
  41. package/assets/scss/forms/_mtvho_contact_phone.scss +2 -2
  42. package/assets/scss/forms/_validation.scss +6 -4
  43. package/assets/scss/mixins/_butttons.scss +38 -10
  44. package/assets/scss/mixins/_form.scss +8 -12
  45. package/assets/scss/mixins/_icon.scss +38 -28
  46. package/assets/scss/mtvh.scss +5 -5
  47. package/dist/images/icons/alarm-clock.svg +7 -0
  48. package/dist/images/icons/bar-chart.svg +7 -0
  49. package/dist/images/icons/bell.svg +6 -0
  50. package/dist/images/icons/box-open.svg +7 -0
  51. package/dist/images/icons/calculator.svg +14 -0
  52. package/dist/images/icons/calendar.svg +7 -0
  53. package/dist/images/icons/call.svg +6 -0
  54. package/dist/images/icons/chart-with-down-arrow.svg +6 -0
  55. package/dist/images/icons/chart-with-up-arrow.svg +6 -0
  56. package/dist/images/icons/checkmark.svg +6 -0
  57. package/dist/images/icons/clipboard-alt.svg +10 -0
  58. package/dist/images/icons/clipboard.svg +12 -0
  59. package/dist/images/icons/clock.svg +9 -0
  60. package/dist/images/icons/cog-purple.svg +5 -0
  61. package/dist/images/icons/container.svg +6 -0
  62. package/dist/images/icons/cup.svg +7 -0
  63. package/dist/images/icons/envelop-closed.svg +4 -0
  64. package/dist/images/icons/envelop-open.svg +5 -0
  65. package/dist/images/icons/envelop-with-letter.svg +7 -0
  66. package/dist/images/icons/filters.svg +8 -0
  67. package/dist/images/icons/flower.svg +7 -0
  68. package/dist/images/icons/frame.svg +8 -0
  69. package/dist/images/icons/halifax.svg +14 -0
  70. package/dist/images/icons/hanging-picture.svg +9 -0
  71. package/dist/images/icons/heart.svg +4 -0
  72. package/dist/images/icons/hourglass.svg +7 -0
  73. package/dist/images/icons/house.svg +5 -0
  74. package/dist/images/icons/jigsaw.svg +8 -0
  75. package/dist/images/icons/keys.svg +8 -0
  76. package/dist/images/icons/leaf.svg +4 -0
  77. package/dist/images/icons/line-graph.svg +6 -0
  78. package/dist/images/icons/location-pointer.svg +5 -0
  79. package/dist/images/icons/map-with-pointer.svg +6 -0
  80. package/dist/images/icons/mastercard.svg +7 -0
  81. package/dist/images/icons/monitor.svg +6 -0
  82. package/dist/images/icons/natwest.svg +14 -0
  83. package/dist/images/icons/padlock.svg +6 -0
  84. package/dist/images/icons/page.svg +7 -0
  85. package/dist/images/icons/phone-with-speech.svg +8 -0
  86. package/dist/images/icons/pie-chart.svg +7 -0
  87. package/dist/images/icons/presentation-board.svg +5 -0
  88. package/dist/images/icons/presentation.svg +5 -0
  89. package/dist/images/icons/printer.svg +7 -0
  90. package/dist/images/icons/rbs.svg +14 -0
  91. package/dist/images/icons/recycle.svg +6 -0
  92. package/dist/images/icons/ringing.svg +12 -0
  93. package/dist/images/icons/santander.svg +15 -0
  94. package/dist/images/icons/shield-with-tick.svg +5 -0
  95. package/dist/images/icons/shield.svg +6 -0
  96. package/dist/images/icons/signposts.svg +5 -0
  97. package/dist/images/icons/speech-bubbles.svg +6 -0
  98. package/dist/images/icons/star.svg +4 -0
  99. package/dist/images/icons/stopwatch.svg +8 -0
  100. package/dist/images/icons/tree.svg +4 -0
  101. package/dist/images/icons/visacard.svg +11 -0
  102. package/dist/images/icons/wallet-with-notes.svg +5 -0
  103. package/dist/js/app.min.js +1 -1
  104. package/dist/mtvh.min.css +35 -1
  105. package/package.json +1 -1
  106. package/assets/scss/components/_close.scss +0 -48
@@ -1,14 +1,19 @@
1
1
  .mtvh-content-block {
2
-
2
+ border-radius: 0.5rem;
3
+ position: relative;
3
4
  padding: $mtvh-spacing-6 $mtvh-spacing-5 $mtvh-spacing-5 $mtvh-spacing-5;
4
5
  @include media-breakpoint-up(md) {
5
- padding: $mtvh-spacing-6 $mtvh-spacing-6 $mtvh-spacing-5 $mtvh-spacing-6;
6
+ padding: $mtvh-spacing-6;
7
+ }
8
+
9
+ &:last-of-type {
10
+ .mtvh-link {
11
+ padding-bottom: 0;
12
+ }
6
13
  }
7
- border-radius: .5rem;
8
- position: relative;
9
14
 
10
15
  &__date {
11
- margin-bottom: .5rem;
16
+ margin-bottom: 0.5rem;
12
17
  }
13
18
 
14
19
  &--text-only {
@@ -28,7 +33,6 @@
28
33
  }
29
34
 
30
35
  &-link-card {
31
-
32
36
  text-decoration: none;
33
37
  box-shadow: var(--#{$prefix}box-shadow);
34
38
  padding: $mtvh-spacing-5 $mtvh-spacing-5 $mtvh-spacing-6 $mtvh-spacing-5;
@@ -47,19 +51,21 @@
47
51
  }
48
52
 
49
53
  &:focus-within {
50
- outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}btn-outline-color);
54
+ outline: solid var(--#{$prefix}btn-outline-border)
55
+ var(--#{$prefix}btn-outline-color);
51
56
  outline-offset: var(--#{$prefix}btn-outline-border);
52
57
  background-color: var(--#{$prefix}white);
53
58
  }
54
- &:active, &:focus {
59
+ &:active,
60
+ &:focus {
55
61
  background-color: var(--#{$prefix}white);
56
62
  outline: unset;
57
63
  }
58
- &:hover {
64
+ &:hover {
59
65
  outline: solid $btn-border-width var(--#{$prefix}purple-03);
60
66
  outline-offset: 0;
61
67
  }
62
- &:active{
68
+ &:active {
63
69
  background-color: var(--#{$prefix}purple-01);
64
70
  }
65
71
 
@@ -78,7 +84,8 @@
78
84
  z-index: 100;
79
85
  }
80
86
 
81
- &:active, &:focus {
87
+ &:active,
88
+ &:focus {
82
89
  outline: unset;
83
90
  }
84
91
  }
@@ -86,24 +93,26 @@
86
93
  font-size: $mtvh-base-font-size;
87
94
  }
88
95
  }
89
- .mtvh-btn, p {
96
+ .mtvh-btn,
97
+ p {
90
98
  &:last-child {
91
99
  margin-bottom: 0;
92
100
  }
93
101
  }
94
102
 
95
- h3, .mtvh-h3 {
96
- + .mtvh-btn {
103
+ h3,
104
+ .mtvh-h3 {
105
+ + .mtvh-btn {
97
106
  margin-top: 0.625rem;
98
107
  }
99
108
  }
100
- h4, .mtvh-h4 {
101
- + .mtvh-btn {
109
+ h4,
110
+ .mtvh-h4 {
111
+ + .mtvh-btn {
102
112
  margin-top: 0.625rem;
103
113
  }
104
114
  }
105
115
 
106
-
107
116
  &-no-padding {
108
117
  padding: 0;
109
118
  }
@@ -119,10 +128,8 @@
119
128
  background-color: var(--#{$prefix}content-block-bg);
120
129
  }
121
130
 
122
-
123
131
  &-icon {
124
-
125
- &:not(.mtvh-content-block-link-card ) {
132
+ &:not(.mtvh-content-block-link-card) {
126
133
  padding: $mtvh-spacing-5;
127
134
  @include media-breakpoint-up(md) {
128
135
  padding: $mtvh-spacing-5 $mtvh-spacing-6;
@@ -130,15 +137,16 @@
130
137
  }
131
138
 
132
139
  .mtvh-icon {
133
- margin-bottom: $mtvh-spacing-3;
134
- height: $icon-size-scale-xl;
135
- display: block;
140
+ margin-bottom: $mtvh-spacing-3;
141
+ height: $icon-size-scale-xl;
142
+ display: block;
136
143
  }
137
144
 
138
- h3:has(+ p + p ), h3:has(+ p + p + p), h3:has(+ div){
145
+ h3:has(+ p + p),
146
+ h3:has(+ p + p + p),
147
+ h3:has(+ div) {
139
148
  margin-bottom: $mtvh-spacing-5;
140
149
  }
141
-
142
150
  }
143
151
 
144
152
  &-container {
@@ -146,7 +154,6 @@
146
154
  }
147
155
 
148
156
  &-body {
149
-
150
157
  @include media-breakpoint-up(md) {
151
158
  max-width: 380px;
152
159
  }
@@ -160,12 +167,11 @@
160
167
  &-header {
161
168
  padding-bottom: $mtvh-spacing-5;
162
169
 
163
- h2 {
170
+ h2 {
164
171
  margin-bottom: $mtvh-spacing-3;
165
172
  }
166
173
  }
167
174
  &-payment {
168
-
169
175
  padding-top: $mtvh-spacing-5;
170
176
  padding-bottom: $mtvh-spacing-5;
171
177
  border-top: 1px solid var(--#{$prefix}grey-02);
@@ -188,7 +194,6 @@
188
194
  margin-bottom: 8px;
189
195
  }
190
196
 
191
-
192
197
  @include media-breakpoint-up(md) {
193
198
  border: 0;
194
199
  position: absolute;
@@ -198,7 +203,6 @@
198
203
  }
199
204
  }
200
205
  &-footer {
201
-
202
206
  padding-top: $mtvh-spacing-5;
203
207
 
204
208
  @include media-breakpoint-up(md) {
@@ -214,7 +218,7 @@
214
218
  }
215
219
  }
216
220
 
217
- @each $state, $variable in $content-block-theme-border{
221
+ @each $state, $variable in $content-block-theme-border {
218
222
  .mtvh-content-block-border--#{$state} {
219
223
  --#{$prefix}content-block-border: #{$variable};
220
224
  }
@@ -225,5 +229,3 @@
225
229
  --#{$prefix}content-block-bg: #{$variable};
226
230
  }
227
231
  }
228
-
229
-
@@ -7,115 +7,130 @@
7
7
  @import "../forms/input-group";
8
8
  @import "../forms/validation";
9
9
 
10
-
11
10
  .formio-form {
12
11
  @import "../forms/formio";
13
12
  @import "../forms/mtvho_contact_phone";
14
13
  @import "../forms/mtvho_contact_email";
15
14
  }
16
15
 
17
- .mtvh-form, .mtvh-formio, formio {
16
+ .mtvh-form,
17
+ .mtvh-formio,
18
+ formio {
18
19
 
19
- &:has(.mtvh-form-container), &:has(.formio-form) {
20
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-6};
21
+ @include media-breakpoint-up("lg") {
22
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-7};
23
+ }
20
24
 
21
- --#{$prefix}form-padding-y: #{$mtvh-spacing-7};
22
- --#{$prefix}form-padding-x: #{$mtvh-spacing-4};
23
- --#{$prefix}form-group-padding-y: #{$form-group-margin-bottom};
25
+ &:has(.mtvh-form-container),
26
+ &:has(.formio-form) {
27
+ --#{$prefix}form-padding-y: #{$mtvh-spacing-7};
28
+ --#{$prefix}form-padding-x: #{$mtvh-spacing-4};
29
+ --#{$prefix}form-group-padding-y: #{$form-group-margin-bottom};
24
30
 
25
- @include media-breakpoint-up("lg") {
26
- --#{$prefix}form-padding-y: #{$mtvh-spacing-8};
27
- --#{$prefix}form-padding-x: #{$mtvh-spacing-11};
28
- }
31
+ @include media-breakpoint-up("lg") {
32
+ --#{$prefix}form-padding-y: #{$mtvh-spacing-8};
33
+ --#{$prefix}form-padding-x: #{$mtvh-spacing-11};
34
+ }
29
35
 
30
- background-color: var(--#{$prefix}white);
31
- margin: 0 calc(var(--#{$prefix}form-padding-x) * -1);
32
- padding: var(--#{$prefix}form-padding-y) var(--#{$prefix}form-padding-x);
33
- overflow: hidden;
36
+ background-color: var(--#{$prefix}white);
37
+ margin: 0 calc(var(--#{$prefix}form-padding-x) * -1);
38
+ padding: var(--#{$prefix}form-padding-y) var(--#{$prefix}form-padding-x);
39
+ overflow: hidden;
34
40
 
35
- @include media-breakpoint-up("md") {
36
- margin: 0;
37
- }
41
+ @include media-breakpoint-up("md") {
42
+ margin: 0;
38
43
  }
44
+ }
39
45
 
40
- .form-group, .formio-form-group.mb-2 {
41
- margin-bottom: var(--#{$prefix}form-group-padding-y) !important;
42
-
43
- .formio-choices.choices {
44
- --#{$prefix}form-group-padding-y: 0;
45
- }
46
+ .form-group,
47
+ .formio-form-group.mb-2 {
48
+ margin-bottom: var(--#{$prefix}form-group-padding-y) !important;
46
49
 
47
- &:empty {
48
- display: none;
49
- --#{$prefix}form-group-padding-y: 0;
50
- }
50
+ .formio-choices.choices {
51
+ --#{$prefix}form-group-padding-y: 0;
51
52
  }
52
53
 
53
- label.field-required, legend.field-required, .tab-error, .mtvh-form-container-required .field-required {
54
- &:after {
55
- content: " *";
56
- color: $form-feedback-invalid-color;
57
- }
54
+ &:empty {
55
+ display: none;
56
+ --#{$prefix}form-group-padding-y: 0;
58
57
  }
58
+ }
59
59
 
60
- .form-text {
61
- margin-top: $mtvh-spacing-3;
62
- font-size: $font-size-sm;
63
- margin-bottom: $mtvh-spacing-4;
60
+ label.field-required,
61
+ legend.field-required,
62
+ .tab-error,
63
+ .mtvh-form-container-required .field-required {
64
+ &:after {
65
+ content: " *";
66
+ color: $form-feedback-invalid-color;
67
+ }
68
+ }
64
69
 
65
- &.text-right, &.pull-right {
66
- float: none;
67
- margin-bottom: 0;
68
- text-align: left !important;
69
- }
70
+ .form-text {
71
+ font-size: $font-size-sm;
72
+ margin-bottom: $mtvh-spacing-4;
73
+
74
+ &.text-right,
75
+ &.pull-right,
76
+ &.text-end,
77
+ &.float-end {
78
+ float: none !important;
79
+ margin-bottom: 0;
80
+ text-align: left !important;
70
81
  }
82
+ }
83
+ }
71
84
 
85
+ .mtvh-form-container,
86
+ .formio-form {
87
+ --#{$prefix}form-max-width: unset;
88
+ --#{$prefix}form-control-input-width: #{$input-width-size-lg};
89
+
90
+ @include media-breakpoint-up("md") {
91
+ --#{$prefix}form-max-width: 576px;
92
+ }
93
+ @include media-breakpoint-up("lg") {
94
+ --#{$prefix}form-group-padding-y: #{$form-group-lg-margin-bottom};
95
+ --#{$prefix}form-max-width: 550px;
96
+ }
97
+ max-width: var(--#{$prefix}form-max-width);
98
+ @include media-breakpoint-up("md") {
99
+ padding-left: 60px;
100
+ padding-right: 60px;
72
101
  }
73
102
 
103
+ @include media-breakpoint-up("lg") {
104
+ margin: 0 auto;
105
+ padding: 0;
106
+ }
74
107
 
75
- .mtvh-form-container, .formio-form {
108
+ &--unset {
109
+ max-width: unset;
110
+ margin: 0;
111
+ padding-left: 0;
112
+ padding-right: 0;
76
113
 
114
+ }
115
+ &--md {
116
+ --#{$prefix}form-control-input-width: #{$input-width-size-l};
117
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-6};
77
118
  --#{$prefix}form-max-width: unset;
78
- --#{$prefix}form-control-input-width: #{$input-width-size-lg};
79
119
 
80
120
  @include media-breakpoint-up("md") {
81
121
  --#{$prefix}form-max-width: 576px;
82
122
  }
83
123
  @include media-breakpoint-up("lg") {
84
- --#{$prefix}form-group-padding-y: #{$form-group-lg-margin-bottom};
85
- --#{$prefix}form-max-width: 550px;
86
- }
87
-
88
- &--md {
89
-
90
- --#{$prefix}form-control-input-width: #{$input-width-size-l};
91
- --#{$prefix}form-group-padding-y: #{$mtvh-spacing-6};
92
- --#{$prefix}form-max-width: unset;
93
-
94
- @include media-breakpoint-up("md") {
95
- --#{$prefix}form-max-width: 576px;
96
- }
97
- @include media-breakpoint-up("lg") {
98
- --#{$prefix}form-group-padding-y: #{$mtvh-spacing-7};
99
- --#{$prefix}form-max-width: 636px;
100
- }
101
- }
102
-
103
- max-width: var(--#{$prefix}form-max-width);
104
- @include media-breakpoint-up("md") {
105
- padding-left: 60px;
106
- padding-right: 60px;
107
- }
108
-
109
- @include media-breakpoint-up("lg") {
110
- margin:0 auto;
111
- padding: 0;
124
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-7};
125
+ --#{$prefix}form-max-width: 636px;
112
126
  }
127
+ }
113
128
 
114
- .mtvh-form-container-required {
115
- font-size: $font-size-xs;
116
- padding: $mtvh-spacing-4 0 $mtvh-spacing-6 0;
117
- @include media-breakpoint-down('lg') {
118
- padding-bottom: $mtvh-spacing-7;
119
- }
129
+ .mtvh-form-container-required {
130
+ font-size: $font-size-xs;
131
+ padding: 0 0 $mtvh-spacing-6 0;
132
+ @include media-breakpoint-down("lg") {
133
+ padding-bottom: $mtvh-spacing-7;
120
134
  }
135
+ }
121
136
  }
@@ -4,19 +4,18 @@ $mtvh-links: (
4
4
  text-color-hover: var(--#{$prefix}blue-05),
5
5
  text-color-active: var(--#{$prefix}blue-06),
6
6
  text-color-focus: var(--#{$prefix}blue-05),
7
- text-disabled-color: var(--#{$prefix}grey-06)
7
+ text-disabled-color: var(--#{$prefix}grey-06),
8
8
  ),
9
9
  light: (
10
10
  text-color: var(--#{$prefix}white),
11
11
  text-color-hover: var(--#{$prefix}grey-04),
12
12
  text-color-active: var(--#{$prefix}grey-05),
13
13
  text-color-focus: var(--#{$prefix}grey-04),
14
- text-disabled-color: var(--#{$prefix}grey-06)
14
+ text-disabled-color: var(--#{$prefix}grey-06),
15
15
  ),
16
16
  );
17
17
 
18
18
  .mtvh-link {
19
-
20
19
  line-height: var(--mtvh-btn-line-height);
21
20
  padding-top: $mtvh-spacing-3;
22
21
  padding-bottom: $mtvh-spacing-3;
@@ -24,6 +23,8 @@ $mtvh-links: (
24
23
  cursor: pointer;
25
24
  display: inline-block;
26
25
  min-height: 2.75rem;
26
+ border: 0;
27
+ background: transparent;
27
28
 
28
29
  &:hover {
29
30
  color: var(--#{$prefix}blue-05);
@@ -40,7 +41,8 @@ $mtvh-links: (
40
41
 
41
42
  &:focus {
42
43
  box-shadow: none;
43
- outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}btn-outline-color);
44
+ outline: solid var(--#{$prefix}btn-outline-border)
45
+ var(--#{$prefix}btn-outline-color);
44
46
  text-decoration: none;
45
47
  border-radius: var(--#{$prefix}btn-border-radius);
46
48
  color: var(--#{$prefix}blue-05);
@@ -50,7 +52,8 @@ $mtvh-links: (
50
52
  color: var(--#{$prefix}blue-06);
51
53
  }
52
54
 
53
- &.disabled, &[aria-disabled="true"] {
55
+ &.disabled,
56
+ &[aria-disabled="true"] {
54
57
  color: var(--#{$prefix}grey-06);
55
58
  pointer-events: none;
56
59
  cursor: not-allowed;
@@ -65,8 +68,7 @@ $mtvh-links: (
65
68
  }
66
69
 
67
70
  @if map-get($property-map, text-color-focus) {
68
-
69
- &:focus {
71
+ &:focus {
70
72
  color: map-get($property-map, text-color-focus);
71
73
  }
72
74
 
@@ -80,7 +82,6 @@ $mtvh-links: (
80
82
  &:disabled,
81
83
  &.disabled {
82
84
  color: map-get($property-map, text-disabled-color);
83
-
84
85
  }
85
86
  }
86
87
  }
@@ -90,5 +91,4 @@ $mtvh-links: (
90
91
  &:after {
91
92
  margin-left: $link-icon-spacing !important;
92
93
  }
93
-
94
94
  }
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  &-border-top {
14
- border :0;
14
+ border: 0;
15
15
  border-top: 1px solid;
16
16
  }
17
17
 
@@ -1,5 +1,4 @@
1
1
  .mtvh-notification {
2
-
3
2
  position: relative;
4
3
  .mtvh-icon {
5
4
  position: relative;
@@ -1,20 +1,18 @@
1
1
  .pagination {
2
2
  .page-link {
3
-
4
3
  &:has(.mtvh-icon) {
5
4
  --#{$prefix}pagination-padding-x: 8px;
6
- .mtvh-icon:before, .mtvh-icon:after {
5
+ .mtvh-icon:before,
6
+ .mtvh-icon:after {
7
7
  margin-right: 0;
8
8
  margin-left: 0;
9
9
  }
10
10
  }
11
11
  @include field-focus();
12
-
13
12
  }
14
13
 
15
14
  .page-item {
16
15
  margin-right: 4px;
17
16
  margin-bottom: 0;
18
17
  }
19
-
20
18
  }
File without changes
@@ -5,16 +5,15 @@
5
5
  background-color: var(--#{$prefix}badge-background);
6
6
  border-color: var(--#{$prefix}badge-border-color);
7
7
  color: var(--#{$prefix}badge-color);
8
- outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}badge-border-color);
8
+ outline: solid var(--#{$prefix}btn-outline-border)
9
+ var(--#{$prefix}badge-border-color);
9
10
  outline-offset: calc(var(--#{$prefix}btn-outline-border) * -1);
10
11
  text-transform: uppercase;
11
12
  line-height: 1.25;
12
13
 
13
-
14
14
  @include media-breakpoint-up(md) {
15
15
  --#{$prefix}badge-padding-x: #{$mtvh-spacing-3};
16
16
  --#{$prefix}badge-padding-y: #{$mtvh-spacing-2};
17
-
18
17
  }
19
18
  }
20
19
 
@@ -24,8 +23,8 @@
24
23
  $color: map-get($variable, "color");
25
24
 
26
25
  .badge--#{$state} {
27
- --#{$prefix}badge-color: #{$color};
28
- --#{$prefix}badge-border-color: #{$border-color};
29
- --#{$prefix}badge-background: #{$bg-colour};
26
+ --#{$prefix}badge-color: #{$color};
27
+ --#{$prefix}badge-border-color: #{$border-color};
28
+ --#{$prefix}badge-background: #{$bg-colour};
30
29
  }
31
30
  }
@@ -1,4 +1,3 @@
1
-
2
1
  @mixin stepper-small-container {
3
2
  &.mtvh-stepper-small {
4
3
  @content;
@@ -7,12 +6,11 @@
7
6
  @content;
8
7
  }
9
8
  }
10
- @mixin stepper-small-count {
9
+ @mixin stepper-small-count {
11
10
  counter-increment: count-1;
12
11
  content: counter(count);
13
12
  }
14
13
  @mixin stepper-small-position {
15
-
16
14
  opacity: 0;
17
15
  position: absolute;
18
16
  top: 80px;
@@ -20,13 +18,10 @@
20
18
  margin-left: auto;
21
19
  text-align: center;
22
20
  color: var(--#{$prefix}stepper-sm-font-color);
23
- width:100%;
24
-
21
+ width: 100%;
25
22
  }
26
23
 
27
-
28
24
  .mtvh-stepper {
29
-
30
25
  --#{$prefix}stepper-font-color: #{$stepper-font-color};
31
26
  --#{$prefix}stepper-sm-font-color: #{$stepper-sm-font-color};
32
27
  --#{$prefix}stepper-font-size: #{$stepper-font-size};
@@ -57,7 +52,6 @@
57
52
  }
58
53
 
59
54
  .mtvh-stepper-item {
60
-
61
55
  align-items: center;
62
56
  display: flex;
63
57
  justify-content: center;
@@ -74,14 +68,17 @@
74
68
  margin-right: 4px;
75
69
  }
76
70
 
77
- &:has( a + span), &:has( span + a ), &.completed {
71
+ &:has(a + span),
72
+ &:has(span + a),
73
+ &.completed {
78
74
  background-color: var(--#{$prefix}stepper-bg-color);
79
75
  color: inherit;
80
76
  font-weight: bold;
81
77
  }
82
78
 
83
79
  &:focus-within {
84
- outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}btn-outline-color);
80
+ outline: solid var(--#{$prefix}btn-outline-border)
81
+ var(--#{$prefix}btn-outline-color);
85
82
  outline-offset: var(--#{$prefix}btn-outline-border);
86
83
  }
87
84
 
@@ -89,7 +86,7 @@
89
86
  border-radius: 50px 0 0 50px;
90
87
  }
91
88
  &:last-child {
92
- border-radius: 0 50px 50px 0;
89
+ border-radius: 0 50px 50px 0;
93
90
  }
94
91
 
95
92
  &.active {
@@ -101,7 +98,7 @@
101
98
  }
102
99
 
103
100
  &:before {
104
- content: counter(count) ".";
101
+ content: counter(count) ".";
105
102
  @include media-breakpoint-down($stepper-breakpoint) {
106
103
  @include stepper-small-count;
107
104
  }
@@ -113,13 +110,12 @@
113
110
  font-size: var(--#{$prefix}stepper-font-size);
114
111
 
115
112
  &:focus {
116
- border:0;
113
+ border: 0;
117
114
  outline: 0;
118
115
  }
119
116
  }
120
117
 
121
118
  &:has(a) {
122
-
123
119
  &:hover {
124
120
  background-color: var(--#{$prefix}blue-04);
125
121
  cursor: pointer;
@@ -127,7 +123,6 @@
127
123
  }
128
124
 
129
125
  &:has(a:not(.link-inactive)) {
130
-
131
126
  &:before {
132
127
  font-weight: $mtvh-font-weight-bold;
133
128
  }
@@ -147,21 +142,22 @@
147
142
  }
148
143
  }
149
144
 
150
- a, span {
145
+ a,
146
+ span {
151
147
  @include media-breakpoint-up($stepper-breakpoint) {
152
148
  padding-left: 3px;
153
149
  }
154
150
  @include media-breakpoint-down($stepper-breakpoint) {
155
- @include stepper-small-position
151
+ @include stepper-small-position;
156
152
  }
157
153
  }
158
154
 
159
155
  &.active {
160
- span, a {
156
+ span,
157
+ a {
161
158
  opacity: 1;
162
159
  @include active-link-style;
163
160
  }
164
-
165
161
  }
166
162
  }
167
163
  }
@@ -169,8 +165,9 @@
169
165
  .mtvh-stepper-small {
170
166
  .mtvh-stepper-item {
171
167
  --#{$prefix}stepper-font-color: #{$stepper-sm-font-color};
172
- a, span {
173
- @include stepper-small-position
168
+ a,
169
+ span {
170
+ @include stepper-small-position;
174
171
  }
175
172
  &:before {
176
173
  @include stepper-small-count;
@@ -1,5 +1,5 @@
1
1
  @import "variables";
2
2
  @import "font";
3
- @import 'palette';
4
- @import 'theme';
3
+ @import "palette";
4
+ @import "theme";
5
5
  @import "icon-list";
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
- font-family: 'Paralucent';
2
+ font-family: "Paralucent";
3
3
  src:
4
- url('#{$font-path}paralucent-demibold-webfont.woff2') format('woff2'),
5
- url('#{$font-path}paralucent-demibold-webfont.woff') format('woff');
6
- font-weight:600;
7
- font-style:normal;
4
+ url("#{$font-path}paralucent-demibold-webfont.woff2") format("woff2"),
5
+ url("#{$font-path}paralucent-demibold-webfont.woff") format("woff");
6
+ font-weight: 600;
7
+ font-style: normal;
8
8
  }