From 8aff63281f6a20a692c5d86eb15a09ae9ecf009e Mon Sep 17 00:00:00 2001 From: Maggie Costello Wachs Date: Thu, 11 Dec 2008 21:52:50 +0000 Subject: fixed position of prev/next arrows on hover --- themes/base/ui.datepicker.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'themes/base') diff --git a/themes/base/ui.datepicker.css b/themes/base/ui.datepicker.css index 919250e5e..bfb3fb57c 100644 --- a/themes/base/ui.datepicker.css +++ b/themes/base/ui.datepicker.css @@ -2,13 +2,15 @@ ----------------------------------*/ .ui-datepicker { width: 17em; padding: .2em .2em 0; } .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker-prev, .ui-datepicker-next { position:absolute; top:.2em; width: 1.8em; height: 1.8em; } -.ui-datepicker-prev:hover, .ui-datepicker-next:hover {margin: 0;} +.ui-datepicker-prev, .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker-prev:hover, .ui-datepicker-next:hover { top: 1px;} +.ui-datepicker-prev { left:2px; } +.ui-datepicker-next { right:2px; } +.ui-datepicker-prev:hover { left:1px; } +.ui-datepicker-next:hover { right:1px; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker-prev { left:0; } -.ui-datepicker-next { right:0; } -.ui-datepicker-title { margin: 0 2em; line-height: 1.8em; text-align: center; } -.ui-datepicker-title select { float:left; font-size:1em; margin:0; } +.ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; } .ui-datepicker select.ui-datepicker-month-year {width: 100%;} .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 49%;} -- cgit v1.2.3