diff --git a/assets/stylesheets/common/campaign.scss b/assets/stylesheets/common/campaign.scss index 94d783d..ebd635a 100644 --- a/assets/stylesheets/common/campaign.scss +++ b/assets/stylesheets/common/campaign.scss @@ -1,3 +1,5 @@ +@use "sass:math"; + .subscription-campaign-sidebar { #main-outlet .container.list-container @@ -329,11 +331,10 @@ $sidebar-box-shadow2: (); @for $i from 0 through $particles { $box-shadow: $box-shadow, - random($width)-$width / - 2 + + random($width)-$width * + 0.5 + px - random($height)-$height / - 1.2 + + random($height)-math.div($height, 1.2) + px hsl(random(360), 100, 50); $box-shadow2: $box-shadow2, 0 0 #fff; @@ -341,11 +342,10 @@ $sidebar-box-shadow2: (); @for $i from 0 through $sidebar-particles { $sidebar-box-shadow: $sidebar-box-shadow, - random($sidebar-width)-$sidebar-width / - 2 + + random($sidebar-width)-$sidebar-width * + 0.5 + px - random($sidebar-height)-$sidebar-height / - 1.2 + + random($sidebar-height)-math.div($sidebar-height, 1.2) + px hsl(random(360), 100, 50); $sidebar-box-shadow2: $sidebar-box-shadow2, 0 0 #fff;