diff options
author | Marc Englund <marc@vaadin.com> | 2012-09-27 10:24:35 +0300 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-09-27 10:24:35 +0300 |
commit | 0cf6705e9a53c3c2b476a99cf7e6d048881b298c (patch) | |
tree | f133e60a5d30af43ecc87152df29c26ebdb05715 /theme-compiler/tests | |
parent | abea9d1ce0fdcad2e344cfa2417a09c29d903648 (diff) | |
download | vaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.tar.gz vaadin-framework-0cf6705e9a53c3c2b476a99cf7e6d048881b298c.zip |
Improves remove() for #9380
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r-- | theme-compiler/tests/resources/css/remove-directive.css | 8 | ||||
-rw-r--r-- | theme-compiler/tests/resources/scss/remove-directive.scss | 12 |
2 files changed, 18 insertions, 2 deletions
diff --git a/theme-compiler/tests/resources/css/remove-directive.css b/theme-compiler/tests/resources/css/remove-directive.css index b7fd2c7e6c..1e6d41c128 100644 --- a/theme-compiler/tests/resources/css/remove-directive.css +++ b/theme-compiler/tests/resources/css/remove-directive.css @@ -28,4 +28,12 @@ .exotic-animals .llama-icon { background-image: url('/images/llama.png'); +} + +.ball { + font-size: 12px; +} + +.cube { + font-size: 12px; }
\ No newline at end of file diff --git a/theme-compiler/tests/resources/scss/remove-directive.scss b/theme-compiler/tests/resources/scss/remove-directive.scss index cbfca9dcda..ca9a19522f 100644 --- a/theme-compiler/tests/resources/scss/remove-directive.scss +++ b/theme-compiler/tests/resources/scss/remove-directive.scss @@ -7,10 +7,18 @@ $remove : duck; } } -remove($animals, $remove, space); +$exotic : remove($animals, $remove, space); -@each $animal in $animals{ +@each $animal in $exotic{ .exotic-animals .#{$animal}-icon { background-image: url('/images/#{$animal}.png'); } } + +$things : remove((ball,cube,duck), duck); + +@each $thing in $things{ + .#{$thing}{ + font-size: 12px; + } +}
\ No newline at end of file |