datepicker.1.7.css 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ui-datepicker-div {
  2. font-size: 100%;
  3. font-family: Verdana, sans-serif;
  4. background: #eee;
  5. border-right:2px #666 solid;
  6. border-bottom:2px #666 solid;
  7. z-index: 9999;
  8. }
  9. /* Datepicker
  10. ----------------------------------*/
  11. .ui-datepicker { width: 17em; padding: .2em .2em 0; }
  12. .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
  13. .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
  14. .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
  15. .ui-datepicker .ui-datepicker-prev { left:2px; }
  16. .ui-datepicker .ui-datepicker-next { right:2px; }
  17. .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
  18. .ui-datepicker .ui-datepicker-next-hover { right:1px; }
  19. .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; }
  20. .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
  21. .ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
  22. .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
  23. .ui-datepicker select.ui-datepicker-month,
  24. .ui-datepicker select.ui-datepicker-year { width: 49%;}
  25. .ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
  26. .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
  27. .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
  28. .ui-datepicker td { border: 0; padding: 1px; }
  29. .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
  30. .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
  31. .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
  32. .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
  33. /* with multiple calendars */
  34. .ui-datepicker.ui-datepicker-multi { width:auto; }
  35. .ui-datepicker-multi .ui-datepicker-group { float:left; }
  36. .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
  37. .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
  38. .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
  39. .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
  40. .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
  41. .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
  42. .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
  43. .ui-datepicker-row-break { clear:both; width:100%; }
  44. /* RTL support */
  45. .ui-datepicker-rtl { direction: rtl; }
  46. .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
  47. .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
  48. .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
  49. .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
  50. .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
  51. .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
  52. .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
  53. .ui-datepicker-rtl .ui-datepicker-group { float:right; }
  54. .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
  55. .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }