mod-base 1.0.3-beta.7 → 1.0.4-9.beta-1

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/package.json +1 -1
  3. package/src/fonts/modstyle-icons/modicons-fill/fonts/modicons-fill.eot +0 -0
  4. package/src/fonts/modstyle-icons/modicons-fill/fonts/modicons-fill.svg +1 -0
  5. package/src/fonts/modstyle-icons/modicons-fill/fonts/modicons-fill.ttf +0 -0
  6. package/src/fonts/modstyle-icons/modicons-fill/fonts/modicons-fill.woff +0 -0
  7. package/src/fonts/modstyle-icons/modicons-fill/selection.json +1 -1
  8. package/src/fonts/modstyle-icons/modicons-fill/style.css +4 -0
  9. package/src/fonts/modstyle-icons/modicons-stroke/fonts/modicons-stroke.eot +0 -0
  10. package/src/fonts/modstyle-icons/modicons-stroke/fonts/modicons-stroke.svg +21 -2
  11. package/src/fonts/modstyle-icons/modicons-stroke/fonts/modicons-stroke.ttf +0 -0
  12. package/src/fonts/modstyle-icons/modicons-stroke/fonts/modicons-stroke.woff +0 -0
  13. package/src/fonts/modstyle-icons/modicons-stroke/selection.json +1 -1
  14. package/src/fonts/modstyle-icons/modicons-stroke/style.css +177 -175
  15. package/src/images/rating-icons/bbb.svg +1 -0
  16. package/src/images/rating-icons/google.svg +1 -0
  17. package/src/images/rating-icons/modernize.svg +1 -0
  18. package/src/images/rating-icons/trustpilot.svg +1 -0
  19. package/src/styles/base/_breakpoints.scss +1 -1
  20. package/src/styles/base/_built-in-classes.scss +23 -8
  21. package/src/styles/base/_colors.scss +161 -20
  22. package/src/styles/base/_fonts.scss +22 -10
  23. package/src/styles/base/_grid.scss +1 -1
  24. package/src/styles/base/_radius.scss +6 -0
  25. package/src/styles/base/_ratings.scss +427 -0
  26. package/src/styles/base/_reset.scss +30 -17
  27. package/src/styles/base/_spacing.scss +9 -0
  28. package/src/styles/base/_variables.scss +23 -3
  29. package/src/styles/base/components/_duplicate-submission.scss +44 -0
  30. package/src/styles/base/components/_index.scss +1 -0
  31. package/src/styles/base/index.scss +6 -0
  32. package/src/styles/icons/_icon-classes-fill.scss +6 -0
  33. package/src/styles/icons/_icon-classes-stroke.scss +113 -0
  34. package/src/styles/templates/_dark-mode.scss +539 -90
@@ -10,57 +10,225 @@ $color-button: null;
10
10
 
11
11
  $contact-us-blue-light: #8498E7;
12
12
 
