1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
$blah: bloo blee;
$blip: "a 'red' and \"blue\" value";
/* top level comment -- should be preserved */
div {
/* another comment that should be preserved */
color: red;
background: blue;
$blux: hux; // gone!
span {
font-weight: bold;
a {
text-decoration: none; /* where will this comment go? */
color: green;
/* what about this comment? */ border: 1px $blah red;
}
/* yet another comment that should be preserved */
display: inline-block;
} // gone!
/* the next selector should be indented two spaces */
empty {
not_empty {
blah: blah; // gone!
bloo: bloo;
}
}
p {
padding: 10px 8%;
-webkit-box-sizing: $blux;
}
margin: 10px 5px;
h1 {
color: $blip;
}
}
/* last comment, top level again --
compare the indentation! */
div {
f: g;
empty {
span {
a: b;
}
}
empty_with_comment {
/* hey now */
span {
c: d;
}
}
}
|