diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-04 13:42:08 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-01-04 17:30:51 +0200 |
commit | 228267306146facd7d4f8ec7be3b22504a924bf7 (patch) | |
tree | dd244ae60713da94081a740c62d630310ad8363f /WebContent/VAADIN/themes/runo | |
parent | fb68bd53035fdd9cf0448623d5f6867fe17bab64 (diff) | |
download | vaadin-framework-228267306146facd7d4f8ec7be3b22504a924bf7.tar.gz vaadin-framework-228267306146facd7d4f8ec7be3b22504a924bf7.zip |
Ensure popup datefield width setting works in all themes (#10485)
Change-Id: I9f0891fb363e49d59b5ab2b1af53ba4bf9bca21e
Diffstat (limited to 'WebContent/VAADIN/themes/runo')
-rw-r--r-- | WebContent/VAADIN/themes/runo/datefield/datefield.scss | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/WebContent/VAADIN/themes/runo/datefield/datefield.scss b/WebContent/VAADIN/themes/runo/datefield/datefield.scss index 2f9fe19cc0..d89fdf786e 100644 --- a/WebContent/VAADIN/themes/runo/datefield/datefield.scss +++ b/WebContent/VAADIN/themes/runo/datefield/datefield.scss @@ -1,19 +1,28 @@ @mixin runo-datefield($primaryStyleName : v-datefield) { +$popupdatefield-button-width: 22px; +$negative-popupdatefield-button-width: -22px; + .#{$primaryStyleName} input.v-textfield, .#{$primaryStyleName} input.v-textfield[type=text] { - height: 18px; + height: 22px; // 18px height + 2*2px padding + } .#{$primaryStyleName}-button { font-size:13px; - width: 22px; + width: $popupdatefield-button-width; + margin-right: $negative-popupdatefield-button-width; height: 24px; padding: 0; overflow: hidden; border: none; background: transparent url(img/open-button.png) no-repeat right 0; - vertical-align: top; } +.#{$primaryStyleName}-popupcalendar { + min-width: 0; + padding-right: $popupdatefield-button-width; +} + .#{$primaryStyleName}-popup { font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif; color: #464f52; |