@mtvh/mtvh-design-system 0.0.9 → 0.0.10

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.
@@ -20,17 +20,30 @@
20
20
  }
21
21
  .mtvh-form-container {
22
22
 
23
+
23
24
  @include media-breakpoint-up("lg") {
24
25
  max-width: 550px;
25
26
  margin:0 auto;
26
27
  }
27
28
 
28
- .form-group {
29
- margin-bottom: $form-group-xs-margin-top;
29
+ --#{$prefix}form-group-padding-y: #{$form-group-margin-bottom};
30
+
31
+ @include media-breakpoint-up("lg") {
32
+ --#{$prefix}form-group-padding-y: #{$form-group-lg-margin-bottom};
33
+ }
34
+
35
+ &--md {
36
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-6};
30
37
 
31
38
  @include media-breakpoint-up("lg") {
32
- margin-bottom: $form-group-margin-top;
39
+ --#{$prefix}form-group-padding-y: #{$mtvh-spacing-7};
33
40
  }
41
+
42
+ }
43
+
44
+ .form-group {
45
+ margin-bottom: var(--#{$prefix}form-group-padding-y);
46
+
34
47
  }
35
48
 
36
49
  .field-required:after, .tab-error::after {
@@ -48,7 +48,7 @@ $danger: #DD080D;
48
48
  $primary: #0072BF;
49
49
  $dark: #000000;
50
50
  $secondary: #9A9A9A;
51
- $light: #0072BF;
51
+ $light: #ffffff;
52
52
  $stone: #F9F2EA;
53
53
 
54
54
  $theme-colors: (
@@ -129,8 +129,8 @@ $breadcrumb-font-size: $font-size-xs;
129
129
  $breadcrumb-active-color: var(--#{$prefix}black);
130
130
 
131
131
  /* form */
132
- $form-group-margin-top: 3.5rem;
133
- $form-group-xs-margin-top: 3rem;
132
+ $form-group-lg-margin-bottom: 3.5rem;
133
+ $form-group-margin-bottom: 3rem;
134
134
  $form-text-margin-top: 0;
135
135
  $form-label-font-size : $font-size-md;
136
136
  $form-label-font-weight: 700;
@@ -23,9 +23,6 @@
23
23
  align-self: start;
24
24
  @include field-focus();
25
25
  }
26
- span {
27
- align-self: center;
28
- }
29
26
 
30
27
  &:hover {
31
28
  cursor: pointer;