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/caption | |
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/caption')
-rw-r--r-- | WebContent/VAADIN/themes/base/caption/caption.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/base/caption/caption.scss b/WebContent/VAADIN/themes/base/caption/caption.scss index d08f682adb..7b62866d3c 100644 --- a/WebContent/VAADIN/themes/base/caption/caption.scss +++ b/WebContent/VAADIN/themes/base/caption/caption.scss @@ -1,26 +1,26 @@ -@mixin base-caption($name : v-caption) { +@mixin base-caption($primaryStyleName : v-caption) { -.#{$name}wrapper { +.#{$primaryStyleName}wrapper { text-align: left; /* Force default alignment */ } -.#{$name} { +.#{$primaryStyleName} { overflow: hidden; white-space: nowrap; } .v-errorindicator { display: inline-block; } -.#{$name} .v-icon { +.#{$primaryStyleName} .v-icon { display: inline-block; padding-right: 2px; vertical-align: middle; } -.#{$name} .#{$name}text { +.#{$primaryStyleName} .#{$primaryStyleName}text { display: inline-block; overflow: hidden; vertical-align: middle; } -.#{$name} .v-required-field-indicator { +.#{$primaryStyleName} .v-required-field-indicator { display: inline-block; } |