mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
fixed position of prev/next arrows on hover
This commit is contained in:
parent
2ceb91a083
commit
8aff63281f
@ -2,13 +2,15 @@
|
|||||||
----------------------------------*/
|
----------------------------------*/
|
||||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
|
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
|
||||||
.ui-datepicker-header { position:relative; padding:.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, .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||||
.ui-datepicker-prev:hover, .ui-datepicker-next:hover {margin: 0;}
|
.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 .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-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||||
.ui-datepicker-next { right:0; }
|
.ui-datepicker-title select { float:left; font-size:1em; margin:1px 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 select.ui-datepicker-month-year {width: 100%;}
|
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||||
.ui-datepicker select.ui-datepicker-month,
|
.ui-datepicker select.ui-datepicker-month,
|
||||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||||
|
Loading…
Reference in New Issue
Block a user