diff options
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r-- | theme-compiler/tests/resources/automatic/css/nested-if.css | 7 | ||||
-rw-r--r-- | theme-compiler/tests/resources/automatic/scss/nested-if.scss | 19 |
2 files changed, 26 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/nested-if.css b/theme-compiler/tests/resources/automatic/css/nested-if.css new file mode 100644 index 0000000000..4fffc83705 --- /dev/null +++ b/theme-compiler/tests/resources/automatic/css/nested-if.css @@ -0,0 +1,7 @@ +.foobar { + color: red; +} + +.quux { + color: blue; +}
\ No newline at end of file diff --git a/theme-compiler/tests/resources/automatic/scss/nested-if.scss b/theme-compiler/tests/resources/automatic/scss/nested-if.scss new file mode 100644 index 0000000000..86c31f346b --- /dev/null +++ b/theme-compiler/tests/resources/automatic/scss/nested-if.scss @@ -0,0 +1,19 @@ +@if 1==1 { + @if 1==1 { + .foobar { + color: red; + } + } +} + +@if 1==1 { + .quux { + color: blue; + } + + @if 1==0 { + .baz { + background: #f00; + } + } +}
\ No newline at end of file |