summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/button/nativebutton.scss
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-23 12:32:08 +0200
committerMarc Englund <marc@vaadin.com>2012-11-23 12:50:53 +0200
commitbd2caa54a548d7284e91cb7e87472deb2dcec42d (patch)
treef800bc5a9a4f847b22637106ea848b3397d5ec05 /WebContent/VAADIN/themes/reindeer/button/nativebutton.scss
parent8b90d2e2d32e63411e44932fffbe8a06cf1dcb8b (diff)
downloadvaadin-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/reindeer/button/nativebutton.scss')
-rw-r--r--WebContent/VAADIN/themes/reindeer/button/nativebutton.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/button/nativebutton.scss b/WebContent/VAADIN/themes/reindeer/button/nativebutton.scss
index bd6ca35627..ca7a16e88e 100644
--- a/WebContent/VAADIN/themes/reindeer/button/nativebutton.scss
+++ b/WebContent/VAADIN/themes/reindeer/button/nativebutton.scss
@@ -1,9 +1,9 @@
/* Browser-specific corrections to the standard implementation */
@import "button-ie.scss";
-@mixin reindeer-nativebutton-link($name : v-nativebutton) {
+@mixin reindeer-nativebutton-link($primaryStyleName : v-nativebutton) {
-.#{$name}-link .#{$name}-caption {
+.#{$primaryStyleName}-link .#{$primaryStyleName}-caption {
line-height: inherit;
font-weight: normal;
color: #1b699f;
@@ -11,15 +11,15 @@
text-shadow: none;
}
-.#{$name}-link:focus .#{$name}-caption {
+.#{$primaryStyleName}-link:focus .#{$primaryStyleName}-caption {
outline: 1px dotted #1b699f;
}
}
-@mixin reindeer-nativebutton($name : v-nativebutton) {
- @include reindeer-nativebutton-link($name);
+@mixin reindeer-nativebutton($primaryStyleName : v-nativebutton) {
+ @include reindeer-nativebutton-link($primaryStyleName);
/* Browser-specific corrections to the standard implementation */
- @include reindeer-button-ie($name);
+ @include reindeer-button-ie($primaryStyleName);
} \ No newline at end of file