-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…3217) * Adds passing test from #3098 * Added passing test example from #1817 * Allow lists to be re-evaluated as selectors (Fixes #1694)
- Loading branch information
1 parent
4115d8e
commit 23569c9
Showing
10 changed files
with
179 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
input[type=text]:focus, | ||
input[type=email]:focus, | ||
input[type=password]:focus, | ||
textarea:focus { | ||
foo: bar; | ||
} | ||
.a + .z, | ||
.b + .z, | ||
.c + .z { | ||
color: blue; | ||
} | ||
.master-page-1 .selector-1, | ||
.master-page-1 .selector-2 { | ||
background-color: red; | ||
} | ||
.fruit-apple, | ||
.fruit-satsuma, | ||
.fruit-banana, | ||
.fruit-pear { | ||
content: "Just a test."; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@inputs: input[type=text], input[type=email], input[type=password], textarea; | ||
|
||
@{inputs} { | ||
&:focus { | ||
foo: bar; | ||
} | ||
} | ||
|
||
@classes: ~".a, .b, .c"; | ||
|
||
@{classes} { | ||
+ .z { | ||
color: blue; | ||
} | ||
} | ||
|
||
@my-selector: ~'.selector-1, .selector-2'; | ||
.master-page-1 { | ||
@{my-selector} { | ||
background-color: red; | ||
} | ||
} | ||
|
||
@list: apple, satsuma, banana, pear; | ||
@{list} { | ||
.fruit-& { | ||
content: "Just a test."; | ||
} | ||
} |