summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/absolutelayout
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-09-28 17:05:09 +0300
committerMarc Englund <marc@vaadin.com>2012-09-28 17:05:09 +0300
commitd68d89de07ff79ec8629e3aa8c8310f1aa4a237d (patch)
treeba7f2dac03d0639a9f791503534479790d7713d5 /WebContent/VAADIN/themes/base/absolutelayout
parenta499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79 (diff)
downloadvaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.tar.gz
vaadin-framework-d68d89de07ff79ec8629e3aa8c8310f1aa4a237d.zip
Sass restructure: base theme with renameable components
Diffstat (limited to 'WebContent/VAADIN/themes/base/absolutelayout')
-rw-r--r--WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.scss b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.scss
index ddb030c00f..c8bb57365f 100644
--- a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.scss
+++ b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.scss
@@ -1,18 +1,18 @@
-@mixin base-absolutelayout {
+@mixin base-absolutelayout($name : v-absolutelayout) {
-.v-absolutelayout-wrapper {
+.#{$name}-wrapper {
position: absolute;
overflow: hidden;
}
-.v-absolutelayout-margin, .v-absolutelayout-canvas {
+.#{$name}-margin, .#{$name}-canvas {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
-.v-absolutelayout.v-has-height > div, .v-absolutelayout.v-has-height > div > div {
+.#{$name}.v-has-height > div, .#{$name}.v-has-height > div > div {
height: 100%;
}
-.v-absolutelayout.v-has-width > div, .v-absolutelayout.v-has-width > div > div {
+.#{$name}.v-has-width > div, .#{$name}.v-has-width > div > div {
width: 100%;
}