diff options
author | Maggie Costello Wachs <fg.maggie@gmail.com> | 2008-12-11 21:52:50 +0000 |
---|---|---|
committer | Maggie Costello Wachs <fg.maggie@gmail.com> | 2008-12-11 21:52:50 +0000 |
commit | 8aff63281f6a20a692c5d86eb15a09ae9ecf009e (patch) | |
tree | 26794164911cc382fd9441a90d17f3c17aa66bc0 /themes/base | |
parent | 2ceb91a0830e44c46e5903d745bd80d7d26df1db (diff) | |
download | jquery-ui-8aff63281f6a20a692c5d86eb15a09ae9ecf009e.tar.gz jquery-ui-8aff63281f6a20a692c5d86eb15a09ae9ecf009e.zip |
fixed position of prev/next arrows on hover
Diffstat (limited to 'themes/base')
-rw-r--r-- | themes/base/ui.datepicker.css | 14 |
1 files changed, 8 insertions, 6 deletions
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%;} |