diff options
author | Marc Englund <marc@vaadin.com> | 2012-11-29 15:46:18 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-12-07 11:17:41 +0000 |
commit | d004bdfd17127666ea8bb4ae8652a859546f1ff0 (patch) | |
tree | 075ddde83081ba6611be51099a51241d68bf88d8 /WebContent/VAADIN/themes/runo/textfield | |
parent | 10cda2673592f63a1cc3adf5f30d31bf6be46056 (diff) | |
download | vaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.tar.gz vaadin-framework-d004bdfd17127666ea8bb4ae8652a859546f1ff0.zip |
Added support for $primaryStyleName to Runo
Change-Id: I2c1a24b2655c1b9361b52e24f542deb64be8a914
Diffstat (limited to 'WebContent/VAADIN/themes/runo/textfield')
-rw-r--r-- | WebContent/VAADIN/themes/runo/textfield/textfield.scss | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/runo/textfield/textfield.scss b/WebContent/VAADIN/themes/runo/textfield/textfield.scss index 3382fbee91..3516f529ce 100644 --- a/WebContent/VAADIN/themes/runo/textfield/textfield.scss +++ b/WebContent/VAADIN/themes/runo/textfield/textfield.scss @@ -1,6 +1,6 @@ -@mixin runo-textfield { +@mixin runo-textfield($primaryStyleName : v-textfield) { -.v-textfield, +.#{$primaryStyleName}, .v-textarea { background: #fff url(img/bg.png) repeat-x; border: 1px solid #b6b6b6; @@ -10,8 +10,8 @@ margin: 0; line-height: 14px; } -input.v-textfield, -input[type=text].v-textfield, +input.#{$primaryStyleName}, +input[type=text].#{$primaryStyleName}, textarea.v-textarea { font-size: 12px; height: 22px; @@ -20,11 +20,11 @@ textarea.v-textarea { textarea.v-textarea { height: auto; } -.v-textfield-focus, +.#{$primaryStyleName}-focus, .v-textarea-focus { border-color: #5daee8; } -input.v-textfield-prompt, +input.#{$primaryStyleName}-prompt, textarea.v-textarea-prompt { color: #999; font-style: normal; @@ -37,8 +37,8 @@ textarea.v-textarea-prompt { } /* Small style */ -input.v-textfield-small, -input[type=text].v-textfield-small, +input.#{$primaryStyleName}-small, +input[type=text].#{$primaryStyleName}-small, textarea.v-textarea-small { font-size: 11px; height: 18px; |