summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorjohan <johan@vaadin.com>2013-04-08 11:55:44 +0300
committerjohan <johan@vaadin.com>2013-04-08 12:24:42 +0300
commit309e3de9152ae9958e6e723ed348712b4b39452e (patch)
treeb0b8d78e0aa5b3229eb6b5af2fb55639e5ecb77d /WebContent
parent453099e29f5d6ca12f448eb9bb4264efd087ebf3 (diff)
downloadvaadin-framework-309e3de9152ae9958e6e723ed348712b4b39452e.tar.gz
vaadin-framework-309e3de9152ae9958e6e723ed348712b4b39452e.zip
Implement range for date field (#6241)
Change-Id: I34458f676fede39e1992316cbed8d62193ce8509
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/datefield/datefield.scss13
1 files changed, 12 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/base/datefield/datefield.scss b/WebContent/VAADIN/themes/base/datefield/datefield.scss
index 1d3d408ed2..cbba9b46f3 100644
--- a/WebContent/VAADIN/themes/base/datefield/datefield.scss
+++ b/WebContent/VAADIN/themes/base/datefield/datefield.scss
@@ -59,10 +59,21 @@
.v-disabled .#{$primaryStyleName}-calendarpanel-day-today {
cursor: default;
}
-.#{$primaryStyleName}-calendarpanel-day-disabled {
+.#{$primaryStyleName}-calendarpanel-day-disabled,
+.#{$primaryStyleName}-calendarpanel-day-outside-range {
cursor: default;
opacity: .5;
}
+
+.#{$primaryStyleName}-calendarpanel-prevyear,
+.#{$primaryStyleName}-calendarpanel-nextyear,
+.#{$primaryStyleName}-calendarpanel-prevmonth,
+.#{$primaryStyleName}-calendarpanel-nextmonth {
+ button.outside-range{
+ opacity: .5;
+ }
+}
+
.#{$primaryStyleName}-calendarpanel-day-selected {
cursor: default;
background: #333;