aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/orderedlayout
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-29 15:46:18 +0200
committerVaadin Code Review <review@vaadin.com>2012-12-07 11:17:41 +0000
commitd004bdfd17127666ea8bb4ae8652a859546f1ff0 (patch)
tree075ddde83081ba6611be51099a51241d68bf88d8 /WebContent/VAADIN/themes/runo/orderedlayout
parent10cda2673592f63a1cc3adf5f30d31bf6be46056 (diff)
downloadvaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.tar.gz
vaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.zip
Added support for $primaryStyleName to Runo
Change-Id: I2c1a24b2655c1b9361b52e24f542deb64be8a914
Diffstat (limited to 'WebContent/VAADIN/themes/runo/orderedlayout')
-rw-r--r--WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.scss b/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.scss
index bb202433b5..d01371599c 100644
--- a/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.scss
+++ b/WebContent/VAADIN/themes/runo/orderedlayout/orderedlayout.scss
@@ -1,34 +1,34 @@
-@mixin runo-orderedlayout {
+@mixin runo-orderedlayout($primaryStyleName : v-orderedlayout) {
-.v-orderedlayout-margin-top,
+.#{$primaryStyleName}-margin-top,
.v-horizontallayout-margin-top,
.v-verticallayout-margin-top,
.v-csslayout-margin-top,
.v-layout.v-margin-top {
padding-top: 15px;
}
-.v-orderedlayout-margin-right,
+.#{$primaryStyleName}-margin-right,
.v-horizontallayout-margin-right,
.v-verticallayout-margin-right,
.v-csslayout-margin-right,
.v-layout.v-margin-right {
padding-right: 18px;
}
-.v-orderedlayout-margin-bottom,
+.#{$primaryStyleName}-margin-bottom,
.v-horizontallayout-margin-bottom,
.v-verticallayout-margin-bottom,
.v-csslayout-margin-bottom,
.v-layout.v-margin-bottom {
padding-bottom: 15px;
}
-.v-orderedlayout-margin-left,
+.#{$primaryStyleName}-margin-left,
.v-horizontallayout-margin-left,
.v-verticallayout-margin-left,
.v-csslayout-margin-left,
.v-layout.v-margin-left {
padding-left: 18px;
}
-.v-orderedlayout-spacing-on,
+.#{$primaryStyleName}-spacing-on,
.v-horizontallayout-spacing-on,
.v-verticallayout-spacing-on {
padding-top: 8px;