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/textfield/textfield.scss | |
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/textfield/textfield.scss')
-rw-r--r-- | WebContent/VAADIN/themes/base/textfield/textfield.scss | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/base/textfield/textfield.scss b/WebContent/VAADIN/themes/base/textfield/textfield.scss index bb6765a60d..1eb1203e97 100644 --- a/WebContent/VAADIN/themes/base/textfield/textfield.scss +++ b/WebContent/VAADIN/themes/base/textfield/textfield.scss @@ -1,23 +1,23 @@ // textfield-normal.css -@mixin base-textfield($name : v-textfield) { +@mixin base-textfield($primaryStyleName : v-textfield) { -.#{$name} { +.#{$primaryStyleName} { text-align: left; /* Force default alignment */ } .v-textarea { resize: none; white-space: pre-wrap; } -.#{$name}-focus, +.#{$primaryStyleName}-focus, .v-textarea-focus { } -input.#{$name}-prompt, +input.#{$primaryStyleName}-prompt, textarea.v-textarea-prompt { color: #999; font-style: italic; } -input.#{$name}-readonly, +input.#{$primaryStyleName}-readonly, textarea.v-textarea-readonly { background: transparent; border: none; @@ -27,20 +27,20 @@ input.v-disabled, textarea.v-disabled { resize: none; } -input.#{$name}-readonly:focus, +input.#{$primaryStyleName}-readonly:focus, textarea.v-textarea-readonly:focus { outline: none; } /* Disabled by default .v-textarea-error, -.#{$name}-error, +.#{$primaryStyleName}-error, .v-richtextarea-error iframe.gwt-RichTextArea { background: #FFE0E0; } */ /* Disabled by default .v-textarea-required, -.#{$name}-required, +.#{$primaryStyleName}-required, .v-richtextarea-required iframe.gwt-RichTextArea { background: #FFE0E0; } |