diff options
author | Artur Signell <artur@vaadin.com> | 2012-08-30 15:22:06 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-08-30 15:22:06 +0300 |
commit | d028bf97a4ce9629b8ebab06978218fc9fa4ca71 (patch) | |
tree | 6ab09d7f23bf72e9a0f0f49ad5d2084ebcbe58fe /sass/tests/resources/scss/mixins.scss | |
parent | ed2a07f55455eef981944e57ea0e2e35ee11971a (diff) | |
download | vaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.tar.gz vaadin-framework-d028bf97a4ce9629b8ebab06978218fc9fa4ca71.zip |
Moved tests/sass to sass/tests (#9299)
Diffstat (limited to 'sass/tests/resources/scss/mixins.scss')
-rw-r--r-- | sass/tests/resources/scss/mixins.scss | 55 |
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 |