summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/formlayout
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-09-28 16:09:23 +0300
committerMarc Englund <marc@vaadin.com>2012-09-28 16:09:23 +0300
commita499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79 (patch)
treed68b11585e58a948cc9f48587ea03cff2b3e37c7 /WebContent/VAADIN/themes/reindeer/formlayout
parent8ca203ca29543429425823c0f547ddf4140f6991 (diff)
downloadvaadin-framework-a499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79.tar.gz
vaadin-framework-a499ccaa61a8aa72a1ca4334e5ba3becc6ecfb79.zip
Sass restructure: tried some variants, this should be a reindeer structure that should work w/o overlay-container
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/formlayout')
-rw-r--r--WebContent/VAADIN/themes/reindeer/formlayout/formlayout.scss30
1 files changed, 15 insertions, 15 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/formlayout/formlayout.scss b/WebContent/VAADIN/themes/reindeer/formlayout/formlayout.scss
index ab47767dcf..010d6e7db2 100644
--- a/WebContent/VAADIN/themes/reindeer/formlayout/formlayout.scss
+++ b/WebContent/VAADIN/themes/reindeer/formlayout/formlayout.scss
@@ -1,36 +1,36 @@
-@mixin reindeer-formlayout {
+@mixin reindeer-formlayout($name : v-formlayout) {
-.v-formlayout-errorcell {
+.#{$name}-errorcell {
width: 13px;
}
-.v-formlayout-cell .v-errorindicator {
+.#{$name}-cell .v-errorindicator {
width: 13px;
height: 16px;
background: transparent url(../common/icons/error.png) no-repeat 50%;
}
-.v-formlayout-captioncell {
+.#{$name}-captioncell {
text-align: right;
white-space: nowrap;
}
-.v-formlayout-spacing .v-formlayout-row .v-formlayout-captioncell,
-.v-formlayout-spacing .v-formlayout-row .v-formlayout-contentcell,
-.v-formlayout-spacing .v-formlayout-row .v-formlayout-errorcell {
+.#{$name}-spacing .#{$name}-row .#{$name}-captioncell,
+.#{$name}-spacing .#{$name}-row .#{$name}-contentcell,
+.#{$name}-spacing .#{$name}-row .#{$name}-errorcell {
padding-top: 8px;
}
-.v-formlayout-margin-top .v-formlayout-firstrow .v-formlayout-captioncell,
-.v-formlayout-margin-top .v-formlayout-firstrow .v-formlayout-contentcell,
-.v-formlayout-margin-top .v-formlayout-firstrow .v-formlayout-errorcell {
+.#{$name}-margin-top .#{$name}-firstrow .#{$name}-captioncell,
+.#{$name}-margin-top .#{$name}-firstrow .#{$name}-contentcell,
+.#{$name}-margin-top .#{$name}-firstrow .#{$name}-errorcell {
padding-top: 15px;
}
-.v-formlayout-margin-bottom .v-formlayout-lastrow .v-formlayout-captioncell,
-.v-formlayout-margin-bottom .v-formlayout-lastrow .v-formlayout-contentcell,
-.v-formlayout-margin-bottom .v-formlayout-lastrow .v-formlayout-errorcell {
+.#{$name}-margin-bottom .#{$name}-lastrow .#{$name}-captioncell,
+.#{$name}-margin-bottom .#{$name}-lastrow .#{$name}-contentcell,
+.#{$name}-margin-bottom .#{$name}-lastrow .#{$name}-errorcell {
padding-bottom: 15px;
}
-.v-formlayout-margin-left .v-formlayout-captioncell {
+.#{$name}-margin-left .#{$name}-captioncell {
padding-left: 18px;
}
-.v-formlayout-margin-right .v-formlayout-contentcell {
+.#{$name}-margin-right .#{$name}-contentcell {
padding-right: 18px;
}
/* form */