@mtvh/mtvh-design-system 0.0.26 → 0.0.28
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/_all.scss +2 -0
- package/assets/scss/components/_card-list.scss +2 -5
- package/assets/scss/components/_content-block.scss +6 -1
- package/assets/scss/components/_form.scss +2 -2
- package/assets/scss/components/_good-to-know.scss +62 -0
- package/assets/scss/components/_pagination.scss +53 -1
- package/assets/scss/components/_space-selection.scss +66 -0
- package/assets/scss/config/_icon-list.scss +54 -47
- package/assets/scss/config/_variables.scss +15 -3
- package/assets/scss/core/typography/_typography.scss +20 -9
- package/assets/scss/forms/_credit-card-form.scss +16 -0
- package/assets/scss/forms/_stripe.scss +15 -0
- package/assets/scss/mixins/_form.scss +2 -2
- package/dist/mtvh.min.css +5 -3
- package/package.json +1 -1
|
@@ -8,14 +8,15 @@ h4,
|
|
|
8
8
|
h5,
|
|
9
9
|
h6,
|
|
10
10
|
.mtvh-h1,
|
|
11
|
-
|
|
11
|
+
mtvh-child-title-h1,
|
|
12
|
+
mtvh-title-h1 .mtvh-h2,
|
|
12
13
|
.mtvh-h3,
|
|
13
14
|
.mtvh-h4,
|
|
14
15
|
.mtvh-h5,
|
|
15
16
|
.mtvh-h6 {
|
|
16
17
|
margin: 0;
|
|
17
18
|
padding: 0;
|
|
18
|
-
font-family:
|
|
19
|
+
font-family: $font-family-paralucent;
|
|
19
20
|
font-weight: $mtvh-font-weight-bold;
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -56,18 +57,28 @@ p {
|
|
|
56
57
|
|
|
57
58
|
%child-title-h1 {
|
|
58
59
|
margin-bottom: $mtvh-spacing-5;
|
|
59
|
-
margin-top: $mtvh-spacing-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
margin-top: $mtvh-spacing-7;
|
|
61
|
+
font-size: 2.125rem;
|
|
62
|
+
line-height: 1.3;
|
|
63
|
+
font-weight: $mtvh-font-weight-semibold;
|
|
64
|
+
@include media-breakpoint-up("md") {
|
|
65
|
+
font-size: 2.5rem;
|
|
66
|
+
line-height: 1.2;
|
|
67
|
+
}
|
|
68
|
+
@include media-breakpoint-up("lg") {
|
|
69
|
+
margin-top: $mtvh-spacing-8;
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
%parent-title-h1 {
|
|
68
|
-
margin-
|
|
69
|
-
|
|
74
|
+
margin-bottom: $mtvh-spacing-5;
|
|
75
|
+
margin-top: $mtvh-spacing-7;
|
|
76
|
+
@include media-breakpoint-up("sm") {
|
|
70
77
|
font-size: 3.25rem;
|
|
78
|
+
line-height: 1.2;
|
|
79
|
+
}
|
|
80
|
+
@include media-breakpoint-up("lg") {
|
|
81
|
+
margin-top: $mtvh-spacing-8;
|
|
71
82
|
}
|
|
72
83
|
}
|
|
73
84
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.credit-card-form {
|
|
2
|
+
background-color: var(--#{$prefix}white);
|
|
3
|
+
padding: $mtvh-spacing-6 $mtvh-spacing-5 $mtvh-spacing-6 $mtvh-spacing-5;
|
|
4
|
+
border-radius: $border-radius-lg;
|
|
5
|
+
@include media-breakpoint-up(sm) {
|
|
6
|
+
padding-left: $mtvh-spacing-6;
|
|
7
|
+
padding-right: $mtvh-spacing-6;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.form-group {
|
|
11
|
+
--#{$prefix}form-group-padding-y: #{$mtvh-spacing-9};
|
|
12
|
+
@include media-breakpoint-up(sm) {
|
|
13
|
+
--mtvh-form-group-padding-y: #{$mtvh-spacing-10};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// MTVHO Stripe styles for Card Elements
|
|
2
|
+
//
|
|
3
|
+
form.mtvh-form.new_payment {
|
|
4
|
+
.stripe-element-placeholder {
|
|
5
|
+
@extend .form-control;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.StripeElement--focus {
|
|
9
|
+
@include focus-style;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.StripeElement--invalid {
|
|
13
|
+
@extend .form-control, .is-invalid;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
background-color: $danger;
|
|
13
13
|
mask-repeat: no-repeat;
|
|
14
14
|
-webkit-mask-repeat: no-repeat;
|
|
15
|
-
padding-right: $mtvh-spacing-
|
|
15
|
+
padding-right: $mtvh-spacing-7;
|
|
16
16
|
margin-top: $mtvh-spacing-1;
|
|
17
17
|
vertical-align: top;
|
|
18
18
|
}
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
outline: solid var(--#{$prefix}btn-outline-border)
|
|
43
43
|
var(--#{$prefix}primary-outline-color);
|
|
44
44
|
outline-offset: var(--#{$prefix}btn-outline-border);
|
|
45
|
-
color:
|
|
45
|
+
color: inherit;
|
|
46
46
|
}
|