From 1834095b23e5124742d7412735c4275f7ee8850a Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Tue, 7 Feb 2023 16:25:47 -0300 Subject: [PATCH] DEV: Dart Sass deprecation (#150) --- assets/stylesheets/common/campaign.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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;