diff options
author | Marc Englund <marc@vaadin.com> | 2012-11-23 12:32:08 +0200 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-11-23 12:50:53 +0200 |
commit | bd2caa54a548d7284e91cb7e87472deb2dcec42d (patch) | |
tree | f800bc5a9a4f847b22637106ea848b3397d5ec05 /WebContent/VAADIN/themes/base/csslayout | |
parent | 8b90d2e2d32e63411e44932fffbe8a06cf1dcb8b (diff) | |
download | vaadin-framework-bd2caa54a548d7284e91cb7e87472deb2dcec42d.tar.gz vaadin-framework-bd2caa54a548d7284e91cb7e87472deb2dcec42d.zip |
Change sass compoent @mixin parameter from $name to $primaryStyleName, fixes #10294
Change-Id: I548fdd3b0295db980bc4d769826e7c149ec0b3b3
Diffstat (limited to 'WebContent/VAADIN/themes/base/csslayout')
-rw-r--r-- | WebContent/VAADIN/themes/base/csslayout/csslayout.scss | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/WebContent/VAADIN/themes/base/csslayout/csslayout.scss b/WebContent/VAADIN/themes/base/csslayout/csslayout.scss index 2356a1689d..d6df771b85 100644 --- a/WebContent/VAADIN/themes/base/csslayout/csslayout.scss +++ b/WebContent/VAADIN/themes/base/csslayout/csslayout.scss @@ -1,35 +1,35 @@ -@mixin base-csslayout($name : v-csslayout) { +@mixin base-csslayout($primaryStyleName : v-csslayout) { -.#{$name} { +.#{$primaryStyleName} { overflow: hidden; } /* More specific selector to override 'v-connector' */ -div.#{$name} { +div.#{$primaryStyleName} { display: block; } -.#{$name}-margin, .#{$name}-container { +.#{$primaryStyleName}-margin, .#{$primaryStyleName}-container { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } -.v-has-width > .#{$name}-margin, -.v-has-width > .#{$name}-margin > .#{$name}-container { +.v-has-width > .#{$primaryStyleName}-margin, +.v-has-width > .#{$primaryStyleName}-margin > .#{$primaryStyleName}-container { width: 100%; } -.v-has-height > .#{$name}-margin, -.v-has-height > .#{$name}-margin > .#{$name}-container { +.v-has-height > .#{$primaryStyleName}-margin, +.v-has-height > .#{$primaryStyleName}-margin > .#{$primaryStyleName}-container { height: 100%; } -.#{$name}-margin-top { +.#{$primaryStyleName}-margin-top { padding-top: 12px; } -.#{$name}-margin-bottom { +.#{$primaryStyleName}-margin-bottom { padding-bottom: 12px; } -.#{$name}-margin-left { +.#{$primaryStyleName}-margin-left { padding-left: 12px; } -.#{$name}-margin-right { +.#{$primaryStyleName}-margin-right { padding-right: 12px; } |