13
- @mixin dark-mode($background: $color-charcoal7, $foreground: $color-ivory1, $accent-color: $color-blue6, $color-btn: $color-orange6) {
13
+ @function colorContrast($base-color, $light-color, $dark-color) {
14
+ $result: $light-color;
15
+ @if (lightness($base-color) > 45) {
16
+ $result: $dark-color;
17
+ }
18
+ @return $result;
19
+ }
20
+
21
+ @mixin btnStyles($color-btn, $color-btn-text) {
22
+ background-color: $color-btn;
23
+ color: $color-btn-text;
24
+
25
+ .btn__text {
26
+ color: $color-btn-text;
27
+ }
28
+
29
+ &:hover,
30
+ &:active,
31
+ &:focus {
32
+ background-color: darken($color-btn, 10%);
33
+ color: $color-btn-text;
34
+
35
+ .btn__text {
36
+ color: $color-btn-text;
37
+ }
38
+ }
39
+ }
40
+
41
+ @mixin dark-mode(
42
+ $accent-color: null,
43
+ $back-btn-background-color: null,
44
+ $background: $color-charcoal8,
45
+ $base-color: null,
46
+ $bbb-img-filter: grayscale(1) invert(.915) brightness(1.5),
47
+ $color-btn: null,
48
+ $color-btn-text: null,
49
+ $checkbox-label-color: null,
50
+ $footer-background: $color-charcoal9,
51
+ $foreground: $color-grey-300,
52
+ $form-focus-border-color: $color-grey-400,
53
+ $hero-content-box-shadow-mobile: null,
54
+ $interactive-text-color: $color-grey-500,
55
+ $interactive-text-color-hover: lighten($interactive-text-color, 20%),
56
+ $logo-filter: invert(1) hue-rotate(180deg),
57
+ $partners-logo-filter: grayscale(1) invert(.9),
58
+ $radio-btn-background-color: $background,
59
+ $radio-btn-border-color: $color-grey-300,
60
+ $radio-btn-checked-background-color: null,
61
+ $radio-btn-checked-border-color: null,
62
+ $radio-btn-checked-icon-background-color: null,
63
+ $radio-btn-checked-icon-color: $color-grey-300,
64
+ $radio-btn-checked-text-color: $color-grey-300,
65
+ $radio-btn-focus-box-shadow: null,
66
+ $radio-btn-icon-background: transparent,
67
+ $radio-btn-icon-color: $background,
68
+ $radio-btn-text-color: $color-grey-300,
69
+ $tcpa-color: lighten($color-grey-500, 2%),
70
+ $value-props-background: null
71
+ ) {
14
72
  // Theme global variables if required to use after including the mixin
15
73
  $background-color: $background !global;
16
- $text-color: $foreground !global;
17
- $theme: $accent-color !global;
18
- $value-background: rgba($accent-color, .7) !global;
19
- $box-shadow-color: rgba($foreground, 20%) !global;
20
- $background-img-brightness: brightness(75%) !global;
74
+ $background-img-brightness: brightness(60%) !global;
75
+ $base-color: $base-color !global;
76
+ $bbb-img-filter: $bbb-img-filter;
77
+ $box-shadow-color: rgba($color-black, 60%) !global;
21
78
  $button-saturation: saturate(70%) !global;
22
- $img-filter: invert(1) hue-rotate(180deg) !global;
23
- $bbb-img-filter: grayscale(1) invert(1) !global;
24
79
  $color-button: $color-btn !global;
80
+ $img-filter: invert(1) hue-rotate(180deg) !global;
81
+ $text-color: $foreground !global;
82
+ $value-props-background: $value-props-background;
83
+
84
+ @if ($color-btn != null and $color-btn-text == null) {
85
+ $color-btn-text: colorContrast($color-btn, $foreground, $background);
86
+ }
87
+
88
+ @if ($base-color == null and $accent-color != null) {
89
+ $theme: $accent-color !global;
90
+ } @else {
91
+ $theme: $base-color !global;
92
+ }
93
+
94
+ @if ($checkbox-label-color == null) {
95
+ $checkbox-label-color: $text-color;
96
+ }
25
97
 
26
98
  // Most common selectors list
27
- $selectors: '.header,.step__title,.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';
99
+ $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';
100
+ $background-selectors: '.form,.header,.guarantee,.information,.modal-content,.matched-steps,.loader,.information__header,.hero__background,.hero__content,.form-input,.form-input:focus,.expand-collapse__icon,.featured-block,table tr,.form-control';
28
101
 
29
102
  @media (prefers-color-scheme: dark){
30
- body[data-color-scheme="system"] {
103
+ body[data-color-scheme='system'] {
31
104
  color-scheme: dark;
32
105
  color: $text-color;
33
106
  background-color: $background-color;
34
107
 
35
- // Default styling for most common selectors/sections start
36
- #{$selectors} {
37
- color: $foreground;
108
+ // Change background color of listed selectors
109
+ #{$background-selectors} {
110
+ background-color: $background-color;
38
111
  }
39
112
 
40
- // Change background color of listed selectors
41
- #{$selectors} {
42
- background-color: $background;
113
+ // Change text color of listed selectors
114
+ #{$content-selectors} {
115
+ color: $text-color;
116
+ }
117
+
118
+ .checkbox {
119
+ color: $checkbox-label-color;
120
+ }
121
+
122
+ .partners {
123
+ background-color: darken($background, 2%);
124
+
125
+ &__logo img {
126
+ filter: $partners-logo-filter;
127
+ }
43
128
  }
44
129
 
45
- .toggle-wrapper {
46
- color: $foreground;
130
+ .featured-block__image img,
131
+ .featured-block__media img {
132
+ filter: $background-img-brightness;
133
+ }
134
+
135
+ .header__logo img,
136
+ .header__logo svg {
137
+ filter: $logo-filter;
138
+ }
139
+
140
+ .form-input-group__icon {
141
+ background-color: transparent;
142
+ }
143
+
144
+ .icon-close,
145
+ .progress-bar__title,
146
+ .header__back-button,
147
+ .form-input-group__icon,
148
+ .secure-text,
149
+ .step__secure-text,
150
+ .modal-subtitle {
151
+ color: $color-grey-500;
152
+ }
153
+
154
+ .tcpa{
155
+ color: $tcpa-color;
156
+
157
+ a,
158
+ .checkbox {
159
+ color: $tcpa-color;
160
+ }
161
+
162
+ input[type=checkbox]::before {
163
+ border-color: $tcpa-color;
164
+ color: $tcpa-color;
165
+ }
166
+
167
+ a,
168
+ input[type=checkbox] {
169
+ &:focus {
170
+ outline-color: $color-white;
171
+ }
172
+ }
47
173
  }
48
174
 
49
- .secure-text {
50
- color: $color-charcoal2;
175
+ .icon-close:hover {
176
+ color: $color-grey-400;
51
177
  }
52
178
 
179
+ .step__header,
53
180
  .step__supertitle {
54
- background-color: $accent-color;
181
+ background-color: $base-color;
182
+ }
183
+
184
+ @if ($base-color != null) {
185
+ .step__header-title,
186
+ .step__supertitle {
187
+ color: colorContrast($base-color, $foreground, $background);
188
+ }
55
189
  }
56
190
 
57
- .value {
58
- background-color: $value-background;
191
+ .value-props {
192
+ background: $value-props-background;
193
+
194
+ @if type_of($value-props-background) == 'color' {
195
+ color: colorContrast($value-props-background, $foreground, $background);
196
+
197
+ @if (lightness($value-props-background) > 45) {
198
+ &__icon {
199
+ filter: invert(1);
200
+ }
201
+ }
202
+ }
59
203
  }
60
204
 
61
205
  .progress-bar {
62
206
  &__background {
63
- background-color: lighten($background-color, 15%);
207
+ background-color: lighten($color-grey-700, 10%);
208
+ }
209
+
210
+ &__fill {
211
+ background-color: $base-color;
212
+ }
213
+ }
214
+
215
+ .information,
216
+ .expand-collapse__icon {
217
+ border-color: $color-grey-700;
218
+ }
219
+
220
+ .expand-collapse__icon {
221
+ color: $color-grey-500;
222
+ }
223
+
224
+ .expand-collapse__toggle {
225
+ color: $color-grey-500;
226
+
227
+ &:hover {
228
+ &,
229
+ .expand-collapse__icon {
230
+ color: $color-grey-600;
231
+ }
64
232
  }
65
233
  }
66
234
 
@@ -68,56 +236,110 @@ $contact-us-blue-light: #8498E7;
68
236
  border: 0;
69
237
 
70
238
  &--inverted {
71
- box-shadow: 0 2px 4px $box-shadow-color;
239
+ box-shadow: 0 2px 4px $box-shadow-color;
72
240
  }
241
+ }
73
242
 
74
- &-group {
243
+ .form-group {
244
+ &__label-input {
245
+ z-index: 1;
246
+ }
75
247
 
76
- &:not(.has-error) {
77
- .form-input,
78
- .form-radio label {
79
- border-color: $color-charcoal3;
80
- }
248
+ &:not(.has-error) {
249
+ .form-group__label-input {
250
+ color: $color-grey-500;
251
+ z-index: 1;
252
+ }
81
253
 
82
- .form-input {
83
- &:focus {
84
- border-color: $color-charcoal1;
85
- }
86
- }
254
+ .form-input,
255
+ .form-input-group--icon,
256
+ .form-radio label,
257
+ .select {
258
+ border-color: $color-grey-500;
87
259
  }
88
260
 
89
- &__tooltip-message {
90
- color: $color-ivory6;
91
- border-color: $color-charcoal5;
92
- box-shadow: 0 4px 8px rgba($color-ivory6, 10%);
261
+ .form-input-group--icon,
262
+ .form-input {
263
+ &:-webkit-autofill,
264
+ &:not(:placeholder-shown),
265
+ &:focus {
266
+ border-color: $form-focus-border-color;
93
267
 
94
- &::after {
95
- border-bottom-color: $background;
96
- }
268
+ + label {
269
+ color: $form-focus-border-color;
270
+ }
97
271
 
98
- &::before {
99
- border-bottom-color: $color-charcoal5;
272
+ ~ .form-input-group__icon {
273
+ color: $form-focus-border-color;
274
+ }
100
275
  }
276
+ }
277
+ }
278
+
279
+ &__tooltip-message {
280
+ color: $color-ivory6;
281
+ border-color: $color-grey-700;
282
+ box-shadow: 0 4px 8px rgba($color-ivory6, 10%);
283
+
284
+ &::after {
285
+ border-bottom-color: $background;
286
+ }
101
287
 
288
+ &::before {
289
+ border-bottom-color: $color-grey-700;
102
290
  }
291
+
103
292
  }
293
+ }
104
294
 
105
- &__bbb-logo {
106
- filter: $bbb-img-filter;
295
+ .has-error {
296
+ .form-input,
297
+ .select,
298
+ .form-input:-webkit-autofill {
299
+ border-color: $color-salmon-500;
300
+ color: $color-salmon-500;
301
+ }
302
+
303
+ .form-input-group__icon,
304
+ .form-group__label-input {
305
+ color: $color-salmon-500;
306
+ }
307
+
308
+ .form-input-group {
309
+ &--includes-label {
310
+ .form-input:focus,
311
+ .form-input:not(:placeholder-shown) {
312
+ ~ .form-input-group__icon {
313
+ color: $color-salmon-500;
314
+ }
315
+
316
+ + label {
317
+ color: $color-salmon-500;
318
+ }
319
+ }
320
+ }
107
321
  }
108
322
  }
109
323
 
324
+ .form-group__error-message {
325
+ color: $color-salmon-500;
326
+ }
327
+
110
328
  .hero__background-image {
111
329
  filter: $background-img-brightness;
112
330
  }
113
331
 
114
- .btn {
115
- &-primary,
116
- &-next {
117
- background-color: $color-btn;
118
-
119
- &:hover {
120
- background-color: darken($color-btn, 5%);
332
+ @if $color-btn != null {
333
+ .btn--primary,
334
+ .btn-primary,
335
+ .btn-next,
336
+ .featured-block__btn {
337
+ @include btnStyles($color-btn, $color-btn-text);
338
+
339
+ .btn__spinner::after {
340
+ border: 4px solid $color-grey-200;
341
+ border-right-color: $background;
342
+ border-top-color: $background;
121
343
  }
122
344
  }
123
345
  }
@@ -126,7 +348,7 @@ $contact-us-blue-light: #8498E7;
126
348
  background-color: $color-charcoal8;
127
349
 
128
350
  &__title {
129
- color: $foreground;
351
+ color: $text-color;
130
352
  }
131
353
 
132
354
  &__subtitle,
@@ -172,50 +394,53 @@ $contact-us-blue-light: #8498E7;
172
394
  }
173
395
  }
174
396
 
175
- .reviews {
176
- &-card {
177
- background-color: $background;
178
- border-color: $color-charcoal4;
179
- box-shadow: 0px 8px 16px 0px rgba($color-charcoal2, 10%);
180
- color: $foreground;
397
+ .reviews-card {
398
+ background-color: $background;
399
+ border-color: $color-grey-700;
400
+ box-shadow: 0px 8px 16px 0px rgba($color-grey-500, 10%);
401
+ color: $text-color;
181
402
 
182
- &__avatar img {
183
- filter: unset;
184
- }
403
+ &__avatar img {
404
+ filter: unset;
405
+ }
406
+
407
+ &__author-name {
408
+ border-color: $color-grey-600;
409
+ }
410
+
411
+ &__review,
412
+ &__author,
413
+ .star-rating__text {
414
+ color: $text-color;
185
415
  }
186
416
  }
187
417
 
188
418
  .matched,
189
419
  .unmatched {
190
- border-color: $color-charcoal4;
420
+ border-color: $color-grey-700;
191
421
  }
192
422
 
193
423
  .footer {
194
- background-color: $color-charcoal8;
195
-
196
- &__bbb {
197
- filter: $bbb-img-filter;
198
- }
424
+ background-color: $footer-background;
199
425
 
200
426
  &__links,
201
427
  &__head-link,
202
428
  &__copyright,
203
429
  &__captcha-disclosure {
204
- color: $foreground;
430
+ color: $text-color;
205
431
  }
206
432
 
207
433
  &__links li a,
208
434
  &__head-link a {
209
- color: $foreground !important;
210
-
435
+ &,
211
436
  &:visited {
212
- color: $foreground !important;
437
+ color: $text-color !important;
213
438
  }
214
439
 
215
440
  &:active,
216
441
  &:hover,
217
442
  &:focus {
218
- color: $color-charcoal3 !important;
443
+ color: $color-grey-500 !important;
219
444
  }
220
445
  }
221
446
 
@@ -250,17 +475,17 @@ $contact-us-blue-light: #8498E7;
250
475
 
251
476
  .form-group {
252
477
  label {
253
- color: $foreground;
478
+ color: $text-color;
254
479
  }
255
480
  }
256
481
 
257
482
  legend {
258
483
  border-bottom: 0;
259
- color: $foreground;
484
+ color: $text-color;
260
485
  }
261
486
 
262
487
  .field {
263
- border-color: $color-charcoal3;
488
+ border-color: $color-grey-500;
264
489
 
265
490
  input:checked {
266
491
  + label {
@@ -272,31 +497,31 @@ $contact-us-blue-light: #8498E7;
272
497
  }
273
498
 
274
499
  &:hover {
275
- background-color: rgba($color-white, .2);
276
- border-color: $foreground;
500
+ background-color: rgba($color-grey-200, .2);
501
+ border-color: $text-color;
277
502
  }
278
503
 
279
504
  &:focus-within {
280
- outline-color: $color-white;
505
+ outline-color: $color-grey-200;
281
506
  }
282
507
  }
283
508
 
284
509
  .form-control {
285
- border-color: $color-charcoal3;
510
+ border-color: $color-grey-500;
286
511
 
287
512
  &:hover,
288
513
  &:focus {
289
- border-color: $foreground;
514
+ border-color: $text-color;
290
515
  }
291
516
 
292
517
  &:focus {
293
- background-color: rgba($color-white, .2);
518
+ background-color: rgba($color-grey-200, .2);
294
519
  }
295
520
  }
296
521
 
297
522
  .btn-back {
298
- border-color: $foreground;
299
- color: $foreground;
523
+ border-color: $text-color;
524
+ color: $text-color;
300
525
 
301
526
  &:hover,
302
527
  &:focus {
@@ -318,24 +543,248 @@ $contact-us-blue-light: #8498E7;
318
543
  }
319
544
  }
320
545
 
546
+ .loader {
547
+ image {
548
+ filter: invert(1) hue-rotate(180deg) brightness(2);
549
+ }
550
+
551
+ #Circle {
552
+ filter: invert(1);
553
+ }
554
+
555
+ #Left-Arrow,
556
+ #Right-Arrow {
557
+ path {
558
+ fill: $color-lavender-500;
559
+
560
+ &:not(:first-of-type) {
561
+ stroke: $color-lavender-500;
562
+ }
563
+ }
564
+ }
565
+ }
566
+
321
567
  /* Need to overwrite inline styles of double submission block */
322
568
  .duplicate-submission {
323
569
  background-color: $background-color !important;
324
570
  color: $text-color !important;
325
571
 
326
- & * {
572
+ h3,
573
+ p {
327
574
  color: $text-color !important;
328
575
  }
329
576
  }
330
577
 
578
+ .form__bbb-logo,
579
+ .footer__bbb,
580
+ .bbb-logo,
581
+ .header__bbb-logo {
582
+ filter: $bbb-img-filter;
583
+ }
584
+
585
+ .header__back-button {
586
+ border-right-color: $color-grey-500;
587
+ }
588
+
589
+ .back-btn,
590
+ .btn--back,
591
+ .zip-control__location,
592
+ .zip-control__icon {
593
+ color: $interactive-text-color;
594
+ }
595
+
596
+ .back-btn,
597
+ .btn--back,
598
+ .zip-control__button {
599
+ &:hover,
600
+ &:focus {
601
+ color: $color-white;
602
+ outline-color: $color-grey-500;
603
+
604
+ .zip-control__location,
605
+ .zip-control__icon {
606
+ color: $interactive-text-color-hover;
607
+ }
608
+ }
609
+ }
610
+
611
+ @if $back-btn-background-color != null {
612
+ .btn-back {
613
+ background-color: $back-btn-background-color;
614
+ &:hover {
615
+ background-color: darken($back-btn-background-color, 5%);
616
+ }
617
+ }
618
+ }
619
+
620
+ &.form-in-progress {
621
+ .hero {
622
+ border-color: $color-grey-700;
623
+ }
624
+ }
625
+
626
+ .form-input-group {
627
+ &--includes-label {
628
+ .form-input:not(:placeholder-shown) {
629
+ background-color: $background-color;
630
+ }
631
+
632
+ .form-input:not(:placeholder-shown),
633
+ .form-input:focus {
634
+ + label {
635
+ color: $color-grey-200;
636
+ }
637
+ }
638
+ }
639
+ }
640
+
641
+ .radio__button {
642
+ label {
643
+ input[type='radio'] {
644
+ &:hover {
645
+ &:not(:checked) + .radio__button-text {
646
+ color: $radio-btn-checked-text-color;
647
+
648
+ &::before {
649
+ background-color: $radio-btn-checked-background-color;
650
+ border-color: $radio-btn-checked-border-color;
651
+ }
652
+
653
+ + span {
654
+ background-color: $radio-btn-checked-icon-background-color;
655
+
656
+ &::before {
657
+ color: $radio-btn-checked-icon-color;
658
+ }
659
+ }
660
+ }
661
+ }
662
+
663
+ &:focus + span::before {
664
+ box-shadow: $radio-btn-focus-box-shadow;
665
+ }
666
+
667
+ &:not(:hover,:checked) {
668
+ + .radio__button-text {
669
+ color: $radio-btn-text-color;
670
+
671
+ &::before {
672
+ background-color: $background;
673
+ border-color: $radio-btn-border-color;
674
+ }
675
+
676
+ // Icon
677
+ + span {
678
+ background-color: $radio-btn-icon-background;
679
+
680
+ &::before {
681
+ color: $radio-btn-icon-color;
682
+ transition: color .15s ease;
683
+ }
684
+ }
685
+ }
686
+ }
687
+
688
+ &:checked + .radio__button-text {
689
+ color: $radio-btn-checked-text-color;
690
+
691
+ + span {
692
+ background-color: $radio-btn-checked-icon-background-color;
693
+
694
+ &::before {
695
+ color: $radio-btn-checked-icon-color;
696
+ }
697
+ }
698
+
699
+ &::before {
700
+ border-color: $radio-btn-checked-border-color;
701
+ background-color: $radio-btn-checked-background-color;
702
+ }
703
+ }
704
+ }
705
+ }
706
+
707
+ .tile {
708
+ &__icon {
709
+ border-radius: 10px;
710
+ padding: 3px;
711
+ }
712
+
713
+ &__text {
714
+ &::before {
715
+ border-radius: 10px;
716
+ }
717
+ }
718
+ }
719
+ }
720
+
721
+ // Ketch Preference dashboard styles
722
+ #lanyard_root * {
723
+ background-color: $color-black !important;
724
+ color: $color-white !important;
725
+ outline-color: $color-white !important;
726
+
727
+ button {
728
+ background-color: $color-charcoal7 !important;
729
+
730
+ * {
731
+ background-color: $color-charcoal7 !important;
732
+ }
733
+
734
+ input[type="checkbox"] ~ span {
735
+ background: transparent !important;
736
+
737
+ svg {
738
+ background: transparent !important;
739
+ }
740
+ }
741
+
742
+ input[type="checkbox"]:not(:checked) + div {
743
+ background-color: $color-charcoal8 !important;
744
+ }
745
+ }
746
+
747
+ button[aria-label='Reject All'],
748
+ button[aria-label='Accept All'],
749
+ button[aria-label='Save'] {
750
+ background-color: $color-white !important;
751
+ color: $color-black !important;
752
+ }
753
+
754
+ button[aria-label='Exit'] {
755
+ div {
756
+ svg {
757
+ path {
758
+ filter: invert(1) !important;
759
+ }
760
+ }
761
+ }
762
+
763
+ }
764
+
765
+ a[aria-label='Learn more about Ketch for data privacy'] {
766
+ svg {
767
+ filter: brightness(5);
768
+ }
769
+ }
770
+ }
771
+
331
772
  @include breakpoint-phone {
332
773
  .hero--full {
333
774
  background-color: $background;
334
775
  }
335
776
 
336
- .form {
337
- &--inverted {
338
- box-shadow: none;
777
+ .hero__content {
778
+ box-shadow: $hero-content-box-shadow-mobile;
779
+ }
780
+
781
+ .form--inverted {
782
+ box-shadow: none;
783
+ }
784
+
785
+ &.form-in-progress {
786
+ .hero {
787
+ background-color: $background-color;
339
788
  }
340
789
  }
341
790
  }