summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss')
-rw-r--r--theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss b/theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss
new file mode 100644
index 0000000000..71217cb814
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/mixin-content-directive.scss
@@ -0,0 +1,40 @@
+@mixin my-mixin {
+ .foobar {
+ @content;
+ }
+}
+
+@include my-mixin {
+ color: red;
+}
+
+@include my-mixin {
+ background-color: blue;
+}
+
+@mixin apply-to-ie6-only {
+ * html {
+ @content;
+ }
+}
+@include apply-to-ie6-only {
+ #logo {
+ background-image: url(/logo.gif);
+ }
+}
+@include apply-to-ie6-only {
+ .link {
+ color: blue;
+ }
+}
+
+@mixin mixin-multi-contents {
+ .foobar {
+ @content;
+ @content;
+ }
+}
+
+@include mixin-multi-contents {
+ color: red;
+} \ No newline at end of file