diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-01-25 14:07:13 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-01-25 14:07:13 +0000 |
commit | 7396c309a4699e1e61b03cb17d005084758a25ed (patch) | |
tree | 928e06e9963d8c748fd34f035ac0d1a82615bb93 /WebContent/VAADIN/themes/base/datefield | |
parent | 4f50c1b2c01728a5dd4e3efbcb157d7094eebbd5 (diff) | |
download | vaadin-framework-7396c309a4699e1e61b03cb17d005084758a25ed.tar.gz vaadin-framework-7396c309a4699e1e61b03cb17d005084758a25ed.zip |
#6718 Extend PopupDateField range - allow selection of the last days of the
preceding month and the first days of the following month without switching
to that month
Changes:
- Internally use Date objects instead of day-of-month integers to track the
selected and focused date
- Keep track of the currently displayed month separately from the currently
focused date
- New CSS class for off-month dates: .v-datefield-calendarpanel-day-offmonth
- Off-month days map to negative or past-the-end-of-month integer ids in
getSubPart functions
- The popup now always shows exactly 6 weeks, so that depending on the month,
1 to 7 days of the preceding month and 4 to 13 days of the following month
are shown
svn changeset:22758/svn branch:6.8
Diffstat (limited to 'WebContent/VAADIN/themes/base/datefield')
-rw-r--r-- | WebContent/VAADIN/themes/base/datefield/datefield.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/datefield/datefield.css b/WebContent/VAADIN/themes/base/datefield/datefield.css index 72d9510c3f..8e2e9aeb2b 100644 --- a/WebContent/VAADIN/themes/base/datefield/datefield.css +++ b/WebContent/VAADIN/themes/base/datefield/datefield.css @@ -60,6 +60,9 @@ .v-datefield-calendarpanel-day-focused { outline: 1px dotted black; } +.v-datefield-calendarpanel-day-offmonth { + color: #666; +} .v-ie6 .v-datefield-calendarpanel-day, .v-ie7 .v-datefield-calendarpanel-day { |