summaryrefslogtreecommitdiffstats
path: root/sass/tests/resources/scss/control-directives.scss
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-30 15:22:06 +0300
committerArtur Signell <artur@vaadin.com>2012-08-30 15:22:06 +0300
commitd028bf97a4ce9629b8ebab06978218fc9fa4ca71 (patch)
tree6ab09d7f23bf72e9a0f0f49ad5d2084ebcbe58fe /sass/tests/resources/scss/control-directives.scss
parented2a07f55455eef981944e57ea0e2e35ee11971a (diff)
downloadvaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.tar.gz
vaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.zip
Moved tests/sass to sass/tests (#9299)
Diffstat (limited to 'sass/tests/resources/scss/control-directives.scss')
-rw-r--r--sass/tests/resources/scss/control-directives.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/sass/tests/resources/scss/control-directives.scss b/sass/tests/resources/scss/control-directives.scss
new file mode 100644
index 0000000000..febd563f19
--- /dev/null
+++ b/sass/tests/resources/scss/control-directives.scss
@@ -0,0 +1,14 @@
+@for $i from 1 through 3 {
+ .item-#{$i} { width: 2em * $i; }
+}
+
+@while $i > 0 {
+ .item-#{$i} { width: 2em * $i; }
+ $i: $i - 2;
+}
+
+@each $animal in puma, sea-slug, egret, salamander {
+ .#{$animal}-icon {
+ background-image: url('/images/#{$animal}.png');
+ }
+} \ No newline at end of file