Skip to content

Commit 03e5938

Browse files
committed
fix(with-without): addressing various feedback from yao
1 parent c36839f commit 03e5938

File tree

3 files changed

+62
-53
lines changed

3 files changed

+62
-53
lines changed

packages/components/bolt-with-without/bolt-toggle/bolt-toggle.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $bolt-toggle-animation-duration: 0.2s;
1010

1111
$color-contrast-low: bolt-color(white);
1212
$color-contrast-lower: bolt-color(white);
13-
$color-primary: bolt-color(teal);
13+
$color-primary: bolt-color(teal, light);
1414
$text-sm: 14px;
1515
$shadow-sm: 1px;
1616

@@ -150,4 +150,4 @@ $shadow-sm: 1px;
150150
left: calc(#{$bolt-toggle-width} - #{$bolt-toggle-width / 2} + #{$bolt-toggle-padding});
151151

152152
}
153-
}
153+
}

packages/components/bolt-with-without/with-without.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ bolt-animate {
245245
&__circles-and-blocks--animator[meta-stage="OUT"] {
246246
// There was a flash of a badly-styled circle right after animate.
247247
margin-left: -9999999px;
248+
z-index: -999;
249+
pointer-events: none;
248250
}
249251

250252
&__circles-wrapper {
@@ -478,7 +480,7 @@ bolt-animate {
478480
}
479481

480482
@include bolt-mq($from: xxlarge) {
481-
font-size: 16px;
483+
font-size: 13px;
482484
}
483485
}
484486

@@ -551,6 +553,7 @@ bolt-animate {
551553
left: 9%;
552554
width: calc(#{$pega-wwo--block-width-basis} + 110px);
553555
padding-top: 33.75%;
556+
z-index: 1;
554557
}
555558

556559
@include bolt-mq($from: xxlarge) {
@@ -611,10 +614,6 @@ bolt-animate {
611614
.c-pega-wwo__block-title {
612615
color: bolt-color(yellow);
613616

614-
@include bolt-mq($from: xlarge) {
615-
white-space: nowrap;
616-
}
617-
618617
@include bolt-mq($from: xlarge) {
619618
white-space: normal;
620619
}
@@ -625,6 +624,7 @@ bolt-animate {
625624
left: 1.5%;
626625
width: calc(#{$pega-wwo--block-width-basis} + 130px);
627626
padding-top: 24%;
627+
z-index: 1;
628628
}
629629

630630
@include bolt-mq($from: xxlarge) {

0 commit comments

Comments
 (0)