diff options
Diffstat (limited to 'WebContent/VAADIN/themes/base/button/nativebutton.scss')
-rw-r--r-- | WebContent/VAADIN/themes/base/button/nativebutton.scss | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/WebContent/VAADIN/themes/base/button/nativebutton.scss b/WebContent/VAADIN/themes/base/button/nativebutton.scss index cccc51ff7b..724316a34d 100644 --- a/WebContent/VAADIN/themes/base/button/nativebutton.scss +++ b/WebContent/VAADIN/themes/base/button/nativebutton.scss @@ -1,13 +1,13 @@ -@mixin base-nativebutton($name : v-nativebutton) { +@mixin base-nativebutton($primaryStyleName : v-nativebutton) { -.#{$name} .v-icon { +.#{$primaryStyleName} .v-icon { vertical-align: middle; margin-right: 3px; border: none; } -.#{$name} .v-errorindicator { +.#{$primaryStyleName} .v-errorindicator { display: inline-block; zoom: 1; vertical-align: middle; @@ -15,7 +15,7 @@ } /* Link style (we really should deprecate this) */ -.#{$name}-link { +.#{$primaryStyleName}-link { border: none; text-align: left !important; background: transparent; @@ -27,13 +27,13 @@ user-select: text; } -.#{$name}-link .#{$name}-caption { +.#{$primaryStyleName}-link .#{$primaryStyleName}-caption { text-decoration: underline; color: inherit; text-align: left; } -.#{$name} { +.#{$primaryStyleName} { text-align: center !important; cursor: pointer; white-space: nowrap; @@ -42,31 +42,31 @@ font: inherit; line-height: normal; } -.#{$name} .#{$name}-caption { +.#{$primaryStyleName} .#{$primaryStyleName}-caption { vertical-align: middle; white-space: nowrap; font: inherit; color: inherit; } -.#{$name} .v-icon { +.#{$primaryStyleName} .v-icon { vertical-align: middle; margin-right: 3px; } -.#{$name} .v-errorindicator { +.#{$primaryStyleName} .v-errorindicator { display: inline-block; zoom: 1; float: none; } /* Fixes stretched buttons in IE7*/ -.v-ie .#{$name} { +.v-ie .#{$primaryStyleName} { overflow: visible; padding-left: 1em; padding-right: 1em; } -.v-ie .#{$name}-link { +.v-ie .#{$primaryStyleName}-link { padding: 0; } |