From 0bd0187d41df50ab7d9f9780dc4cd676de293cd2 Mon Sep 17 00:00:00 2001 From: Jonathan Goode Date: Sun, 15 Feb 2015 19:29:13 +0000 Subject: [PATCH] Addition of styling to prevent highlighting if hovered over selection is disabled --- jquery.datetimepicker.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jquery.datetimepicker.css b/jquery.datetimepicker.css index 629c53a..043c93f 100644 --- a/jquery.datetimepicker.css +++ b/jquery.datetimepicker.css @@ -314,6 +314,7 @@ .xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled { opacity: 0.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + cursor: default; } .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled { @@ -328,6 +329,13 @@ box-shadow: none !important; } +.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current.xdsoft_disabled:hover, +.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current.xdsoft_disabled:hover { + background: #33aaff !important; + box-shadow: #178fe5 0 1px 3px 0 inset !important; + color: #fff !important; +} + .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover, .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover { color: inherit !important;