mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
rename mute to reference
This commit is contained in:
58
test/css/import-reference.css
Normal file
58
test/css/import-reference.css
Normal file
@@ -0,0 +1,58 @@
|
||||
@media only screen and (max-width: 200px) {
|
||||
width: 480px;
|
||||
}
|
||||
/*
|
||||
The media statement above is invalid (no selector)
|
||||
We should ban invalid media queries with properties and no selector?
|
||||
*/
|
||||
.visible {
|
||||
color: red;
|
||||
}
|
||||
.visible .c {
|
||||
color: green;
|
||||
}
|
||||
.visible {
|
||||
color: green;
|
||||
}
|
||||
.visible:hover {
|
||||
color: green;
|
||||
}
|
||||
.visible {
|
||||
color: green;
|
||||
}
|
||||
.only-with-visible + .visible,
|
||||
.visible + .only-with-visible,
|
||||
.visible + .visible {
|
||||
color: green;
|
||||
}
|
||||
.only-with-visible + .visible .sub,
|
||||
.visible + .only-with-visible .sub,
|
||||
.visible + .visible .sub {
|
||||
color: green;
|
||||
}
|
||||
.b {
|
||||
color: red;
|
||||
color: green;
|
||||
}
|
||||
.b .c {
|
||||
color: green;
|
||||
}
|
||||
.b:hover {
|
||||
color: green;
|
||||
}
|
||||
.b {
|
||||
color: green;
|
||||
}
|
||||
.b + .b {
|
||||
color: green;
|
||||
}
|
||||
.b + .b .sub {
|
||||
color: green;
|
||||
}
|
||||
.y {
|
||||
pulled-in: yes;
|
||||
}
|
||||
/* comment pulled in */
|
||||
.visible {
|
||||
extend: test;
|
||||
}
|
||||
Reference in New Issue
Block a user