jquery.ui.datepicker.css 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Note: While Microsoft is not the author of this file, Microsoft is
  3. * offering you a license subject to the terms of the Microsoft Software
  4. * License Terms for Microsoft ASP.NET Model View Controller 3.
  5. * Microsoft reserves all other rights. The notices below are provided
  6. * for informational purposes only and are not the license terms under
  7. * which Microsoft distributed this file.
  8. *
  9. * jQuery UI Datepicker 1.8.11
  10. *
  11. * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  12. *
  13. * http://docs.jquery.com/UI/Datepicker#theming
  14. */
  15. .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
  16. .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
  17. .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
  18. .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
  19. .ui-datepicker .ui-datepicker-prev { left:2px; }
  20. .ui-datepicker .ui-datepicker-next { right:2px; }
  21. .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
  22. .ui-datepicker .ui-datepicker-next-hover { right:1px; }
  23. .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; }
  24. .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
  25. .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
  26. .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
  27. .ui-datepicker select.ui-datepicker-month,
  28. .ui-datepicker select.ui-datepicker-year { width: 49%;}
  29. .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
  30. .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
  31. .ui-datepicker td { border: 0; padding: 1px; }
  32. .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
  33. .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; }
  34. .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
  35. .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
  36. /* with multiple calendars */
  37. .ui-datepicker.ui-datepicker-multi { width:auto; }
  38. .ui-datepicker-multi .ui-datepicker-group { float:left; }
  39. .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
  40. .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
  41. .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
  42. .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
  43. .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
  44. .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
  45. .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
  46. .ui-datepicker-row-break { clear:both; width:100%; }
  47. /* RTL support */
  48. .ui-datepicker-rtl { direction: rtl; }
  49. .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
  50. .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
  51. .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
  52. .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
  53. .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
  54. .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
  55. .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
  56. .ui-datepicker-rtl .ui-datepicker-group { float:right; }
  57. .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
  58. .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
  59. /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
  60. .ui-datepicker-cover {
  61. display: none; /*sorry for IE5*/
  62. display/**/: block; /*sorry for IE5*/
  63. position: absolute; /*must have*/
  64. z-index: -1; /*must have*/
  65. filter: mask(); /*must have*/
  66. top: -4px; /*must have*/
  67. left: -4px; /*must have*/
  68. width: 200px; /*must have*/
  69. height: 200px; /*must have*/
  70. }