jquery.datepick.css 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /* Default styling for jQuery Datepicker v4.0.6. */
  2. .datepick {
  3. background-color: #fff;
  4. color: #000;
  5. border: 1px solid #444;
  6. border-radius: 0.25em;
  7. -moz-border-radius: 0.25em;
  8. -webkit-border-radius: 0.25em;
  9. font-family: Arial,Helvetica,Sans-serif;
  10. font-size: 90%;
  11. }
  12. .datepick-rtl {
  13. direction: rtl;
  14. }
  15. .datepick-popup {
  16. z-index: 1000;
  17. }
  18. .datepick-disable {
  19. position: absolute;
  20. z-index: 100;
  21. background-color: white;
  22. opacity: 0.5;
  23. filter: alpha(opacity=50);
  24. }
  25. .datepick a {
  26. color: #fff;
  27. text-decoration: none;
  28. }
  29. .datepick a.datepick-disabled {
  30. color: #888;
  31. cursor: auto;
  32. }
  33. .datepick button {
  34. margin: 0.25em;
  35. padding: 0.125em 0em;
  36. background-color: #fcc;
  37. border: none;
  38. border-radius: 0.25em;
  39. -moz-border-radius: 0.25em;
  40. -webkit-border-radius: 0.25em;
  41. font-weight: bold;
  42. }
  43. .datepick-nav, .datepick-ctrl {
  44. float: left;
  45. width: 100%;
  46. background-color: #000;
  47. color: #fff;
  48. font-size: 90%;
  49. font-weight: bold;
  50. }
  51. .datepick-ctrl {
  52. background-color: #600;
  53. }
  54. .datepick-cmd {
  55. width: 30%;
  56. }
  57. .datepick-cmd:hover {
  58. background-color: #777;
  59. }
  60. .datepick-ctrl .datepick-cmd:hover {
  61. background-color: #f08080;
  62. }
  63. .datepick-cmd-prevJump, .datepick-cmd-nextJump {
  64. width: 8%;
  65. }
  66. a.datepick-cmd {
  67. height: 1.5em;
  68. }
  69. button.datepick-cmd {
  70. text-align: center;
  71. }
  72. .datepick-cmd-prev, .datepick-cmd-prevJump, .datepick-cmd-clear {
  73. float: left;
  74. padding-left: 2%;
  75. }
  76. .datepick-cmd-current, .datepick-cmd-today {
  77. float: left;
  78. width: 35%;
  79. text-align: center;
  80. }
  81. .datepick-cmd-next, .datepick-cmd-nextJump, .datepick-cmd-close {
  82. float: right;
  83. padding-right: 2%;
  84. text-align: right;
  85. }
  86. .datepick-rtl .datepick-cmd-prev, .datepick-rtl .datepick-cmd-prevJump,
  87. .datepick-rtl .datepick-cmd-clear {
  88. float: right;
  89. padding-left: 0%;
  90. padding-right: 2%;
  91. text-align: right;
  92. }
  93. .datepick-rtl .datepick-cmd-current, .datepick-rtl .datepick-cmd-today {
  94. float: right;
  95. }
  96. .datepick-rtl .datepick-cmd-next, .datepick-rtl .datepick-cmd-nextJump,
  97. .datepick-rtl .datepick-cmd-close {
  98. float: left;
  99. padding-left: 2%;
  100. padding-right: 0%;
  101. text-align: left;
  102. }
  103. .datepick-month-nav {
  104. float: left;
  105. background-color: #777;
  106. text-align: center;
  107. }
  108. .datepick-month-nav div {
  109. float: left;
  110. width: 12.5%;
  111. margin: 1%;
  112. padding: 1%;
  113. }
  114. .datepick-month-nav span {
  115. color: #888;
  116. }
  117. .datepick-month-row {
  118. clear: left;
  119. }
  120. .datepick-month {
  121. float: left;
  122. width: 15em;
  123. border: 1px solid #444;
  124. text-align: center;
  125. }
  126. .datepick-month-header, .datepick-month-header select, .datepick-month-header input {
  127. height: 1.5em;
  128. background-color: #444;
  129. color: #fff;
  130. font-weight: bold;
  131. }
  132. .datepick-month-header select, .datepick-month-header input {
  133. height: 1.4em;
  134. border: none;
  135. }
  136. .datepick-month-header input {
  137. position: absolute;
  138. display: none;
  139. }
  140. .datepick-month table {
  141. width: 100%;
  142. border-collapse: collapse;
  143. }
  144. .datepick-month thead {
  145. border-bottom: 1px solid #aaa;
  146. }
  147. .datepick-month th, .datepick-month td {
  148. margin: 0em;
  149. padding: 0em;
  150. font-weight: normal;
  151. text-align: center;
  152. }
  153. .datepick-month th {
  154. border: 1px solid #777;
  155. }
  156. .datepick-month th, .datepick-month th a {
  157. background-color: #777;
  158. color: #fff;
  159. }
  160. .datepick-month td {
  161. background-color: #eee;
  162. border: 1px solid #aaa;
  163. }
  164. .datepick-month td.datepick-week {
  165. border: 1px solid #777;
  166. }
  167. .datepick-month td.datepick-week * {
  168. background-color: #777;
  169. color: #fff;
  170. border: none;
  171. }
  172. .datepick-month a {
  173. display: block;
  174. width: 100%;
  175. padding: 0.125em 0em;
  176. background-color: #eee;
  177. color: #000;
  178. text-decoration: none;
  179. }
  180. .datepick-month span {
  181. display: block;
  182. width: 100%;
  183. padding: 0.125em 0em;
  184. }
  185. .datepick-month td span {
  186. color: #888;
  187. }
  188. .datepick-month td .datepick-other-month {
  189. background-color: #fff;
  190. }
  191. .datepick-month td .datepick-weekend {
  192. background-color: #ddd;
  193. }
  194. .datepick-month td .datepick-today {
  195. background-color: #f0c0c0;
  196. }
  197. .datepick-month td .datepick-highlight {
  198. background-color: #f08080;
  199. }
  200. .datepick-month td .datepick-selected {
  201. background-color: #777;
  202. color: #fff;
  203. }
  204. .datepick-month th.datepick-week {
  205. background-color: #777;
  206. color: #fff;
  207. }
  208. .datepick-status {
  209. clear: both;
  210. background-color: #ddd;
  211. text-align: center;
  212. }
  213. .datepick-clear-fix {
  214. clear: both;
  215. }
  216. .datepick-cover {
  217. display: none;
  218. display/**/: block;
  219. position: absolute;
  220. z-index: -1;
  221. filter: mask();
  222. top: -1px;
  223. left: -1px;
  224. width: 100px;
  225. height: 100px;
  226. }