diff options
author | Henri Sara <hesara@vaadin.com> | 2012-08-08 13:22:54 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2012-08-08 14:29:48 +0300 |
commit | f9d44e50e7c05723112a1a704583de3d2ee9e72c (patch) | |
tree | 453124cf5423bdb2e0e1eba408536af19fb91d66 /tests/sass/resources/scss/mixins.scss | |
parent | 0a5ef5d891672ddb2b9b4aee1ef195870356520d (diff) | |
download | vaadin-framework-f9d44e50e7c05723112a1a704583de3d2ee9e72c.tar.gz vaadin-framework-f9d44e50e7c05723112a1a704583de3d2ee9e72c.zip |
Add SASS source code, unit tests and test resources to project (#9223)
Diffstat (limited to 'tests/sass/resources/scss/mixins.scss')
-rw-r--r-- | tests/sass/resources/scss/mixins.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/sass/resources/scss/mixins.scss b/tests/sass/resources/scss/mixins.scss new file mode 100644 index 0000000000..f16c9a0e06 --- /dev/null +++ b/tests/sass/resources/scss/mixins.scss @@ -0,0 +1,44 @@ +//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; +} + +.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; +} +@include layout;
\ No newline at end of file |