Skip to content

Commit fb7c1f4

Browse files
committed
Merge branch 'issue_1584'
2 parents 98da392 + 4ba7524 commit fb7c1f4

File tree

5 files changed

+59
-0
lines changed

5 files changed

+59
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.nest1 { color: red; }
2+
.nest2 { color: green; }
3+
.nest3 { color: blue; }
4+
.nest4 { color: yellow; }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.nest1{color:red}.nest2{color:green}.nest3{color:blue}.nest4{color:yellow}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.nest1 {
2+
color: red;
3+
}
4+
.nest2 {
5+
color: green;
6+
}
7+
.nest3 {
8+
color: blue;
9+
}
10+
.nest4 {
11+
color: yellow;
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.nest1 {
2+
color: red; }
3+
.nest2 {
4+
color: green; }
5+
.nest3 {
6+
color: blue; }
7+
.nest4 {
8+
color: yellow; }
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
@mixin foo($out: false) {
2+
@if $out {
3+
@at-root { @content; }
4+
}
5+
}
6+
7+
@mixin bar() {
8+
@at-root { @content; }
9+
}
10+
11+
@mixin baz($string) {
12+
@at-root .#{$string} { @content; }
13+
}
14+
15+
.test {
16+
@include foo(true) {
17+
.nest1 {
18+
color: red;
19+
}
20+
}
21+
@include bar() {
22+
.nest2 {
23+
color: green;
24+
}
25+
}
26+
@include baz('nest3') {
27+
color: blue;
28+
}
29+
@at-root {
30+
.nest4 {
31+
color: yellow;
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)