mod-base 1.0.20 → 1.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -24,7 +24,7 @@ $contact-us-blue-light: #8498E7;
24
24
  $color-button: $color-btn !global;
25
25
 
26
26
  // Most common selectors list
27
- $selectors: '.header,.step__title,.step__subtitle,.form,.form-radio label,.form-input,.form-input:focus,.progress-bar__content,.progress-bar__text,.progress-bar__percentage,.partners,.guarantee,.guarantee__text,.information,.information__header::before,.modal-content,.modal-content .icon-close,.matched-steps,.form--inverted .loader,.form-groups,.step__windowtype label,.form-control,.form-group__label,.step__overview,.progress-bar__title,.checkbox,#tcpa-copy,body .modal-body ul,body .modal-body p,.modal-body ul,.modal-body p,.modal-body .contact-us .step__list a,.form-group__tooltip-message,.form__qualify--step span,.form-group__city-state,.hero__background, .modal-body table tr,.form-input-group__icon, .expand-collapse__icon, .expand-collapse__label, .hero__content,.information__content,.information__block, .information__title,.information__summary,.featured-block__description';
27
+ $selectors: '.header,.step__title,.step__subtitle,.form,.form-radio label,.form-input,.form-input:focus,.progress-bar__content,.progress-bar__text,.progress-bar__percentage,.partners,.guarantee,.guarantee__text,.information,.information__header::before,.modal-content,.modal-content .icon-close,.matched-steps,.form--submitting .loader,.form-groups,.step__windowtype label,.form-control,.form-group__label,.step__overview,.progress-bar__title,.checkbox,#tcpa-copy,body .modal-body ul,body .modal-body p,.modal-body ul,.modal-body p,.modal-body .contact-us .step__list a,.form-group__tooltip-message,.form__qualify--step span,.form-group__city-state,.hero__background, .modal-body table tr, .expand-collapse__icon, .expand-collapse__label, .hero__content,.information__content,.information__block, .information__title,.information__summary,.featured-block__description';
28
28
 
29
29
  @media (prefers-color-scheme: dark){
30
30
  body[data-color-scheme="system"] {
@@ -53,7 +53,9 @@ $contact-us-blue-light: #8498E7;
53
53
  }
54
54
  }
55
55
 
56
- .secure-text {
56
+ .secure-text,
57
+ .step__secure-text,
58
+ .modal-subtitle {
57
59
  color: $color-charcoal2;
58
60
  }
59
61
 
@@ -68,7 +70,7 @@ $contact-us-blue-light: #8498E7;
68
70
 
69
71
  .progress-bar {
70
72
  &__background {
71
- background-color: lighten($background-color, 15%);
73
+ background-color: lighten($background-color, 20%);
72
74
  }
73
75
  }
74
76
 
@@ -80,16 +82,19 @@ $contact-us-blue-light: #8498E7;
80
82
  }
81
83
 
82
84
  &-group {
83
-
84
85
  &__label-input {
85
- color: $color-charcoal3;
86
86
  z-index: 1;
87
87
  }
88
88
 
89
89
  &:not(.has-error) {
90
+ .form-group__label-input {
91
+ color: $color-charcoal2;
92
+ z-index: 1;
93
+ }
94
+
90
95
  .form-input,
91
96
  .form-radio label {
92
- border-color: $color-charcoal3;
97
+ border-color: $color-charcoal2;
93
98
  }
94
99
 
95
100
  .form-input {
@@ -120,6 +125,42 @@ $contact-us-blue-light: #8498E7;
120
125
  }
121
126
  }
122
127
 
128
+ .form-input-group__icon {
129
+ color: $color-charcoal2;
130
+ }
131
+
132
+ .has-error {
133
+ .form-input {
134
+ border-color: $color-red4;
135
+ }
136
+
137
+ .form-input-group__icon {
138
+ color: $color-red4;
139
+ }
140
+
141
+ .form-group__label-input {
142
+ color: $color-red4;
143
+ }
144
+
145
+ .form-input-group {
146
+ &--includes-label {
147
+ .form-input:focus {
148
+ ~ .form-input-group__icon {
149
+ color: $color-red4;
150
+ }
151
+
152
+ + label {
153
+ color: $color-red4;
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ .form-group__error-message {
161
+ color: $color-red4;
162
+ }
163
+
123
164
  .hero__background-image {
124
165
  filter: $background-img-brightness;
125
166
  }
@@ -152,6 +193,18 @@ $contact-us-blue-light: #8498E7;
152
193
  }
153
194
  }
154
195
 
196
+ .modal-header--close,
197
+ .modal-phone,
198
+ legend {
199
+ color: $foreground;
200
+ }
201
+
202
+ .modal-header--close {
203
+ &:hover {
204
+ color: $color-charcoal2;
205
+ }
206
+ }
207
+
155
208
  .modal {
156
209
  &-backdrop {
157
210
  opacity: .8;
@@ -351,15 +404,39 @@ $contact-us-blue-light: #8498E7;
351
404
  .zip-control__location,
352
405
  .zip-control__icon {
353
406
  color: lighten($accent-color, 25%);
407
+
408
+ &:hover {
409
+ color: $accent-color;
410
+ }
411
+ }
412
+
413
+ .zip-control__button {
414
+ &:hover {
415
+ .zip-control__location,
416
+ .zip-control__icon {
417
+ color: darken($accent-color, 5%);
418
+ }
419
+ }
420
+ }
421
+
422
+ .partners {
423
+ &__title,
424
+ &__logo {
425
+ color: $foreground;
426
+ }
354
427
  }
355
428
 
356
429
  .featured-block {
357
430
  background-color: $background;
358
431
  color: $foreground;
359
432
 
433
+ &__title {
434
+ color: $foreground;
435
+ }
436
+
360
437
  &__btn {
361
438
  background-color: $color-btn;
362
-
439
+
363
440
  &:hover {
364
441
  background-color: darken($color-btn, 5%);
365
442
  }
@@ -385,6 +462,13 @@ $contact-us-blue-light: #8498E7;
385
462
  .form-input:not(:placeholder-shown) {
386
463
  background-color: $background-color;
387
464
  }
465
+
466
+ .form-input:not(:placeholder-shown),
467
+ .form-input:focus {
468
+ + label {
469
+ color: $color-white;
470
+ }
471
+ }
388
472
  }
389
473
  }
390
474