mod-base 1.0.68-beta.1 → 1.0.68-beta.11

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.68-beta.1",
3
+ "version": "1.0.68-beta.11",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -45,10 +45,14 @@ $contact-us-blue-light: #8498E7;
45
45
  $base-color: null,
46
46
  $bbb-img-filter: grayscale(1) invert(.915) brightness(1.5),
47
47
  // Banner
48
- $banner-overlay-bkg: linear-gradient(90deg, $color-charcoal8 17%, rgba($color-charcoal8, .5) 100%),
49
- $banner-callout-bkg: $color-grey-300,
48
+ $banner-overlay-background: linear-gradient(90deg, $background 17%, rgba($background, .5) 100%),
49
+ $banner-callout-background: $color-charcoal8,
50
50
  $banner-callout-border-color: $color-grey-700,
51
- $banner-callout-text-color: $color-white,
51
+ $banner-callout-text-color: null,
52
+ $banner-has-background-title-color: null,
53
+ $banner-has-background-subtitle-color: null,
54
+ $banner-has-background-description-color: null,
55
+ $banner-has-background-callout-text-color: null,
52
56
  $color-btn: null,
53
57
  $color-btn-text: null,
54
58
  $checkbox-label-color: null,
@@ -148,6 +152,26 @@ $contact-us-blue-light: #8498E7;
148
152
  $radio-btn-standard-hover-select-background-color: lighten($radio-btn-checked-border-color, 5%);
149
153
  }
150
154
 
155
+ @if ($banner-callout-text-color == null) {
156
+ $banner-callout-text-color: $foreground;
157
+ }
158
+
159
+ @if ($banner-has-background-title-color == null) {
160
+ $banner-has-background-title-color: $foreground;
161
+ }
162
+
163
+ @if ($banner-has-background-subtitle-color == null) {
164
+ $banner-has-background-subtitle-color: $foreground;
165
+ }
166
+
167
+ @if ($banner-has-background-description-color == null) {
168
+ $banner-has-background-description-color: $foreground;
169
+ }
170
+
171
+ @if ($banner-has-background-callout-text-color == null) {
172
+ $banner-has-background-callout-text-color: $foreground;
173
+ }
174
+
151
175
  // Most common selectors list
152
176
  $content-selectors: '.hero__title,.hero__subtitle,input,.toggle-wrapper,.step__title,[class^="information__"],[class^="featured-block__"],[class^="partners__"],.form-group__label,[class^="abandonment__"],.modal-header--close,.modal-phone,.modal-body p,legend,[class^="loader__"],table tr,.tile__text,.select,.hiw-block__title,.hiw-card__title,.hiw-card__description,.banner__title,.banner__description,.accordion__title,.reviews__title,.accordion .expand-collapse__toggle,.accordion__content p,.accordion__content li,.result__title,.result__subtitle,.result__call-text';
153
177
  $background-selectors: '.form,.header,.guarantee,.information,.modal-content,.matched-steps,.loader,.information__header,.hero__background,.hero__content,&.form-in-progress:not(.fixed-width-desktop) .hero__content,.form-input,.form-input:focus,.expand-collapse__icon,.featured-block,table tr,.form-control,.accordion,.hiw-block,.reviews';
@@ -170,14 +194,34 @@ $contact-us-blue-light: #8498E7;
170
194
 
171
195
  .banner {
172
196
  &__background-overlay {
173
- background: $banner-overlay-bkg;
197
+ background: $banner-overlay-background;
174
198
  }
175
199
 
176
200
  &__callout {
177
- background-color: $banner-callout-bkg;
201
+ background-color: $banner-callout-background;
178
202
  border-color: $banner-callout-border-color;
179
203
  color: $banner-callout-text-color;
180
204
  }
205
+
206
+ &.banner--has-background {
207
+ .banner {
208
+ &__callout {
209
+ color: $banner-has-background-callout-text-color;
210
+ }
211
+
212
+ &__title {
213
+ color: $banner-has-background-title-color;
214
+ }
215
+
216
+ &__subtitle {
217
+ color: $banner-has-background-subtitle-color;
218
+ }
219
+
220
+ &__description {
221
+ color: $banner-has-background-description-color;
222
+ }
223
+ }
224
+ }
181
225
  }
182
226
 
183
227
  .checkbox {