OLD | NEW |
(Empty) | |
| 1 @import url(foo.css); |
| 2 @media print {} |
| 3 @media (min-width: 640px) and (min-height: 1000px) {} |
| 4 @main-color: red; |
| 5 |
| 6 ---------------------------------------------------- |
| 7 |
| 8 [ |
| 9 ["atrule", [ |
| 10 ["rule", "@import"], |
| 11 ["url", "url(foo.css)"], |
| 12 ["punctuation", ";"] |
| 13 ]], |
| 14 ["atrule", [ |
| 15 ["rule", "@media"], |
| 16 " print" |
| 17 ]], |
| 18 ["punctuation", "{"], |
| 19 ["punctuation", "}"], |
| 20 ["atrule", [ |
| 21 ["rule", "@media"], |
| 22 ["punctuation", "("], |
| 23 ["property", "min-width"], |
| 24 ["punctuation", ":"], |
| 25 " 640px", |
| 26 ["punctuation", ")"], |
| 27 " and ", |
| 28 ["punctuation", "("], |
| 29 ["property", "min-height"], |
| 30 ["punctuation", ":"], |
| 31 " 1000px", |
| 32 ["punctuation", ")"] |
| 33 ]], |
| 34 ["punctuation", "{"], |
| 35 ["punctuation", "}"], |
| 36 ["atrule", [ |
| 37 ["rule", "@main-color"], |
| 38 ["punctuation", ":"], |
| 39 " red", |
| 40 ["punctuation", ";"] |
| 41 ]] |
| 42 ] |
| 43 |
| 44 ---------------------------------------------------- |
| 45 |
| 46 Checks for at-rules. |
| 47 Also checks for LESS variables. |
OLD | NEW |