mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-18 01:14:48 +00:00
DEV: Dart Sass deprecation (#150)
This commit is contained in:
parent
8dfdca567d
commit
1834095b23
@ -1,3 +1,5 @@
|
|||||||
|
@use "sass:math";
|
||||||
|
|
||||||
.subscription-campaign-sidebar {
|
.subscription-campaign-sidebar {
|
||||||
#main-outlet
|
#main-outlet
|
||||||
.container.list-container
|
.container.list-container
|
||||||
@ -329,11 +331,10 @@ $sidebar-box-shadow2: ();
|
|||||||
|
|
||||||
@for $i from 0 through $particles {
|
@for $i from 0 through $particles {
|
||||||
$box-shadow: $box-shadow,
|
$box-shadow: $box-shadow,
|
||||||
random($width)-$width /
|
random($width)-$width *
|
||||||
2 +
|
0.5 +
|
||||||
px
|
px
|
||||||
random($height)-$height /
|
random($height)-math.div($height, 1.2) +
|
||||||
1.2 +
|
|
||||||
px
|
px
|
||||||
hsl(random(360), 100, 50);
|
hsl(random(360), 100, 50);
|
||||||
$box-shadow2: $box-shadow2, 0 0 #fff;
|
$box-shadow2: $box-shadow2, 0 0 #fff;
|
||||||
@ -341,11 +342,10 @@ $sidebar-box-shadow2: ();
|
|||||||
|
|
||||||
@for $i from 0 through $sidebar-particles {
|
@for $i from 0 through $sidebar-particles {
|
||||||
$sidebar-box-shadow: $sidebar-box-shadow,
|
$sidebar-box-shadow: $sidebar-box-shadow,
|
||||||
random($sidebar-width)-$sidebar-width /
|
random($sidebar-width)-$sidebar-width *
|
||||||
2 +
|
0.5 +
|
||||||
px
|
px
|
||||||
random($sidebar-height)-$sidebar-height /
|
random($sidebar-height)-math.div($sidebar-height, 1.2) +
|
||||||
1.2 +
|
|
||||||
px
|
px
|
||||||
hsl(random(360), 100, 50);
|
hsl(random(360), 100, 50);
|
||||||
$sidebar-box-shadow2: $sidebar-box-shadow2, 0 0 #fff;
|
$sidebar-box-shadow2: $sidebar-box-shadow2, 0 0 #fff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user