summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-03-22 11:35:37 +0000
committerArtur Signell <artur.signell@itmill.com>2010-03-22 11:35:37 +0000
commit460ac4a20f9dd7156e614c2c97b3841ccb888b40 (patch)
treefed49f0dbed5903cc5220beb299f53c68e68be7f
parent5abcfae71f8c32d5209f1d9cc6870f50b69dd6fa (diff)
downloadvaadin-framework-460ac4a20f9dd7156e614c2c97b3841ccb888b40.tar.gz
vaadin-framework-460ac4a20f9dd7156e614c2c97b3841ccb888b40.zip
Fix for #3492 - DateField should have an option to show week numbers
svn changeset:12005/svn branch:6.3
-rw-r--r--WebContent/VAADIN/themes/reindeer/datefield/datefield.css9
-rw-r--r--WebContent/VAADIN/themes/reindeer/styles.css13
2 files changed, 20 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
index 9abfde2676..019af86957 100644
--- a/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
+++ b/WebContent/VAADIN/themes/reindeer/datefield/datefield.css
@@ -155,6 +155,9 @@ td.v-datefield-calendarpanel-nextyear {
text-shadow: #3b4651 0 -1px 0;
vertical-align: top;
}
+.v-datefield-calendarpanel-weekdays td.v-week {
+ background-image: none;
+}
.v-datefield-calendarpanel-weekdays strong {
display: block;
text-align: right;
@@ -187,6 +190,7 @@ td.v-datefield-calendarpanel-nextyear {
height: 19px;
}
.v-datefield-calendarpanel-day,
+.v-datefield-calendarpanel-weeknumber,
.v-datefield-calendarpanel-day-today {
padding: 2px 5px 2px 0;
display: block;
@@ -204,6 +208,11 @@ td.v-datefield-calendarpanel-nextyear {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
}
+
+.v-datefield-calendarpanel-weeknumber {
+ color: #f66;
+}
+
.v-datefield-calendarpanel-time select {
padding: 0;
font-size: 11px;
diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css
index ff91b7e88f..2683045d68 100644
--- a/WebContent/VAADIN/themes/reindeer/styles.css
+++ b/WebContent/VAADIN/themes/reindeer/styles.css
@@ -1,5 +1,5 @@
-.v-theme-version:after {content:"6_3_0_dev-20100318";}
-.v-theme-version-6_3_0_dev-20100318 {display: none;}
+.v-theme-version:after {content:"6_3_0_dev-20100322";}
+.v-theme-version-6_3_0_dev-20100322 {display: none;}
/* Automatically compiled css file from subdirectories. */
@@ -2788,6 +2788,9 @@ td.v-datefield-calendarpanel-nextyear {
text-shadow: #3b4651 0 -1px 0;
vertical-align: top;
}
+.v-datefield-calendarpanel-weekdays td.v-week {
+ background-image: none;
+}
.v-datefield-calendarpanel-weekdays strong {
display: block;
text-align: right;
@@ -2824,6 +2827,7 @@ td.v-datefield-calendarpanel-nextyear {
height: 19px;
}
.v-datefield-calendarpanel-day,
+.v-datefield-calendarpanel-weeknumber,
.v-datefield-calendarpanel-day-today {
padding: 2px 5px 2px 0;
display: block;
@@ -2841,6 +2845,11 @@ td.v-datefield-calendarpanel-nextyear {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
}
+
+.v-datefield-calendarpanel-weeknumber {
+ color: #f00;
+}
+
.v-datefield-calendarpanel-time select {
padding: 0;
font-size: 11px;