diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-05 13:20:41 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-05 13:21:36 +0200 |
commit | 39990a4045b4dd626db79ef5254c22ff8d590385 (patch) | |
tree | 8ffb1c229c1c0fa9bef712406c77f375da2030ff /WebContent/VAADIN/themes/reindeer/datefield | |
parent | 016f5997ab5e30277f0cb17678ba0d81ba81fa97 (diff) | |
download | vaadin-framework-39990a4045b4dd626db79ef5254c22ff8d590385.tar.gz vaadin-framework-39990a4045b4dd626db79ef5254c22ff8d590385.zip |
Define .v-has-width/height instead of v-undefined-width/height (#8313)
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer/datefield')
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/datefield/datefield.css | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css index 9ca90fd733..da50d1cbbe 100644 --- a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css +++ b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css @@ -225,22 +225,19 @@ td.v-datefield-calendarpanel-nextyear { .v-op .v-datefield-popup { background: rgba(255,255,255,.95); } -.v-datefield-textfield { +.v-has-width > input.v-datefield-textfield { width: 100%; } -.v-undefined-width > .v-datefield-textfield { - width: auto; -} -.v-datefield-year.v-undefined-width > .v-datefield-textfield { +.v-datefield-year > .v-datefield-textfield { width: 4.5em; } -.v-datefield-month.v-undefined-width > .v-datefield-textfield { +.v-datefield-month > .v-datefield-textfield { width: 5.5em; } -.v-datefield-day.v-undefined-width > .v-datefield-textfield { +.v-datefield-day > .v-datefield-textfield { width: 6em; } -.v-datefield-full.v-undefined-width >.v-datefield-textfield { +.v-datefield-full >.v-datefield-textfield { width: 12.5em; } .v-datefield-popupcalendar input.v-datefield-textfield { |