@mtvh/mtvh-design-system 0.0.31 → 0.0.33
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/assets/scss/components/_accordion.scss +66 -0
- package/assets/scss/components/_agent-repair-location-list.scss +13 -0
- package/assets/scss/components/_all.scss +4 -0
- package/assets/scss/components/_banner.scss +1 -1
- package/assets/scss/components/_button-circle.scss +3 -0
- package/assets/scss/components/_button.scss +5 -8
- package/assets/scss/components/_card-list.scss +38 -6
- package/assets/scss/components/_collapse_button.scss +14 -0
- package/assets/scss/components/_content-block.scss +13 -28
- package/assets/scss/components/_form.scss +8 -6
- package/assets/scss/components/_link.scss +3 -2
- package/assets/scss/components/_pagination.scss +1 -1
- package/assets/scss/components/_payment.scss +59 -0
- package/assets/scss/components/_space-selection.scss +2 -0
- package/assets/scss/components/_table.scss +46 -0
- package/assets/scss/config/_icon-list.scss +11 -10
- package/assets/scss/config/_theme.scss +1 -1
- package/assets/scss/config/_variables.scss +19 -2
- package/assets/scss/core/iconography/_icon.scss +4 -0
- package/assets/scss/core/typography/_typography.scss +7 -3
- package/assets/scss/forms/_form-check.scss +2 -1
- package/assets/scss/forms/_input-group.scss +0 -24
- package/assets/scss/forms/_search.scss +31 -0
- package/assets/scss/mixins/_butttons.scss +23 -8
- package/assets/scss/mixins/_form.scss +3 -9
- package/assets/scss/mixins/_style.scss +16 -0
- package/dist/js/app.min.js +1 -1
- package/dist/mtvh.min.css +3 -3
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// list style overrides for the MTVHO agent repair search results
|
|
2
|
+
.agent-repair-location-search-list {
|
|
3
|
+
list-style-type: none;
|
|
4
|
+
padding-left: 0;
|
|
5
|
+
|
|
6
|
+
ul {
|
|
7
|
+
padding-left: $mtvh-spacing-6;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.agent-repair-location-search-list-additional {
|
|
11
|
+
border-bottom: 1px solid var(--mtvh-grey-03);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
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
|
);
|
|
5
7
|
min-width: unset;
|
|
6
8
|
min-height: unset;
|
|
9
|
+
|
|
7
10
|
@include button-circle();
|
|
8
11
|
|
|
9
12
|
}
|
|
@@ -129,21 +129,18 @@ $mtvh-buttons: (
|
|
|
129
129
|
box-shadow: none;
|
|
130
130
|
|
|
131
131
|
&:focus-visible {
|
|
132
|
-
|
|
133
|
-
outline: solid var(--#{$prefix}btn-outline-border)
|
|
134
|
-
var(--#{$prefix}btn-outline-color);
|
|
135
|
-
outline-offset: var(--#{$prefix}btn-outline-border);
|
|
136
|
-
text-decoration: none;
|
|
137
|
-
}
|
|
138
|
-
&:focus:not(:focus-visible) {
|
|
139
|
-
outline: 0;
|
|
132
|
+
@include focus-radius;
|
|
140
133
|
}
|
|
134
|
+
|
|
141
135
|
&:hover {
|
|
142
136
|
text-decoration: none;
|
|
143
137
|
}
|
|
144
138
|
}
|
|
145
139
|
|
|
146
140
|
.mtvh-btn {
|
|
141
|
+
--#{$prefix}icon-right-spacing: #{$button-icon-spacing};
|
|
142
|
+
--#{$prefix}icon-left-spacing: 0;
|
|
143
|
+
|
|
147
144
|
min-height: 2.5rem;
|
|
148
145
|
min-width: var(--#{$prefix}btn-min-width);
|
|
149
146
|
border-radius: $btn-border-radius;
|
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
.card-list {
|
|
2
|
+
border-radius: $border-radius-lg;
|
|
3
|
+
background-color: var(--#{$prefix}white);
|
|
4
|
+
|
|
2
5
|
&-item {
|
|
6
|
+
|
|
3
7
|
display: flex;
|
|
4
8
|
flex-direction: row;
|
|
5
9
|
flex-wrap: nowrap;
|
|
10
|
+
align-items: center;
|
|
11
|
+
|
|
6
12
|
border-bottom: 1px solid var(--#{$prefix}grey-03);
|
|
7
|
-
padding-top: $mtvh-spacing-
|
|
13
|
+
padding-top: $mtvh-spacing-4;
|
|
8
14
|
padding-bottom: $mtvh-spacing-5;
|
|
15
|
+
margin-left: $mtvh-spacing-5;
|
|
16
|
+
margin-right: $mtvh-spacing-5;
|
|
17
|
+
|
|
18
|
+
@include media-breakpoint-up(md) {
|
|
19
|
+
margin-left: $mtvh-spacing-6;
|
|
20
|
+
margin-right: $mtvh-spacing-6;
|
|
21
|
+
padding-top: $mtvh-spacing-5;
|
|
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
|
+
}
|
|
9
33
|
|
|
10
34
|
&:has(.label) {
|
|
11
35
|
&:last-child {
|
|
@@ -30,15 +54,22 @@
|
|
|
30
54
|
|
|
31
55
|
div {
|
|
32
56
|
flex-wrap: nowrap;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.form-check-input, span {
|
|
60
|
+
margin-right: $mtvh-spacing-5;
|
|
36
61
|
}
|
|
37
62
|
|
|
38
63
|
span {
|
|
64
|
+
--#{$prefix}icon-right-spacing: #{$mtvh-spacing-5};
|
|
39
65
|
display: block;
|
|
40
66
|
align-self: center;
|
|
41
|
-
|
|
67
|
+
font-size: $font-size-xs;
|
|
68
|
+
@include media-breakpoint-down(sm) {
|
|
69
|
+
&:not(:first-child) {
|
|
70
|
+
padding-top: $mtvh-spacing-2;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
42
73
|
@include media-breakpoint-up(sm) {
|
|
43
74
|
display: inline;
|
|
44
75
|
}
|
|
@@ -53,8 +84,9 @@
|
|
|
53
84
|
align-self: flex-start;
|
|
54
85
|
}
|
|
55
86
|
|
|
56
|
-
.
|
|
87
|
+
.invalid-feedback {
|
|
57
88
|
flex-basis: 100%;
|
|
89
|
+
padding-top: $mtvh-spacing-4;
|
|
58
90
|
}
|
|
59
91
|
}
|
|
60
92
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// collapse button for use with Bootstrap Collapse components, based on the
|
|
2
|
+
// circle varriation of the close button animation goes through the transition
|
|
3
|
+
// mixin so it adheres to the reduced motion setting.
|
|
4
|
+
.btn-collapse {
|
|
5
|
+
|
|
6
|
+
transform: rotate(0deg);;
|
|
7
|
+
@include transition($btn-collapse-transition);
|
|
8
|
+
|
|
9
|
+
&.collapsed {
|
|
10
|
+
transform: rotate(180deg);
|
|
11
|
+
@include transition($btn-collapse-transition);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -6,10 +6,17 @@
|
|
|
6
6
|
padding: $mtvh-spacing-6 $mtvh-spacing-6 $mtvh-spacing-5 $mtvh-spacing-6;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 {
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@import "../forms/validation";
|
|
9
9
|
@import "../forms/stripe";
|
|
10
10
|
@import "../forms/credit-card-form";
|
|
11
|
+
@import "../forms/search";
|
|
11
12
|
|
|
12
13
|
.formio-form {
|
|
13
14
|
@import "../forms/formio";
|
|
@@ -127,11 +128,12 @@ formio {
|
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.mtvh-form-container-required {
|
|
134
|
+
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;
|
|
136
138
|
}
|
|
137
139
|
}
|
|
@@ -85,10 +85,11 @@ $mtvh-links: (
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
+
|
|
88
89
|
&:before {
|
|
89
|
-
|
|
90
|
+
--#{$prefix}icon-right-spacing: #{$link-icon-spacing};
|
|
90
91
|
}
|
|
91
92
|
&:after {
|
|
92
|
-
|
|
93
|
+
--#{$prefix}icon-left-spacing: #{$link-icon-spacing};
|
|
93
94
|
}
|
|
94
95
|
}
|
|
@@ -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,46 @@
|
|
|
1
|
+
.table-sticky {
|
|
2
|
+
|
|
3
|
+
@include media-breakpoint-down("sm") {
|
|
4
|
+
th:first-child, td:first-child {
|
|
5
|
+
&:after {
|
|
6
|
+
background: var(--#{$prefix}white);
|
|
7
|
+
content: "";
|
|
8
|
+
inset: 0;
|
|
9
|
+
position: absolute;
|
|
10
|
+
z-index: -1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
th:first-child, td:first-child {
|
|
14
|
+
&:before {
|
|
15
|
+
background: linear-gradient(54deg, #000, #d9d9d9 0);
|
|
16
|
+
border-radius: inherit;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
content: "";
|
|
19
|
+
filter: blur(10px);
|
|
20
|
+
opacity: .8;
|
|
21
|
+
position: absolute;
|
|
22
|
+
right: -8px;
|
|
23
|
+
top: 0;
|
|
24
|
+
width: 18px;
|
|
25
|
+
z-index: -1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
thead {
|
|
30
|
+
border-color: black;
|
|
31
|
+
}
|
|
32
|
+
th,td {
|
|
33
|
+
&:first-child,
|
|
34
|
+
{
|
|
35
|
+
background: inherit;
|
|
36
|
+
left: 0;
|
|
37
|
+
position: sticky;
|
|
38
|
+
z-index: 3;
|
|
39
|
+
min-width: 45px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include media-breakpoint-down("sm") {
|
|
43
|
+
text-wrap: nowrap;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -81,9 +81,9 @@ $icons: (
|
|
|
81
81
|
"space-sub-block":
|
|
82
82
|
'<svg width="28" height="28" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.52481 12C1.24033 12 0.998404 11.8987 0.799042 11.6961C0.599681 11.4933 0.5 11.2474 0.5 10.9582V1.0416C0.5 0.752457 0.599681 0.506571 0.799042 0.303943C0.998404 0.101314 1.24033 0 1.52481 0H5.88428C6.16876 0 6.41069 0.101314 6.61005 0.303943C6.80941 0.506571 6.90909 0.752457 6.90909 1.0416V2.74286H12.4752C12.7597 2.74286 13.0016 2.84417 13.201 3.0468C13.4003 3.24943 13.5 3.49531 13.5 3.78446V10.9582C13.5 11.2474 13.4003 11.4933 13.201 11.6961C13.0016 11.8987 12.7597 12 12.4752 12H1.52481ZM1.51182 10.9714H5.89727V9.25714H1.51182V10.9714ZM1.51182 8.22857H5.89727V6.51429H1.51182V8.22857ZM1.51182 5.48571H5.89727V3.77143H1.51182V5.48571ZM1.51182 2.74286H5.89727V1.02857H1.51182V2.74286ZM6.90909 10.9714H12.4882V3.77143H6.90909V10.9714ZM8.89427 6.51429C8.75091 6.51429 8.63071 6.46497 8.53367 6.36634C8.43674 6.26771 8.38828 6.14548 8.38828 5.99966C8.38828 5.85394 8.43674 5.73183 8.53367 5.63331C8.63071 5.53491 8.75091 5.48571 8.89427 5.48571H10.3733C10.5167 5.48571 10.6368 5.53503 10.7337 5.63366C10.8308 5.73217 10.8793 5.85434 10.8793 6.00017C10.8793 6.146 10.8308 6.26811 10.7337 6.36651C10.6368 6.46503 10.5167 6.51429 10.3733 6.51429H8.89427ZM8.89427 9.25714C8.75091 9.25714 8.63071 9.20783 8.53367 9.1092C8.43674 9.01057 8.38828 8.88834 8.38828 8.74251C8.38828 8.5968 8.43674 8.47468 8.53367 8.37617C8.63071 8.27777 8.75091 8.22857 8.89427 8.22857H10.3733C10.5167 8.22857 10.6368 8.27788 10.7337 8.37651C10.8308 8.47503 10.8793 8.5972 10.8793 8.74303C10.8793 8.88886 10.8308 9.01097 10.7337 9.10937C10.6368 9.20789 10.5167 9.25714 10.3733 9.25714H8.89427Z" fill="#9A9A9A"/></svg>',
|
|
83
83
|
"chevron-up":
|
|
84
|
-
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0
|
|
84
|
+
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="20" height="20" viewBox="0 0 20 13"><path fill="#000" d="m10.01 2.252-8.413 9.46a.875.875 0 0 1-.621.31c-.244.013-.466-.09-.665-.308a1.11 1.11 0 0 1-.31-.723c-.009-.262.087-.512.285-.75L8.922.528c.17-.176.34-.309.513-.397C9.608.044 9.8 0 10.01 0c.21 0 .403.044.577.133.173.089.34.222.497.4l8.627 9.704c.188.212.285.456.289.732a1.05 1.05 0 0 1-.291.745c-.2.219-.415.329-.646.329-.231 0-.445-.11-.64-.331l-8.413-9.46Z"/></svg>',
|
|
85
85
|
"chevron-down":
|
|
86
|
-
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0
|
|
86
|
+
'<svg xmlns="http://www.w3.org/2000/svg" fill="none" width="20" height="20" viewBox="0 0 20 13"><path fill="#000" d="M9.99 9.79 18.403.33a.875.875 0 0 1 .621-.309c.244-.014.466.089.665.308.199.22.302.46.31.723.009.262-.086.512-.285.75l-8.636 9.712c-.17.176-.34.308-.513.397a1.247 1.247 0 0 1-.575.132c-.21 0-.403-.045-.577-.134a1.73 1.73 0 0 1-.497-.399L.289 1.805A1.097 1.097 0 0 1 0 1.073 1.051 1.051 0 0 1 .291.329C.491.109.705 0 .937 0c.231 0 .445.11.64.33L9.99 9.79Z"/></svg>'
|
|
87
87
|
);
|
|
88
88
|
|
|
89
89
|
/**
|
|
@@ -127,6 +127,14 @@ $mtvh-icons: (
|
|
|
127
127
|
width: $icon-size-scale-sm,
|
|
128
128
|
height: $icon-size-scale-sm,
|
|
129
129
|
),
|
|
130
|
+
"chevron-up": (
|
|
131
|
+
width: $icon-size-scale-sm,
|
|
132
|
+
height: $icon-size-scale-sm
|
|
133
|
+
),
|
|
134
|
+
"chevron-down": (
|
|
135
|
+
width: $icon-size-scale-sm,
|
|
136
|
+
height: $icon-size-scale-sm
|
|
137
|
+
),
|
|
130
138
|
"spreadsheet": (
|
|
131
139
|
width: $icon-size-scale-sm,
|
|
132
140
|
height: $icon-size-scale-sm,
|
|
@@ -679,14 +687,7 @@ $mtvh-icons: (
|
|
|
679
687
|
height: $icon-size-scale-lg,
|
|
680
688
|
svg-path: "#{$asset-icon-path}mastercard.svg",
|
|
681
689
|
),
|
|
682
|
-
|
|
683
|
-
width: $icon-size-scale-lg,
|
|
684
|
-
height: $icon-size-scale-lg
|
|
685
|
-
),
|
|
686
|
-
"chevron-down": (
|
|
687
|
-
width: $icon-size-scale-lg,
|
|
688
|
-
height: $icon-size-scale-lg
|
|
689
|
-
),
|
|
690
|
+
|
|
690
691
|
"space-building": (
|
|
691
692
|
width: $icon-size-scale-md,
|
|
692
693
|
height: $icon-size-scale-md,
|
|
@@ -162,6 +162,7 @@ $form-feedback-font-size: $font-size-sm;
|
|
|
162
162
|
$form-feedback-invalid-color: $danger;
|
|
163
163
|
|
|
164
164
|
$form-feedback-margin-top: $mtvh-spacing-4;
|
|
165
|
+
$input-min-height: 2.75rem;
|
|
165
166
|
$input-line-height: 1.5;
|
|
166
167
|
$input-font-size: $font-size-sm;
|
|
167
168
|
$input-padding-y: $mtvh-spacing-4;
|
|
@@ -183,7 +184,7 @@ $input-width-size-xl: 450px;
|
|
|
183
184
|
$input-width-size-l: 420px;
|
|
184
185
|
|
|
185
186
|
/* form check */
|
|
186
|
-
$form-check-bg-color:
|
|
187
|
+
$form-check-bg-color: var(--#{$prefix}grey-01);
|
|
187
188
|
$form-check-hover-bg-color: unset;
|
|
188
189
|
$form-check-input-width: 2.75rem;
|
|
189
190
|
$form-check-input-height: 2.75rem;
|
|
@@ -223,6 +224,9 @@ $btn-close-circle-height: 1.25rem;
|
|
|
223
224
|
$btn-close-focus-opacity: 1;
|
|
224
225
|
$btn-close-hover-opacity: 1;
|
|
225
226
|
|
|
227
|
+
/* collapse button */
|
|
228
|
+
$btn-collapse-transition: transform 0.2s ease-in-out;
|
|
229
|
+
|
|
226
230
|
/* stepper */
|
|
227
231
|
$stepper-bg-color: var(--#{$prefix}grey-06);
|
|
228
232
|
$stepper-sm-font-color: var(--#{$prefix}purple-04);
|
|
@@ -233,7 +237,6 @@ $stepper-font-size: $font-size-xs;
|
|
|
233
237
|
$stepper-font-color: var(--#{$prefix}white);
|
|
234
238
|
$stepper-breakpoint: "lg";
|
|
235
239
|
|
|
236
|
-
$alert-border-radius: 0.5rem;
|
|
237
240
|
$alert-padding-x: 0;
|
|
238
241
|
$alert-padding-y: 0;
|
|
239
242
|
|
|
@@ -388,3 +391,17 @@ $pagination-font-size: $font-size-sm;
|
|
|
388
391
|
$pagination-focus-box-shadow: unset;
|
|
389
392
|
$pagination-border-width: 0;
|
|
390
393
|
$pagination-bg: transparent;
|
|
394
|
+
|
|
395
|
+
/* Accordion */
|
|
396
|
+
$accordion-button-icon: url("data:image/svg+xml,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.8399 10.9658C14.1412 10.6644 14.4979 10.5549 15.0753 10.7285C15.6526 10.902 16.0347 11.1793 15.9975 11.6653C15.9604 12.1512 14.274 14.1401 13.6771 14.8836C13.0803 15.6271 12.1466 16.964 11.7111 17.7018C11.2755 18.4396 10.9292 19.0333 10.4145 18.9985C9.89987 18.9638 9.41959 18.8397 8.70831 17.9484C7.99703 17.057 4.42288 12.3984 4.09421 12.0311C3.76554 11.6638 4.36995 11.105 4.78537 11.0375C5.2008 10.9701 5.65431 10.6722 6.03656 11.1874C6.4188 11.7026 8.99375 14.7047 8.99375 14.7047C8.99375 14.7047 8.85766 13.9341 8.79465 12.3944C8.70391 10.1772 8.62477 9.40462 8.64694 7.62401C8.66911 5.8434 8.81999 3.02738 8.95 2.25625C9.08001 1.48512 9.20018 0.705523 9.94859 1.11094C10.697 1.51636 10.9968 2.57194 11.0479 3.82131C11.0991 5.07067 11.0662 7.05431 11.1211 9.32562C11.1803 11.9316 11.275 14.2456 11.275 14.2456C11.275 14.2456 12.0687 13.2044 12.6086 12.4629C13.1485 11.7214 13.5028 11.3212 13.8498 10.9742L13.8399 10.9658Z' fill='%230072BF'/></svg>");
|
|
397
|
+
$accordion-button-active-icon: url("data:image/svg+xml,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.8399 10.9658C14.1412 10.6644 14.4979 10.5549 15.0753 10.7285C15.6526 10.902 16.0347 11.1793 15.9975 11.6653C15.9604 12.1512 14.274 14.1401 13.6771 14.8836C13.0803 15.6271 12.1466 16.964 11.7111 17.7018C11.2755 18.4396 10.9292 19.0333 10.4145 18.9985C9.89987 18.9638 9.41959 18.8397 8.70831 17.9484C7.99703 17.057 4.42288 12.3984 4.09421 12.0311C3.76554 11.6638 4.36995 11.105 4.78537 11.0375C5.2008 10.9701 5.65431 10.6722 6.03656 11.1874C6.4188 11.7026 8.99375 14.7047 8.99375 14.7047C8.99375 14.7047 8.85766 13.9341 8.79465 12.3944C8.70391 10.1772 8.62477 9.40462 8.64694 7.62401C8.66911 5.8434 8.81999 3.02738 8.95 2.25625C9.08001 1.48512 9.20018 0.705523 9.94859 1.11094C10.697 1.51636 10.9968 2.57194 11.0479 3.82131C11.0991 5.07067 11.0662 7.05431 11.1211 9.32562C11.1803 11.9316 11.275 14.2456 11.275 14.2456C11.275 14.2456 12.0687 13.2044 12.6086 12.4629C13.1485 11.7214 13.5028 11.3212 13.8498 10.9742L13.8399 10.9658Z' fill='%230072BF'/></svg>");
|
|
398
|
+
$accordion-btn-focus-box-shadow: 0;
|
|
399
|
+
$accordion-border-radius: 0;
|
|
400
|
+
$accordion-active-color: var(--#{$prefix}white);
|
|
401
|
+
$accordion-bg: var(--#{$prefix}white);
|
|
402
|
+
$accordion-button-color: var(--#{$prefix}blue-04);
|
|
403
|
+
$accordion-padding-y: $mtvh-spacing-6;
|
|
404
|
+
$accordion-padding-x: 0;
|
|
405
|
+
$accordion-body-padding-x: $mtvh-spacing-7;
|
|
406
|
+
$accordion-body-padding-y: $mtvh-spacing-6;
|
|
407
|
+
$accordion-border-color: var(--#{$prefix}grey-04);
|
|
@@ -9,7 +9,7 @@ h5,
|
|
|
9
9
|
h6,
|
|
10
10
|
.mtvh-h1,
|
|
11
11
|
mtvh-child-title-h1,
|
|
12
|
-
mtvh-title-h1 .mtvh-h2,
|
|
12
|
+
mtvh-title-h1, .mtvh-h2,
|
|
13
13
|
.mtvh-h3,
|
|
14
14
|
.mtvh-h4,
|
|
15
15
|
.mtvh-h5,
|
|
@@ -114,9 +114,13 @@ p {
|
|
|
114
114
|
font-size: 1.375rem;
|
|
115
115
|
line-height: 1.4;
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
.large {
|
|
118
|
+
font-size: 1.625rem;
|
|
119
|
+
line-height: 1.3;
|
|
120
|
+
font-weight: $mtvh-font-weight-bolder;
|
|
121
|
+
font-family: $font-family-sans-serif;
|
|
122
|
+
}
|
|
118
123
|
.small {
|
|
119
|
-
margin-bottom: 0.75rem;
|
|
120
124
|
font-size: 1rem;
|
|
121
125
|
line-height: 1.5;
|
|
122
126
|
}
|
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.form-check-input {
|
|
29
|
+
|
|
30
|
+
--#{$prefix}form-check-bg: #{$form-check-bg-color};
|
|
29
31
|
margin-top: 0;
|
|
30
32
|
margin-right: $mtvh-spacing-4;
|
|
31
|
-
float: unset;
|
|
32
33
|
align-self: start;
|
|
33
34
|
border: var(--#{$prefix}border-width) solid var(--#{$prefix}grey-06);
|
|
34
35
|
|
|
@@ -1,27 +1,3 @@
|
|
|
1
1
|
.input-group-text {
|
|
2
2
|
border-radius: 0.25rem 0 0 0.25rem;
|
|
3
3
|
}
|
|
4
|
-
.input-group-search {
|
|
5
|
-
$height: 46px;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
input.form-control {
|
|
11
|
-
padding-left: $mtvh-spacing-5;
|
|
12
|
-
border-right: 0;
|
|
13
|
-
height: $height;
|
|
14
|
-
}
|
|
15
|
-
.input-group-append {
|
|
16
|
-
border: var(--mtvh-border-width) solid var(--mtvh-grey-06);
|
|
17
|
-
border-top-right-radius: 0.25rem !important;
|
|
18
|
-
border-bottom-right-radius: 0.25rem !important;
|
|
19
|
-
border-radius: 0.25rem;
|
|
20
|
-
height: $height;
|
|
21
|
-
.mtvh-icon {
|
|
22
|
-
&:before {
|
|
23
|
-
background-color: var(--mtvh-black);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.input-group-search {
|
|
2
|
+
|
|
3
|
+
$height: $input-min-height;
|
|
4
|
+
$button-size: $icon-size-scale-lg;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
position: relative;
|
|
8
|
+
input.form-control {
|
|
9
|
+
padding-left: $mtvh-spacing-5;
|
|
10
|
+
padding-right: calc(#{$button-size} * 2 + 0.25rem);
|
|
11
|
+
height: $height;
|
|
12
|
+
border-top-right-radius: $border-radius;
|
|
13
|
+
border-bottom-right-radius: $border-radius;
|
|
14
|
+
}
|
|
15
|
+
.input-group-search-append {
|
|
16
|
+
position: absolute;
|
|
17
|
+
z-index:8;
|
|
18
|
+
display: flex;
|
|
19
|
+
top: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mtvh-icon {
|
|
24
|
+
position: relative;
|
|
25
|
+
margin: 0;
|
|
26
|
+
&:before {
|
|
27
|
+
background-color: var(--mtvh-black) !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|