datepicker.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /*!
  2. * jQuery UI Datepicker 1.12.1
  3. * http://jqueryui.com
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license.
  7. * http://jquery.org/license
  8. *
  9. * http://api.jqueryui.com/datepicker/#theming
  10. */
  11. .ui-datepicker {
  12. width: 17em;
  13. padding: .2em .2em 0;
  14. display: none;
  15. }
  16. .ui-datepicker .ui-datepicker-header {
  17. position: relative;
  18. padding: .2em 0;
  19. }
  20. .ui-datepicker .ui-datepicker-prev,
  21. .ui-datepicker .ui-datepicker-next {
  22. position: absolute;
  23. top: 2px;
  24. width: 1.8em;
  25. height: 1.8em;
  26. }
  27. .ui-datepicker .ui-datepicker-prev-hover,
  28. .ui-datepicker .ui-datepicker-next-hover {
  29. top: 1px;
  30. }
  31. .ui-datepicker .ui-datepicker-prev {
  32. left: 2px;
  33. }
  34. .ui-datepicker .ui-datepicker-next {
  35. right: 2px;
  36. }
  37. .ui-datepicker .ui-datepicker-prev-hover {
  38. left: 1px;
  39. }
  40. .ui-datepicker .ui-datepicker-next-hover {
  41. right: 1px;
  42. }
  43. .ui-datepicker .ui-datepicker-prev span,
  44. .ui-datepicker .ui-datepicker-next span {
  45. display: block;
  46. position: absolute;
  47. left: 50%;
  48. margin-left: -8px;
  49. top: 50%;
  50. margin-top: -8px;
  51. }
  52. .ui-datepicker .ui-datepicker-title {
  53. margin: 0 2.3em;
  54. line-height: 1.8em;
  55. text-align: center;
  56. }
  57. .ui-datepicker .ui-datepicker-title select {
  58. font-size: 1em;
  59. margin: 1px 0;
  60. }
  61. .ui-datepicker select.ui-datepicker-month,
  62. .ui-datepicker select.ui-datepicker-year {
  63. width: 45%;
  64. }
  65. .ui-datepicker table {
  66. width: 100%;
  67. font-size: .9em;
  68. border-collapse: collapse;
  69. margin: 0 0 .4em;
  70. }
  71. .ui-datepicker th {
  72. padding: .7em .3em;
  73. text-align: center;
  74. font-weight: bold;
  75. border: 0;
  76. }
  77. .ui-datepicker td {
  78. border: 0;
  79. padding: 1px;
  80. }
  81. .ui-datepicker td span,
  82. .ui-datepicker td a {
  83. display: block;
  84. padding: .2em;
  85. text-align: right;
  86. text-decoration: none;
  87. }
  88. .ui-datepicker .ui-datepicker-buttonpane {
  89. background-image: none;
  90. margin: .7em 0 0 0;
  91. padding: 0 .2em;
  92. border-left: 0;
  93. border-right: 0;
  94. border-bottom: 0;
  95. }
  96. .ui-datepicker .ui-datepicker-buttonpane button {
  97. float: right;
  98. margin: .5em .2em .4em;
  99. cursor: pointer;
  100. padding: .2em .6em .3em .6em;
  101. width: auto;
  102. overflow: visible;
  103. }
  104. .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
  105. float: left;
  106. }
  107. /* with multiple calendars */
  108. .ui-datepicker.ui-datepicker-multi {
  109. width: auto;
  110. }
  111. .ui-datepicker-multi .ui-datepicker-group {
  112. float: left;
  113. }
  114. .ui-datepicker-multi .ui-datepicker-group table {
  115. width: 95%;
  116. margin: 0 auto .4em;
  117. }
  118. .ui-datepicker-multi-2 .ui-datepicker-group {
  119. width: 50%;
  120. }
  121. .ui-datepicker-multi-3 .ui-datepicker-group {
  122. width: 33.3%;
  123. }
  124. .ui-datepicker-multi-4 .ui-datepicker-group {
  125. width: 25%;
  126. }
  127. .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
  128. .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
  129. border-left-width: 0;
  130. }
  131. .ui-datepicker-multi .ui-datepicker-buttonpane {
  132. clear: left;
  133. }
  134. .ui-datepicker-row-break {
  135. clear: both;
  136. width: 100%;
  137. font-size: 0;
  138. }
  139. /* RTL support */
  140. .ui-datepicker-rtl {
  141. direction: rtl;
  142. }
  143. .ui-datepicker-rtl .ui-datepicker-prev {
  144. right: 2px;
  145. left: auto;
  146. }
  147. .ui-datepicker-rtl .ui-datepicker-next {
  148. left: 2px;
  149. right: auto;
  150. }
  151. .ui-datepicker-rtl .ui-datepicker-prev:hover {
  152. right: 1px;
  153. left: auto;
  154. }
  155. .ui-datepicker-rtl .ui-datepicker-next:hover {
  156. left: 1px;
  157. right: auto;
  158. }
  159. .ui-datepicker-rtl .ui-datepicker-buttonpane {
  160. clear: right;
  161. }
  162. .ui-datepicker-rtl .ui-datepicker-buttonpane button {
  163. float: left;
  164. }
  165. .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
  166. .ui-datepicker-rtl .ui-datepicker-group {
  167. float: right;
  168. }
  169. .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
  170. .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
  171. border-right-width: 0;
  172. border-left-width: 1px;
  173. }
  174. /* Icons */
  175. .ui-datepicker .ui-icon {
  176. display: block;
  177. text-indent: -99999px;
  178. overflow: hidden;
  179. background-repeat: no-repeat;
  180. left: .5em;
  181. top: .3em;
  182. }