diff options
Diffstat (limited to 'tests/sass/resources/css')
-rw-r--r-- | tests/sass/resources/css/control-directives.scss | 1 | ||||
-rw-r--r-- | tests/sass/resources/css/extends.css | 13 | ||||
-rw-r--r-- | tests/sass/resources/css/functions.css | 14 | ||||
-rw-r--r-- | tests/sass/resources/css/imports.css | 11 | ||||
-rw-r--r-- | tests/sass/resources/css/mixins.css | 41 | ||||
-rw-r--r-- | tests/sass/resources/css/nested-properties.css | 5 | ||||
-rw-r--r-- | tests/sass/resources/css/nesting.css | 47 | ||||
-rw-r--r-- | tests/sass/resources/css/parent-import.css | 25 | ||||
-rw-r--r-- | tests/sass/resources/css/parent-selector.css | 24 | ||||
-rw-r--r-- | tests/sass/resources/css/variables.css | 11 |
10 files changed, 192 insertions, 0 deletions
diff --git a/tests/sass/resources/css/control-directives.scss b/tests/sass/resources/css/control-directives.scss new file mode 100644 index 0000000000..0a6f1f7233 --- /dev/null +++ b/tests/sass/resources/css/control-directives.scss @@ -0,0 +1 @@ +Implement a sane test case.
\ No newline at end of file diff --git a/tests/sass/resources/css/extends.css b/tests/sass/resources/css/extends.css new file mode 100644 index 0000000000..d1c903f166 --- /dev/null +++ b/tests/sass/resources/css/extends.css @@ -0,0 +1,13 @@ +.error, .badError { + border: 1px #f00; + background: #fdd; +} + +.error.intrusion, .badError.intrusion { + font-size: 1.3em; + font-weight: bold; +} + +.badError { + border-width: 3px; +}
\ No newline at end of file diff --git a/tests/sass/resources/css/functions.css b/tests/sass/resources/css/functions.css new file mode 100644 index 0000000000..3757096667 --- /dev/null +++ b/tests/sass/resources/css/functions.css @@ -0,0 +1,14 @@ +.main { + margin: 2px; + border: 11px; + border: 10px; + border: 10px; + color: hsl(0, 0%, 30%); + color: hsl(25, 100%, 50%); + color: rgb(36, 0, 0); + color: rgb(240, 0, 0); + color: #200; + color: #240000; + color: #f00; + color: #f00000; +} diff --git a/tests/sass/resources/css/imports.css b/tests/sass/resources/css/imports.css new file mode 100644 index 0000000000..5b1001802a --- /dev/null +++ b/tests/sass/resources/css/imports.css @@ -0,0 +1,11 @@ +.caption { + border: 1px solid black; + background: #ff0000; + padding: 10px; + margin: 10px; +} + +.text { + font-weight: bold; + color: red; +}
\ No newline at end of file diff --git a/tests/sass/resources/css/mixins.css b/tests/sass/resources/css/mixins.css new file mode 100644 index 0000000000..cd5c9b85aa --- /dev/null +++ b/tests/sass/resources/css/mixins.css @@ -0,0 +1,41 @@ +.main { + border: 1px solid black; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + font-family: arial; + font-size: 16px; + font-weight: bold; +} + +.footer { + border: 2px solid black; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; +} + +.header { + width: 100%; +} + +.main { + width: 100%; + height: 100%; +} + +.footer { + width: 100%; +} + +@media print { + .v-view { + overflow: visible; + } +} + +font-family: arial; + +font-size: 16px; + +font-weight: bold;
\ No newline at end of file diff --git a/tests/sass/resources/css/nested-properties.css b/tests/sass/resources/css/nested-properties.css new file mode 100644 index 0000000000..79b21e632b --- /dev/null +++ b/tests/sass/resources/css/nested-properties.css @@ -0,0 +1,5 @@ +li { + font-family: serif; + font-weight: bold; + font-size: 1.2em; +}
\ No newline at end of file diff --git a/tests/sass/resources/css/nesting.css b/tests/sass/resources/css/nesting.css new file mode 100644 index 0000000000..2400c73d43 --- /dev/null +++ b/tests/sass/resources/css/nesting.css @@ -0,0 +1,47 @@ +.top-bar { + color: red; +} + +.top-bar .alt { + color: blue; +} + +.menu { + background-color: red; +} + +.menu a { + color: blue; +} + +.caption { + padding: 10px; +} + +.caption .text, .caption .header { + color: green; +} + +.footer { + padding: 10px; +} + +.footer .left, .footer .right { + color: purple; +} + +.footer .left a, .footer .right a { + color: orange; +} + +.main { + color: red; +} + +.main .second.third { + color: blue; +} + +.main .second.third .fourth { + color: black; +} diff --git a/tests/sass/resources/css/parent-import.css b/tests/sass/resources/css/parent-import.css new file mode 100644 index 0000000000..f67d17f8b4 --- /dev/null +++ b/tests/sass/resources/css/parent-import.css @@ -0,0 +1,25 @@ +.content-navigation { + border-color: #3bbfce; + color: #0000ff; +} + +.border { + padding: 8px; + margin: 8px; + border-color: #3bbfce; +} + +.body { + background-image: url(../folder-test2/bg.png); + background: transparent url(../folder-test2/img/loading-indicator.gif); + background-image: url(http://abc/bg.png); + background-image: url(/abc/bg.png); +} + +.base { + color: red; +} + +.text { + font-weight: bold; +}
\ No newline at end of file diff --git a/tests/sass/resources/css/parent-selector.css b/tests/sass/resources/css/parent-selector.css new file mode 100644 index 0000000000..9c7140e313 --- /dev/null +++ b/tests/sass/resources/css/parent-selector.css @@ -0,0 +1,24 @@ +a { + font-weight: bold; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +body.firefox a { + font-weight: normal; +} + +#main { + color: black; +} + +#main a { + font-weight: bold; +} + +#main a:hover { + color: red; +}
\ No newline at end of file diff --git a/tests/sass/resources/css/variables.css b/tests/sass/resources/css/variables.css new file mode 100644 index 0000000000..67ca5fdb7a --- /dev/null +++ b/tests/sass/resources/css/variables.css @@ -0,0 +1,11 @@ +.content-navigation { + border-color: #3bbfce; + color: #0000ff; + font-family: Arial, Helvetica, "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; +} + +.border { + padding: 8px; + margin: 8px; + border-color: #3bbfce; +}
\ No newline at end of file |