From 3f7741a7dc282cf57b0549b93dca289db53bfd85 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 7 Apr 2010 14:29:05 +0000 Subject: [PATCH] bug 1545: fix datepicker calendar for roma admin theme + move common rules to default-layout.css. git-svn-id: http://piwigo.org/svn/trunk@5697 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 15 ++++----------- admin/themes/default/default-layout.css | 5 +++++ admin/themes/roma/icon/next.png | Bin 0 -> 328 bytes admin/themes/roma/icon/prev.png | Bin 0 -> 328 bytes admin/themes/roma/theme.css | 13 +++++++++++++ 5 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 admin/themes/roma/icon/next.png create mode 100644 admin/themes/roma/icon/prev.png diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index cb99e4679..a478728a7 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -187,21 +187,14 @@ 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;-moz-border-radius:5px;} +#ui-datepicker-div {background-color: #fff; 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; color:transparent;} -#ui-datepicker-div .ui-icon-circle-triangle-e {background: transparent url(icon/next.png) no-repeat; color:transparent;} - -#ui-datepicker-div A.ui-datepicker-prev, -#ui-datepicker-div A.ui-datepicker-next -{ - background-color:transparent; -} - +#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 A.ui-datepicker-prev:hover, #ui-datepicker-div A.ui-datepicker-next:hover { - background-color:#eee;border:1px solid #aaa;-moz-border-radius:5px; + background-color:#eee;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/default/default-layout.css b/admin/themes/default/default-layout.css index 0cfd9619c..c1e68a29a 100644 --- a/admin/themes/default/default-layout.css +++ b/admin/themes/default/default-layout.css @@ -817,3 +817,8 @@ h2:lang(en) { text-transform:capitalize; } .languageName {font-size:1.1em; margin:5px 0;} .languageActions {display: table-row; font-size:12px; } .languageActions DIV {display: table-cell; vertical-align: middle; line-height:18px; } + +#ui-datepicker-div {-moz-border-radius:5px;} +#ui-datepicker-div .ui-icon-circle-triangle-w, #ui-datepicker-div .ui-icon-circle-triangle-e {color:transparent;} +#ui-datepicker-div A.ui-datepicker-prev, #ui-datepicker-div A.ui-datepicker-next {background-color:transparent;} +#ui-datepicker-div A.ui-datepicker-prev:hover, #ui-datepicker-div A.ui-datepicker-next:hover {-moz-border-radius:5px;} diff --git a/admin/themes/roma/icon/next.png b/admin/themes/roma/icon/next.png new file mode 100644 index 0000000000000000000000000000000000000000..aad9016073fc3ccbc72e39f3b1a2d56446b56445 GIT binary patch literal 328 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg47Ir>H?G^IxW&?#JOI#yLobz*Y zQ}ap~oQqNuOHxx5$}>wc6x=<11Hv2m#DR(yd%8G=Se!mPNs;f6gMe$iWrV0ij3^)D zI#1yvDf}BHFLG~SYR@Q;2#Dd~QJnqO@21v|qG#u4+n+qJK6EMT*C=M*0*@%$0zq|t z;RSK!2R@#@wAX@DxuGhSY5Sok+J!~z5iUp7N;@Z?VyM|;xZtcMug7fW8M8cs*k%L? zI_$OcW=K3%aDuT-a(26*!QL70(Y)*K0-AbW|YuPgg47It1UiPpY}4}e0FC9V-A&iT2y zsd*&~&PAz-C8;S2<(VZJ3hti10pX2&;y^`gTe~DWM4f`7Cm- literal 0 HcmV?d00001 diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 722f1770b..25463f751 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -192,6 +192,19 @@ body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: 0px; bottom: 0px; background: transparent url(images/resizable-sw.gif); } .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: #555; border:2px solid #333;} +#ui-datepicker-div .ui-datepicker-title {color:white;} +#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 A.ui-datepicker-prev:hover, +#ui-datepicker-div A.ui-datepicker-next:hover +{ + background-color:#eee;border:1px solid #aaa; +} +.ui-datepicker th {color:#ccc;} +.ui-state-disabled {color:#aaa;} + #ui-datepicker-div .ui-datepicker-control, #ui-datepicker-div a { background-color: #111; color: #f70 !important;} #ui-datepicker-div .ui-datepicker-days-row { background-color: #444;} #ui-datepicker-div .ui-datepicker-week-end-cell, #ui-datepicker-div .ui-datepicker-week-end-cell a { background-color: #222; color: #f33; border-color: #444; border-top-color: #222; border-left-color: #222;}