summaryrefslogtreecommitdiffstats
path: root/sass/tests/resources/scss/mixins.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/tests/resources/scss/mixins.scss')
-rw-r--r--sass/tests/resources/scss/mixins.scss55
1 files changed, 55 insertions, 0 deletions
diff --git a/sass/tests/resources/scss/mixins.scss b/sass/tests/resources/scss/mixins.scss
new file mode 100644
index 0000000000..52e03d62c1
--- /dev/null
+++ b/sass/tests/resources/scss/mixins.scss
@@ -0,0 +1,55 @@
+//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