From 81e0958bad218c8888338cf81c6fd9a0bc52066b Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 18 Dec 2013 10:06:25 +0000 Subject: better colors for datepicker (and timepicker, when used) git-svn-id: http://piwigo.org/svn/trunk@26019 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 8 ++++++-- admin/themes/roma/theme.css | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 9ffcf8968..c481771b1 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -218,14 +218,18 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: 0px; top: 0px; background: transparent url(images/resizable-nw.gif); } .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: 0px; top: 0px; background: transparent url(images/resizable-ne.gif); } -#ui-datepicker-div {background-color: #fff; border:2px solid #aaa;} +#ui-datepicker-div {background-color: #f1f1f1; border:2px solid #aaa;} #ui-datepicker-div .ui-datepicker-title {color:black;} #ui-datepicker-div .ui-icon-circle-triangle-w {background: transparent url(icon/prev.png) no-repeat;} #ui-datepicker-div .ui-icon-circle-triangle-e {background: transparent url(icon/next.png) no-repeat;} +#ui-datepicker-div .ui-datepicker-control, #ui-datepicker-div a {background-color: #FFFFFF !important;} +#ui-datepicker-div A.ui-datepicker-prev, #ui-datepicker-div A.ui-datepicker-next { + background-color:transparent !important; +} #ui-datepicker-div A.ui-datepicker-prev:hover, #ui-datepicker-div A.ui-datepicker-next:hover { - background-color:#eee;border:1px solid #aaa; + background-color:#eee !important;border:1px solid #aaa; } #ui-datepicker-div .ui-datepicker-control, #ui-datepicker-div a { background-color: #eee; color: #08f !important;} diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 3aa84f79d..a25965380 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -206,6 +206,7 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body } .ui-datepicker th {color:#ccc;} .ui-state-disabled {color:#aaa;} +.ui-timepicker-div, .ui-timepicker-div dt {color:#ccc;} .ui-slider { background:#444;border-radius:2px;border:1px solid #666; } .ui-slider .ui-slider-handle { border:1px solid #f36;background:#222;border-radius:0.6em; } -- cgit v1.2.3