From e8ef66d2d6dde9cb1b9b0fa0df24643c1e0f6f26 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 27 Nov 2012 11:14:57 +0200 Subject: Move some SCSS tests to be scanned automatically Change-Id: I7590c6cd20f649a5c02e92673d44cf1c2721b95d --- .../tests/resources/scss/listmodify.scss | 25 ---------------------- .../tests/resources/scss/microsoft-extensions.scss | 6 ------ .../tests/resources/scss/remove-directive.scss | 24 --------------------- .../tests/resources/scss/semicolons.scss | 9 -------- 4 files changed, 64 deletions(-) delete mode 100644 theme-compiler/tests/resources/scss/listmodify.scss delete mode 100644 theme-compiler/tests/resources/scss/microsoft-extensions.scss delete mode 100644 theme-compiler/tests/resources/scss/remove-directive.scss delete mode 100644 theme-compiler/tests/resources/scss/semicolons.scss (limited to 'theme-compiler/tests/resources/scss') diff --git a/theme-compiler/tests/resources/scss/listmodify.scss b/theme-compiler/tests/resources/scss/listmodify.scss deleted file mode 100644 index 814f3156f8..0000000000 --- a/theme-compiler/tests/resources/scss/listmodify.scss +++ /dev/null @@ -1,25 +0,0 @@ -$list : .v-button, .v-panel, .v-label; - -$basics : remove($list, .v-panel); - -@each $component in $basics{ - .#{$component} { - font-size: 12px; - } -} - -$items : append($basics, .v-textfield); - -@each $component in $items{ - .#{$component} { - font-color: red; - } -} - -$contains : contains($items, .v-button); - -@if($contains){ - .v-button { - background-color: black; - } -} diff --git a/theme-compiler/tests/resources/scss/microsoft-extensions.scss b/theme-compiler/tests/resources/scss/microsoft-extensions.scss deleted file mode 100644 index 69670969de..0000000000 --- a/theme-compiler/tests/resources/scss/microsoft-extensions.scss +++ /dev/null @@ -1,6 +0,0 @@ -.v-ie6 .v-shadow-window { - background: #000000; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=5 ) alpha(opacity = 20); - margin-top: 2px; - margin-left: 2px; -} diff --git a/theme-compiler/tests/resources/scss/remove-directive.scss b/theme-compiler/tests/resources/scss/remove-directive.scss deleted file mode 100644 index ca9a19522f..0000000000 --- a/theme-compiler/tests/resources/scss/remove-directive.scss +++ /dev/null @@ -1,24 +0,0 @@ -$animals : platypus, rhinoceros, llama, duck, duck; -$remove : duck; - -@each $animal in $animals { - .animals .#{$animal}-icon { - background-image: url('/images/#{$animal}.png'); - } -} - -$exotic : remove($animals, $remove, space); - -@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 diff --git a/theme-compiler/tests/resources/scss/semicolons.scss b/theme-compiler/tests/resources/scss/semicolons.scss deleted file mode 100644 index a4a56043d5..0000000000 --- a/theme-compiler/tests/resources/scss/semicolons.scss +++ /dev/null @@ -1,9 +0,0 @@ -.all-the-properties { - font-family: Arial, Helvetica, "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; ; - position: absolute;; - overflow: hidden; -} -.missing-semicolon-on-last-row { - color: red; - background-color: blue -} -- cgit v1.2.3