summaryrefslogtreecommitdiffstats
path: root/tests/sass/resources/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 /tests/sass/resources/scss
parented2a07f55455eef981944e57ea0e2e35ee11971a (diff)
downloadvaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.tar.gz
vaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.zip
Moved tests/sass to sass/tests (#9299)
Diffstat (limited to 'tests/sass/resources/scss')
-rw-r--r--tests/sass/resources/scss/_partial-for-import.scss9
-rw-r--r--tests/sass/resources/scss/comments.scss13
-rw-r--r--tests/sass/resources/scss/control-directives.scss14
-rw-r--r--tests/sass/resources/scss/extends.scss13
-rw-r--r--tests/sass/resources/scss/folder-test/parent-import.scss6
-rw-r--r--tests/sass/resources/scss/folder-test2/base-imported.scss1
-rw-r--r--tests/sass/resources/scss/folder-test2/base.scss3
-rw-r--r--tests/sass/resources/scss/folder-test2/url.scss6
-rw-r--r--tests/sass/resources/scss/folder-test2/variables.scss14
-rw-r--r--tests/sass/resources/scss/functions.scss16
-rw-r--r--tests/sass/resources/scss/imports.scss6
-rw-r--r--tests/sass/resources/scss/interpolation.scss3
-rw-r--r--tests/sass/resources/scss/microsoft-extensions.scss6
-rw-r--r--tests/sass/resources/scss/mixins.scss55
-rw-r--r--tests/sass/resources/scss/nested-properties.scss7
-rw-r--r--tests/sass/resources/scss/nesting.scss40
-rw-r--r--tests/sass/resources/scss/parent-selector.scss14
-rw-r--r--tests/sass/resources/scss/reference-parent-selector.css6
-rw-r--r--tests/sass/resources/scss/semicolons.scss9
-rw-r--r--tests/sass/resources/scss/var-guarded.scss8
-rw-r--r--tests/sass/resources/scss/variables.scss17
21 files changed, 0 insertions, 266 deletions
diff --git a/tests/sass/resources/scss/_partial-for-import.scss b/tests/sass/resources/scss/_partial-for-import.scss
deleted file mode 100644
index 32c3149a5b..0000000000
--- a/tests/sass/resources/scss/_partial-for-import.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-$foo : red;
-
-.caption {
- $side: right;
- border: 1px solid black;
- background: #ff0000;
- padding: 10px;
- margin: 10px;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/comments.scss b/tests/sass/resources/scss/comments.scss
deleted file mode 100644
index de3fbe8e0d..0000000000
--- a/tests/sass/resources/scss/comments.scss
+++ /dev/null
@@ -1,13 +0,0 @@
-/** 0sprite: verticals; sprite-image: url(../common/img/vertical-sprites.png); sprite-layout: vertical */
-/** 1sprite: verticals; sprite-image: url(../common/img/vertical-sprites.png); sprite-layout: vertical */
-/** 2sprite: verticals; sprite-image: url(../common/img/vertical-sprites.png); sprite-layout: vertical */
-$black:#000000;
-.v-button:focus {
- background-image: url(img/left-focus.png);/** sprite-ref: buttons */
- outline: none;
-}
-
-.v-button:focus .v-button-wrap {
- background-image: url(img/right-focus.png);/** sprite-ref: buttons; sprite-alignment: right */
- outline: none;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/control-directives.scss b/tests/sass/resources/scss/control-directives.scss
deleted file mode 100644
index febd563f19..0000000000
--- a/tests/sass/resources/scss/control-directives.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-@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
diff --git a/tests/sass/resources/scss/extends.scss b/tests/sass/resources/scss/extends.scss
deleted file mode 100644
index c9e0f85381..0000000000
--- a/tests/sass/resources/scss/extends.scss
+++ /dev/null
@@ -1,13 +0,0 @@
-.error {
- border: 1px #f00;
- background: #fdd;
-}
-.error.intrusion {
- font-size: 1.3em;
- font-weight: bold;
-}
-
-.badError {
- @extend .error;
- border-width: 3px;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/folder-test/parent-import.scss b/tests/sass/resources/scss/folder-test/parent-import.scss
deleted file mode 100644
index b3f6c8000e..0000000000
--- a/tests/sass/resources/scss/folder-test/parent-import.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "../folder-test2/variables.scss";
-@import "../folder-test2/url";
-@import "../folder-test2/base-imported.scss";
-.text {
- font-weight: bold;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/folder-test2/base-imported.scss b/tests/sass/resources/scss/folder-test2/base-imported.scss
deleted file mode 100644
index 17d801e4aa..0000000000
--- a/tests/sass/resources/scss/folder-test2/base-imported.scss
+++ /dev/null
@@ -1 +0,0 @@
-@import "base.scss"; \ No newline at end of file
diff --git a/tests/sass/resources/scss/folder-test2/base.scss b/tests/sass/resources/scss/folder-test2/base.scss
deleted file mode 100644
index 57ca0bb7a2..0000000000
--- a/tests/sass/resources/scss/folder-test2/base.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-.base{
- color: red;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/folder-test2/url.scss b/tests/sass/resources/scss/folder-test2/url.scss
deleted file mode 100644
index a4be967ad7..0000000000
--- a/tests/sass/resources/scss/folder-test2/url.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-.body{
- background-image: url(bg.png);
- background: transparent url(img/loading-indicator.gif);
- background-image: url(http://abc/bg.png);
- background-image: url(/abc/bg.png);
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/folder-test2/variables.scss b/tests/sass/resources/scss/folder-test2/variables.scss
deleted file mode 100644
index 2d06d36650..0000000000
--- a/tests/sass/resources/scss/folder-test2/variables.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-$blue: #3bbfce;
-$margin: 8px;
-
-.content-navigation {
- border-color: $blue;
- $blue: #0000ff;
- color: $blue;
-}
-
-.border {
- padding: $margin;
- margin: $margin;
- border-color: $blue;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/functions.scss b/tests/sass/resources/scss/functions.scss
deleted file mode 100644
index abf6f6187d..0000000000
--- a/tests/sass/resources/scss/functions.scss
+++ /dev/null
@@ -1,16 +0,0 @@
-.main {
- margin: abs(-2px);
- border: ceil(10.4px);
- border: floor(10.4px);
- border: round(10.4px);
- color: lighten(hsl(0, 0%, 0%), 30%);
- color: darken(hsl(25, 100%, 80%), 30%);
- color: darken(rgb(136, 0, 0), 20%);
- color: lighten(rgb(136, 0, 0), 20%);
- color: darken(#880000, 20%);
- color: darken(#800, 20%);
- color: lighten(#880000, 20%);
- color: lighten(#800, 20%);
-}
-
-
diff --git a/tests/sass/resources/scss/imports.scss b/tests/sass/resources/scss/imports.scss
deleted file mode 100644
index 4d53a120d2..0000000000
--- a/tests/sass/resources/scss/imports.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-@import "_partial-for-import";
-
-.text {
- font-weight: bold;
- color: $foo;
-}
diff --git a/tests/sass/resources/scss/interpolation.scss b/tests/sass/resources/scss/interpolation.scss
deleted file mode 100644
index 5859a9838b..0000000000
--- a/tests/sass/resources/scss/interpolation.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-$name: foo;
-$attr: border;
-p.#{$name}abc { abc#{$attr}-color: blue } \ No newline at end of file
diff --git a/tests/sass/resources/scss/microsoft-extensions.scss b/tests/sass/resources/scss/microsoft-extensions.scss
deleted file mode 100644
index 69670969de..0000000000
--- a/tests/sass/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/tests/sass/resources/scss/mixins.scss b/tests/sass/resources/scss/mixins.scss
deleted file mode 100644
index 52e03d62c1..0000000000
--- a/tests/sass/resources/scss/mixins.scss
+++ /dev/null
@@ -1,55 +0,0 @@
-//asfdasdf
-
-@mixin font-settings {
- font-family: arial;
- font-size: 16px;
- font-weight: bold;
-}
-
-@mixin rounded-borders($thickness, $radius : 3px) {
- border: $thickness solid black;
- -webkit-border-radius: $radius;
- -moz-border-radius: $radius;
- border-radius: $radius;
-}
-
-.main {
- @include rounded-borders(1px);
- @include font-settings;
- @include main-details(14px);
-}
-
-.footer {
- @include rounded-borders(2px, 10px);
-}
-
-@mixin layout {
- .header {
- width: 100%;
- }
- .main {
- width: 100%;
- height: 100%;
- }
-
- .footer {
- width: 100%;
- }
- @media print {
- .v-view {
- overflow: visible;
- }
- }
- @include font-settings;
-}
-
-@mixin main-details($size){
- .details {
- font: {
- size : $size;
- weight: bold;
- }
- }
-}
-
-@include layout; \ No newline at end of file
diff --git a/tests/sass/resources/scss/nested-properties.scss b/tests/sass/resources/scss/nested-properties.scss
deleted file mode 100644
index e12a83aa2d..0000000000
--- a/tests/sass/resources/scss/nested-properties.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-li {
- font: {
- family: serif;;
- weight: bold;
- size: 1.2em
- }
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/nesting.scss b/tests/sass/resources/scss/nesting.scss
deleted file mode 100644
index 0336c9e86d..0000000000
--- a/tests/sass/resources/scss/nesting.scss
+++ /dev/null
@@ -1,40 +0,0 @@
-.top-bar {
- color: red;
- .alt {
- color: blue;
- }
-}
-
-.menu {
- background-color: red;
- a {
- color: blue;
- }
-}
-
-.caption {
- padding: 10px;
- .text, .header {
- color: green;
- }
-}
-
-.footer {
- padding: 10px;
- .left, .right {
- color: purple;
- a {
- color: orange;
- }
- }
-}
-
-.main {
- color: red;
- .second.third {
- color: blue;
- .fourth {
- color: black;
- }
- }
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/parent-selector.scss b/tests/sass/resources/scss/parent-selector.scss
deleted file mode 100644
index 3d0f694801..0000000000
--- a/tests/sass/resources/scss/parent-selector.scss
+++ /dev/null
@@ -1,14 +0,0 @@
-a {
- font-weight: bold;
- text-decoration: none;
- &:hover { text-decoration: underline; }
- body.firefox & { font-weight: normal; }
-}
-
-#main {
- color: black;
- a {
- font-weight: bold;
- &:hover { color: red; }
- }
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/reference-parent-selector.css b/tests/sass/resources/scss/reference-parent-selector.css
deleted file mode 100644
index 733c8fd42d..0000000000
--- a/tests/sass/resources/scss/reference-parent-selector.css
+++ /dev/null
@@ -1,6 +0,0 @@
-a {
- color: #660000;
- &:hover {color: #000000;}
- &:visited {color:#660066;}
- &:active {color: #ffffff;}
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/semicolons.scss b/tests/sass/resources/scss/semicolons.scss
deleted file mode 100644
index a4a56043d5..0000000000
--- a/tests/sass/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
-}
diff --git a/tests/sass/resources/scss/var-guarded.scss b/tests/sass/resources/scss/var-guarded.scss
deleted file mode 100644
index 8f7aab8fa9..0000000000
--- a/tests/sass/resources/scss/var-guarded.scss
+++ /dev/null
@@ -1,8 +0,0 @@
-$content: "First content";
-$content: "Second content?" !default;
-$new_content: "First time reference" !default;
-
-#main {
- content: $content;
- new-content: $new_content;
-} \ No newline at end of file
diff --git a/tests/sass/resources/scss/variables.scss b/tests/sass/resources/scss/variables.scss
deleted file mode 100644
index 60acc5dd10..0000000000
--- a/tests/sass/resources/scss/variables.scss
+++ /dev/null
@@ -1,17 +0,0 @@
-$blue: #3bbfce;
-$margin: 8px;
-$chameleon-font-family: Arial, Helvetica, "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
-
-.content-navigation {
- border-color: $blue;
- $blue: #0000ff;
- color: $blue;
- color1: darken($blue, 9%);
- font-family: $chameleon-font-family;
-}
-
-.border {
- padding: $margin;
- margin: $margin;
- border-color: $blue;
-} \ No newline at end of file