@mtvh/mtvh-design-system 0.0.25 → 0.0.27

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.
@@ -1,4 +1,5 @@
1
1
  .card-list {
2
+
2
3
  &-item {
3
4
  display: flex;
4
5
  flex-direction: row;
@@ -7,6 +8,12 @@
7
8
  padding-top: $mtvh-spacing-5;
8
9
  padding-bottom: $mtvh-spacing-5;
9
10
 
11
+ &:has(.label) {
12
+ &:last-child {
13
+ border-bottom: none;
14
+ }
15
+ }
16
+
10
17
  &--expired {
11
18
  div {
12
19
  opacity: 0.6;
@@ -17,8 +24,8 @@
17
24
  }
18
25
  }
19
26
 
20
- label {
21
- flex-basis: 100%;
27
+ label, .label {
28
+ flex: 1 100px;
22
29
  display: flex;
23
30
 
24
31
  div {
@@ -27,6 +34,7 @@
27
34
  flex-wrap: nowrap;
28
35
  }
29
36
  }
37
+
30
38
  span {
31
39
  display: block;
32
40
  align-self: center;
@@ -35,6 +43,7 @@
35
43
  display: inline;
36
44
  }
37
45
  }
46
+
38
47
  .mtvh-icon {
39
48
  font-weight: bold;
40
49
  }
@@ -43,8 +52,12 @@
43
52
  button {
44
53
  align-self: flex-start;
45
54
  @include media-breakpoint-up(sm) {
46
- align-self: center;
55
+ align-self: start;
47
56
  }
48
57
  }
58
+
59
+ .invali-feedback {
60
+ flex-basis: 100%;
61
+ }
49
62
  }
50
63
  }
@@ -16,6 +16,12 @@
16
16
  .mtvh-form,
17
17
  .mtvh-formio,
18
18
  formio {
19
+
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
+ }
24
+
19
25
  &:has(.mtvh-form-container),
20
26
  &:has(.formio-form) {
21
27
  --#{$prefix}form-padding-y: #{$mtvh-spacing-7};
@@ -104,6 +110,7 @@ formio {
104
110
  margin: 0;
105
111
  padding-left: 0;
106
112
  padding-right: 0;
113
+
107
114
  }
108
115
  &--md {
109
116
  --#{$prefix}form-control-input-width: #{$input-width-size-l};
@@ -663,7 +663,7 @@ $mtvh-icons: (
663
663
  height: $icon-size-scale-lg,
664
664
  svg-path: "#{$asset-icon-path}santander.svg",
665
665
  ),
666
- "visacard": (
666
+ "visa": (
667
667
  width: $icon-size-scale-lg,
668
668
  height: $icon-size-scale-lg,
669
669
  svg-path: "#{$asset-icon-path}visacard.svg",
@@ -9,19 +9,19 @@
9
9
  &:last-child {
10
10
  margin-bottom: 0;
11
11
  }
12
+ }
12
13
 
13
- .form-check-label {
14
- position: relative;
15
- display: flex;
16
- align-items: center;
17
- @include field-focus();
18
- input {
19
- float: unset;
20
- align-self: start;
21
- }
22
- &:hover {
23
- cursor: pointer;
24
- }
14
+ .form-check-label {
15
+ position: relative;
16
+ display: flex;
17
+ align-items: center;
18
+ @include field-focus();
19
+ input {
20
+ float: unset;
21
+ align-self: start;
22
+ }
23
+ &:hover {
24
+ cursor: pointer;
25
25
  }
26
26
  }
27
27