summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/gridlayout
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/gridlayout
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/gridlayout')
-rw-r--r--WebContent/VAADIN/themes/base/gridlayout/gridlayout.scss22
1 files changed, 11 insertions, 11 deletions
diff --git a/WebContent/VAADIN/themes/base/gridlayout/gridlayout.scss b/WebContent/VAADIN/themes/base/gridlayout/gridlayout.scss
index 72f7437e6e..45b02316ae 100644
--- a/WebContent/VAADIN/themes/base/gridlayout/gridlayout.scss
+++ b/WebContent/VAADIN/themes/base/gridlayout/gridlayout.scss
@@ -1,34 +1,34 @@
-@mixin base-gridlayout {
+@mixin base-gridlayout($name : v-gridlayout) {
-.v-gridlayout {
+.#{$name} {
position: relative;
}
-.v-gridlayout-slot {
+.#{$name}-slot {
position: absolute;
}
-.v-gridlayout-margin-top {
+.#{$name}-margin-top {
padding-top: 12px;
}
-.v-gridlayout-margin-bottom {
+.#{$name}-margin-bottom {
padding-bottom: 12px;
}
-.v-gridlayout-margin-left {
+.#{$name}-margin-left {
padding-left: 12px;
}
-.v-gridlayout-margin-right {
+.#{$name}-margin-right {
padding-right: 12px;
}
-.v-gridlayout-spacing-on {
+.#{$name}-spacing-on {
padding-left: 6px;
padding-top: 6px;
overflow: hidden;
}
-.v-gridlayout-spacing,
-.v-gridlayout-spacing-off {
+.#{$name}-spacing,
+.#{$name}-spacing-off {
padding-left: 0;
padding-top: 0;
}
-.v-gridlayout-spacing-off {
+.#{$name}-spacing-off {
overflow: hidden;
}