官网 管理后台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

bootstrap-datepicker.css 17KB

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