From d004bdfd17127666ea8bb4ae8652a859546f1ff0 Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Thu, 29 Nov 2012 15:46:18 +0200 Subject: Added support for $primaryStyleName to Runo Change-Id: I2c1a24b2655c1b9361b52e24f542deb64be8a914 --- .../VAADIN/themes/runo/orderedlayout/orderedlayout.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'WebContent/VAADIN/themes/runo/orderedlayout') 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; -- cgit v1.2.3