summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r--theme-compiler/tests/resources/automatic/css/media-import.css1
-rw-r--r--theme-compiler/tests/resources/automatic/css/media-multiple.css10
-rw-r--r--theme-compiler/tests/resources/automatic/css/media.css5
-rw-r--r--theme-compiler/tests/resources/automatic/scss/media-import.scss1
-rw-r--r--theme-compiler/tests/resources/automatic/scss/media-multiple.scss10
-rw-r--r--theme-compiler/tests/resources/automatic/scss/media.scss5
6 files changed, 32 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/media-import.css b/theme-compiler/tests/resources/automatic/css/media-import.css
new file mode 100644
index 0000000000..80519945f8
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/media-import.css
@@ -0,0 +1 @@
+@import url(color.css) screen and (color); \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/css/media-multiple.css b/theme-compiler/tests/resources/automatic/css/media-multiple.css
new file mode 100644
index 0000000000..2550d018b3
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/media-multiple.css
@@ -0,0 +1,10 @@
+@media print, screen {
+ a {
+ b: c;
+ }
+}
+@media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) {
+ body {
+ background: #ccc;
+ }
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/css/media.css b/theme-compiler/tests/resources/automatic/css/media.css
new file mode 100644
index 0000000000..f4183d9a07
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/media.css
@@ -0,0 +1,5 @@
+@media screen and (max-width: 480px) {
+ .abc {
+ background: red;
+ }
+}
diff --git a/theme-compiler/tests/resources/automatic/scss/media-import.scss b/theme-compiler/tests/resources/automatic/scss/media-import.scss
new file mode 100644
index 0000000000..80519945f8
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/media-import.scss
@@ -0,0 +1 @@
+@import url(color.css) screen and (color); \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/media-multiple.scss b/theme-compiler/tests/resources/automatic/scss/media-multiple.scss
new file mode 100644
index 0000000000..2550d018b3
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/media-multiple.scss
@@ -0,0 +1,10 @@
+@media print, screen {
+ a {
+ b: c;
+ }
+}
+@media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) {
+ body {
+ background: #ccc;
+ }
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/media.scss b/theme-compiler/tests/resources/automatic/scss/media.scss
new file mode 100644
index 0000000000..7db52de9ed
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/media.scss
@@ -0,0 +1,5 @@
+@media screen and (max-width: 480px) {
+ .abc {
+ background: red;
+ }
+}