bootstrap-datepicker.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /*!
  2. * Datepicker for Bootstrap v1.6.4 (https://github.com/eternicode/bootstrap-datepicker)
  3. *
  4. * Copyright 2012 Stefan Petre
  5. * Improvements by Andrew Rowls
  6. * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
  7. */
  8. .datepicker {
  9. padding: 4px;
  10. -webkit-border-radius: 4px;
  11. -moz-border-radius: 4px;
  12. border-radius: 4px;
  13. direction: ltr;
  14. }
  15. .datepicker-inline {
  16. width: 220px;
  17. }
  18. .datepicker.datepicker-rtl {
  19. direction: rtl;
  20. }
  21. .datepicker.datepicker-rtl table tr td span {
  22. float: right;
  23. }
  24. .datepicker-dropdown {
  25. top: 0;
  26. left: 0;
  27. }
  28. .datepicker-dropdown:before {
  29. content: '';
  30. display: inline-block;
  31. border-left: 7px solid transparent;
  32. border-right: 7px solid transparent;
  33. border-bottom: 7px solid #999;
  34. border-top: 0;
  35. border-bottom-color: rgba(0, 0, 0, 0.2);
  36. position: absolute;
  37. }
  38. .datepicker-dropdown:after {
  39. content: '';
  40. display: inline-block;
  41. border-left: 6px solid transparent;
  42. border-right: 6px solid transparent;
  43. border-bottom: 6px solid #fff;
  44. border-top: 0;
  45. position: absolute;
  46. }
  47. .datepicker-dropdown.datepicker-orient-left:before {
  48. left: 6px;
  49. }
  50. .datepicker-dropdown.datepicker-orient-left:after {
  51. left: 7px;
  52. }
  53. .datepicker-dropdown.datepicker-orient-right:before {
  54. right: 6px;
  55. }
  56. .datepicker-dropdown.datepicker-orient-right:after {
  57. right: 7px;
  58. }
  59. .datepicker-dropdown.datepicker-orient-bottom:before {
  60. top: -7px;
  61. }
  62. .datepicker-dropdown.datepicker-orient-bottom:after {
  63. top: -6px;
  64. }
  65. .datepicker-dropdown.datepicker-orient-top:before {
  66. bottom: -7px;
  67. border-bottom: 0;
  68. border-top: 7px solid #999;
  69. }
  70. .datepicker-dropdown.datepicker-orient-top:after {
  71. bottom: -6px;
  72. border-bottom: 0;
  73. border-top: 6px solid #fff;
  74. }
  75. .datepicker table {
  76. margin: 0;
  77. -webkit-touch-callout: none;
  78. -webkit-user-select: none;
  79. -khtml-user-select: none;
  80. -moz-user-select: none;
  81. -ms-user-select: none;
  82. user-select: none;
  83. }
  84. .datepicker td,
  85. .datepicker th {
  86. text-align: center;
  87. width: 20px;
  88. height: 20px;
  89. -webkit-border-radius: 4px;
  90. -moz-border-radius: 4px;
  91. border-radius: 4px;
  92. border: none;
  93. }
  94. .table-striped .datepicker table tr td,
  95. .table-striped .datepicker table tr th {
  96. background-color: transparent;
  97. }
  98. .datepicker table tr td.day:hover,
  99. .datepicker table tr td.day.focused {
  100. background: #eee;
  101. cursor: pointer;
  102. }
  103. .datepicker table tr td.old,
  104. .datepicker table tr td.new {
  105. color: #999;
  106. }
  107. .datepicker table tr td.disabled,
  108. .datepicker table tr td.disabled:hover {
  109. background: none;
  110. color: #999;
  111. cursor: default;
  112. }
  113. .datepicker table tr td.highlighted {
  114. background: #d9edf7;
  115. border-radius: 0;
  116. }
  117. .datepicker table tr td.today,
  118. .datepicker table tr td.today:hover,
  119. .datepicker table tr td.today.disabled,
  120. .datepicker table tr td.today.disabled:hover {
  121. background-color: #fde19a;
  122. background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
  123. background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
  124. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  125. background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
  126. background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
  127. background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
  128. background-repeat: repeat-x;
  129. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  130. border-color: #fdf59a #fdf59a #fbed50;
  131. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  132. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  133. color: #000;
  134. }
  135. .datepicker table tr td.today:hover,
  136. .datepicker table tr td.today:hover:hover,
  137. .datepicker table tr td.today.disabled:hover,
  138. .datepicker table tr td.today.disabled:hover:hover,
  139. .datepicker table tr td.today:active,
  140. .datepicker table tr td.today:hover:active,
  141. .datepicker table tr td.today.disabled:active,
  142. .datepicker table tr td.today.disabled:hover:active,
  143. .datepicker table tr td.today.active,
  144. .datepicker table tr td.today:hover.active,
  145. .datepicker table tr td.today.disabled.active,
  146. .datepicker table tr td.today.disabled:hover.active,
  147. .datepicker table tr td.today.disabled,
  148. .datepicker table tr td.today:hover.disabled,
  149. .datepicker table tr td.today.disabled.disabled,
  150. .datepicker table tr td.today.disabled:hover.disabled,
  151. .datepicker table tr td.today[disabled],
  152. .datepicker table tr td.today:hover[disabled],
  153. .datepicker table tr td.today.disabled[disabled],
  154. .datepicker table tr td.today.disabled:hover[disabled] {
  155. background-color: #fdf59a;
  156. }
  157. .datepicker table tr td.today:active,
  158. .datepicker table tr td.today:hover:active,
  159. .datepicker table tr td.today.disabled:active,
  160. .datepicker table tr td.today.disabled:hover:active,
  161. .datepicker table tr td.today.active,
  162. .datepicker table tr td.today:hover.active,
  163. .datepicker table tr td.today.disabled.active,
  164. .datepicker table tr td.today.disabled:hover.active {
  165. background-color: #fbf069 \9;
  166. }
  167. .datepicker table tr td.today:hover:hover {
  168. color: #000;
  169. }
  170. .datepicker table tr td.today.active:hover {
  171. color: #fff;
  172. }
  173. .datepicker table tr td.range,
  174. .datepicker table tr td.range:hover,
  175. .datepicker table tr td.range.disabled,
  176. .datepicker table tr td.range.disabled:hover {
  177. background: #eee;
  178. -webkit-border-radius: 0;
  179. -moz-border-radius: 0;
  180. border-radius: 0;
  181. }
  182. .datepicker table tr td.range.today,
  183. .datepicker table tr td.range.today:hover,
  184. .datepicker table tr td.range.today.disabled,
  185. .datepicker table tr td.range.today.disabled:hover {
  186. background-color: #f3d17a;
  187. background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
  188. background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
  189. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
  190. background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
  191. background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
  192. background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
  193. background-repeat: repeat-x;
  194. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
  195. border-color: #f3e97a #f3e97a #edde34;
  196. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  197. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  198. -webkit-border-radius: 0;
  199. -moz-border-radius: 0;
  200. border-radius: 0;
  201. }
  202. .datepicker table tr td.range.today:hover,
  203. .datepicker table tr td.range.today:hover:hover,
  204. .datepicker table tr td.range.today.disabled:hover,
  205. .datepicker table tr td.range.today.disabled:hover:hover,
  206. .datepicker table tr td.range.today:active,
  207. .datepicker table tr td.range.today:hover:active,
  208. .datepicker table tr td.range.today.disabled:active,
  209. .datepicker table tr td.range.today.disabled:hover:active,
  210. .datepicker table tr td.range.today.active,
  211. .datepicker table tr td.range.today:hover.active,
  212. .datepicker table tr td.range.today.disabled.active,
  213. .datepicker table tr td.range.today.disabled:hover.active,
  214. .datepicker table tr td.range.today.disabled,
  215. .datepicker table tr td.range.today:hover.disabled,
  216. .datepicker table tr td.range.today.disabled.disabled,
  217. .datepicker table tr td.range.today.disabled:hover.disabled,
  218. .datepicker table tr td.range.today[disabled],
  219. .datepicker table tr td.range.today:hover[disabled],
  220. .datepicker table tr td.range.today.disabled[disabled],
  221. .datepicker table tr td.range.today.disabled:hover[disabled] {
  222. background-color: #f3e97a;
  223. }
  224. .datepicker table tr td.range.today:active,
  225. .datepicker table tr td.range.today:hover:active,
  226. .datepicker table tr td.range.today.disabled:active,
  227. .datepicker table tr td.range.today.disabled:hover:active,
  228. .datepicker table tr td.range.today.active,
  229. .datepicker table tr td.range.today:hover.active,
  230. .datepicker table tr td.range.today.disabled.active,
  231. .datepicker table tr td.range.today.disabled:hover.active {
  232. background-color: #efe24b \9;
  233. }
  234. .datepicker table tr td.selected,
  235. .datepicker table tr td.selected:hover,
  236. .datepicker table tr td.selected.disabled,
  237. .datepicker table tr td.selected.disabled:hover {
  238. background-color: #9e9e9e;
  239. background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
  240. background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
  241. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
  242. background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
  243. background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
  244. background-image: linear-gradient(to bottom, #b3b3b3, #808080);
  245. background-repeat: repeat-x;
  246. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
  247. border-color: #808080 #808080 #595959;
  248. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  249. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  250. color: #fff;
  251. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  252. }
  253. .datepicker table tr td.selected:hover,
  254. .datepicker table tr td.selected:hover:hover,
  255. .datepicker table tr td.selected.disabled:hover,
  256. .datepicker table tr td.selected.disabled:hover:hover,
  257. .datepicker table tr td.selected:active,
  258. .datepicker table tr td.selected:hover:active,
  259. .datepicker table tr td.selected.disabled:active,
  260. .datepicker table tr td.selected.disabled:hover:active,
  261. .datepicker table tr td.selected.active,
  262. .datepicker table tr td.selected:hover.active,
  263. .datepicker table tr td.selected.disabled.active,
  264. .datepicker table tr td.selected.disabled:hover.active,
  265. .datepicker table tr td.selected.disabled,
  266. .datepicker table tr td.selected:hover.disabled,
  267. .datepicker table tr td.selected.disabled.disabled,
  268. .datepicker table tr td.selected.disabled:hover.disabled,
  269. .datepicker table tr td.selected[disabled],
  270. .datepicker table tr td.selected:hover[disabled],
  271. .datepicker table tr td.selected.disabled[disabled],
  272. .datepicker table tr td.selected.disabled:hover[disabled] {
  273. background-color: #808080;
  274. }
  275. .datepicker table tr td.selected:active,
  276. .datepicker table tr td.selected:hover:active,
  277. .datepicker table tr td.selected.disabled:active,
  278. .datepicker table tr td.selected.disabled:hover:active,
  279. .datepicker table tr td.selected.active,
  280. .datepicker table tr td.selected:hover.active,
  281. .datepicker table tr td.selected.disabled.active,
  282. .datepicker table tr td.selected.disabled:hover.active {
  283. background-color: #666666 \9;
  284. }
  285. .datepicker table tr td.active,
  286. .datepicker table tr td.active:hover,
  287. .datepicker table tr td.active.disabled,
  288. .datepicker table tr td.active.disabled:hover {
  289. background-color: #006dcc;
  290. background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);
  291. background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);
  292. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));
  293. background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);
  294. background-image: -o-linear-gradient(to bottom, #08c, #0044cc);
  295. background-image: linear-gradient(to bottom, #08c, #0044cc);
  296. background-repeat: repeat-x;
  297. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
  298. border-color: #0044cc #0044cc #002a80;
  299. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  300. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  301. color: #fff;
  302. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  303. }
  304. .datepicker table tr td.active:hover,
  305. .datepicker table tr td.active:hover:hover,
  306. .datepicker table tr td.active.disabled:hover,
  307. .datepicker table tr td.active.disabled:hover:hover,
  308. .datepicker table tr td.active:active,
  309. .datepicker table tr td.active:hover:active,
  310. .datepicker table tr td.active.disabled:active,
  311. .datepicker table tr td.active.disabled:hover:active,
  312. .datepicker table tr td.active.active,
  313. .datepicker table tr td.active:hover.active,
  314. .datepicker table tr td.active.disabled.active,
  315. .datepicker table tr td.active.disabled:hover.active,
  316. .datepicker table tr td.active.disabled,
  317. .datepicker table tr td.active:hover.disabled,
  318. .datepicker table tr td.active.disabled.disabled,
  319. .datepicker table tr td.active.disabled:hover.disabled,
  320. .datepicker table tr td.active[disabled],
  321. .datepicker table tr td.active:hover[disabled],
  322. .datepicker table tr td.active.disabled[disabled],
  323. .datepicker table tr td.active.disabled:hover[disabled] {
  324. background-color: #0044cc;
  325. }
  326. .datepicker table tr td.active:active,
  327. .datepicker table tr td.active:hover:active,
  328. .datepicker table tr td.active.disabled:active,
  329. .datepicker table tr td.active.disabled:hover:active,
  330. .datepicker table tr td.active.active,
  331. .datepicker table tr td.active:hover.active,
  332. .datepicker table tr td.active.disabled.active,
  333. .datepicker table tr td.active.disabled:hover.active {
  334. background-color: #003399 \9;
  335. }
  336. .datepicker table tr td span {
  337. display: block;
  338. width: 23%;
  339. height: 54px;
  340. line-height: 54px;
  341. float: left;
  342. margin: 1%;
  343. cursor: pointer;
  344. -webkit-border-radius: 4px;
  345. -moz-border-radius: 4px;
  346. border-radius: 4px;
  347. }
  348. .datepicker table tr td span:hover,
  349. .datepicker table tr td span.focused {
  350. background: #eee;
  351. }
  352. .datepicker table tr td span.disabled,
  353. .datepicker table tr td span.disabled:hover {
  354. background: none;
  355. color: #999;
  356. cursor: default;
  357. }
  358. .datepicker table tr td span.active,
  359. .datepicker table tr td span.active:hover,
  360. .datepicker table tr td span.active.disabled,
  361. .datepicker table tr td span.active.disabled:hover {
  362. background-color: #006dcc;
  363. background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);
  364. background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);
  365. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));
  366. background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);
  367. background-image: -o-linear-gradient(to bottom, #08c, #0044cc);
  368. background-image: linear-gradient(to bottom, #08c, #0044cc);
  369. background-repeat: repeat-x;
  370. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
  371. border-color: #0044cc #0044cc #002a80;
  372. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  373. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  374. color: #fff;
  375. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  376. }
  377. .datepicker table tr td span.active:hover,
  378. .datepicker table tr td span.active:hover:hover,
  379. .datepicker table tr td span.active.disabled:hover,
  380. .datepicker table tr td span.active.disabled:hover:hover,
  381. .datepicker table tr td span.active:active,
  382. .datepicker table tr td span.active:hover:active,
  383. .datepicker table tr td span.active.disabled:active,
  384. .datepicker table tr td span.active.disabled:hover:active,
  385. .datepicker table tr td span.active.active,
  386. .datepicker table tr td span.active:hover.active,
  387. .datepicker table tr td span.active.disabled.active,
  388. .datepicker table tr td span.active.disabled:hover.active,
  389. .datepicker table tr td span.active.disabled,
  390. .datepicker table tr td span.active:hover.disabled,
  391. .datepicker table tr td span.active.disabled.disabled,
  392. .datepicker table tr td span.active.disabled:hover.disabled,
  393. .datepicker table tr td span.active[disabled],
  394. .datepicker table tr td span.active:hover[disabled],
  395. .datepicker table tr td span.active.disabled[disabled],
  396. .datepicker table tr td span.active.disabled:hover[disabled] {
  397. background-color: #0044cc;
  398. }
  399. .datepicker table tr td span.active:active,
  400. .datepicker table tr td span.active:hover:active,
  401. .datepicker table tr td span.active.disabled:active,
  402. .datepicker table tr td span.active.disabled:hover:active,
  403. .datepicker table tr td span.active.active,
  404. .datepicker table tr td span.active:hover.active,
  405. .datepicker table tr td span.active.disabled.active,
  406. .datepicker table tr td span.active.disabled:hover.active {
  407. background-color: #003399 \9;
  408. }
  409. .datepicker table tr td span.old,
  410. .datepicker table tr td span.new {
  411. color: #999;
  412. }
  413. .datepicker .datepicker-switch {
  414. width: 145px;
  415. }
  416. .datepicker .datepicker-switch,
  417. .datepicker .prev,
  418. .datepicker .next,
  419. .datepicker tfoot tr th {
  420. cursor: pointer;
  421. }
  422. .datepicker .datepicker-switch:hover,
  423. .datepicker .prev:hover,
  424. .datepicker .next:hover,
  425. .datepicker tfoot tr th:hover {
  426. background: #eee;
  427. }
  428. .datepicker .cw {
  429. font-size: 10px;
  430. width: 12px;
  431. padding: 0 2px 0 5px;
  432. vertical-align: middle;
  433. }
  434. .input-append.date .add-on,
  435. .input-prepend.date .add-on {
  436. cursor: pointer;
  437. }
  438. .input-append.date .add-on i,
  439. .input-prepend.date .add-on i {
  440. margin-top: 3px;
  441. }
  442. .input-daterange input {
  443. text-align: center;
  444. }
  445. .input-daterange input:first-child {
  446. -webkit-border-radius: 3px 0 0 3px;
  447. -moz-border-radius: 3px 0 0 3px;
  448. border-radius: 3px 0 0 3px;
  449. }
  450. .input-daterange input:last-child {
  451. -webkit-border-radius: 0 3px 3px 0;
  452. -moz-border-radius: 0 3px 3px 0;
  453. border-radius: 0 3px 3px 0;
  454. }
  455. .input-daterange .add-on {
  456. display: inline-block;
  457. width: auto;
  458. min-width: 16px;
  459. height: 18px;
  460. padding: 4px 5px;
  461. font-weight: normal;
  462. line-height: 18px;
  463. text-align: center;
  464. text-shadow: 0 1px 0 #fff;
  465. vertical-align: middle;
  466. background-color: #eee;
  467. border: 1px solid #ccc;
  468. margin-left: -5px;
  469. margin-right: -5px;
  470. }
  471. /*# sourceMappingURL=bootstrap-datepicker.css.map */