bootstrap-datetimepicker.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. /*!
  2. * Datetimepicker for Bootstrap 3
  3. * version : 4.17.47
  4. * https://github.com/Eonasdan/bootstrap-datetimepicker/
  5. */
  6. .bootstrap-datetimepicker-widget {
  7. list-style: none;
  8. }
  9. .bootstrap-datetimepicker-widget.dropdown-menu {
  10. display: block;
  11. margin: 2px 0;
  12. padding: 4px;
  13. width: 19em;
  14. }
  15. @media (min-width: 768px) {
  16. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  17. width: 38em;
  18. }
  19. }
  20. @media (min-width: 992px) {
  21. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  22. width: 38em;
  23. }
  24. }
  25. @media (min-width: 1200px) {
  26. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  27. width: 38em;
  28. }
  29. }
  30. .bootstrap-datetimepicker-widget.dropdown-menu:before,
  31. .bootstrap-datetimepicker-widget.dropdown-menu:after {
  32. content: '';
  33. display: inline-block;
  34. position: absolute;
  35. }
  36. .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
  37. border-left: 7px solid transparent;
  38. border-right: 7px solid transparent;
  39. border-bottom: 7px solid #ccc;
  40. border-bottom-color: rgba(0, 0, 0, 0.2);
  41. top: -7px;
  42. left: 7px;
  43. }
  44. .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
  45. border-left: 6px solid transparent;
  46. border-right: 6px solid transparent;
  47. border-bottom: 6px solid white;
  48. top: -6px;
  49. left: 8px;
  50. }
  51. .bootstrap-datetimepicker-widget.dropdown-menu.top:before {
  52. border-left: 7px solid transparent;
  53. border-right: 7px solid transparent;
  54. border-top: 7px solid #ccc;
  55. border-top-color: rgba(0, 0, 0, 0.2);
  56. bottom: -7px;
  57. left: 6px;
  58. }
  59. .bootstrap-datetimepicker-widget.dropdown-menu.top:after {
  60. border-left: 6px solid transparent;
  61. border-right: 6px solid transparent;
  62. border-top: 6px solid white;
  63. bottom: -6px;
  64. left: 7px;
  65. }
  66. .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
  67. left: auto;
  68. right: 6px;
  69. }
  70. .bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
  71. left: auto;
  72. right: 7px;
  73. }
  74. .bootstrap-datetimepicker-widget .list-unstyled {
  75. margin: 0;
  76. }
  77. .bootstrap-datetimepicker-widget a[data-action] {
  78. padding: 6px 0;
  79. }
  80. .bootstrap-datetimepicker-widget a[data-action]:active {
  81. box-shadow: none;
  82. }
  83. .bootstrap-datetimepicker-widget .timepicker-hour,
  84. .bootstrap-datetimepicker-widget .timepicker-minute,
  85. .bootstrap-datetimepicker-widget .timepicker-second {
  86. width: 54px;
  87. font-weight: bold;
  88. font-size: 1.2em;
  89. margin: 0;
  90. }
  91. .bootstrap-datetimepicker-widget button[data-action] {
  92. padding: 6px;
  93. }
  94. .bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
  95. position: absolute;
  96. width: 1px;
  97. height: 1px;
  98. margin: -1px;
  99. padding: 0;
  100. overflow: hidden;
  101. clip: rect(0, 0, 0, 0);
  102. border: 0;
  103. content: "Increment Hours";
  104. color: #000 !important;
  105. }
  106. .bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
  107. position: absolute;
  108. width: 1px;
  109. height: 1px;
  110. margin: -1px;
  111. padding: 0;
  112. overflow: hidden;
  113. clip: rect(0, 0, 0, 0);
  114. border: 0;
  115. content: "Increment Minutes";
  116. color: #000 !important;
  117. }
  118. .bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
  119. position: absolute;
  120. width: 1px;
  121. height: 1px;
  122. margin: -1px;
  123. padding: 0;
  124. overflow: hidden;
  125. clip: rect(0, 0, 0, 0);
  126. border: 0;
  127. content: "Decrement Hours";
  128. }
  129. .bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
  130. position: absolute;
  131. width: 1px;
  132. height: 1px;
  133. margin: -1px;
  134. padding: 0;
  135. overflow: hidden;
  136. clip: rect(0, 0, 0, 0);
  137. border: 0;
  138. content: "Decrement Minutes";
  139. }
  140. .bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
  141. position: absolute;
  142. width: 1px;
  143. height: 1px;
  144. margin: -1px;
  145. padding: 0;
  146. overflow: hidden;
  147. clip: rect(0, 0, 0, 0);
  148. border: 0;
  149. content: "Show Hours";
  150. }
  151. .bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
  152. position: absolute;
  153. width: 1px;
  154. height: 1px;
  155. margin: -1px;
  156. padding: 0;
  157. overflow: hidden;
  158. clip: rect(0, 0, 0, 0);
  159. border: 0;
  160. content: "Show Minutes";
  161. }
  162. .bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
  163. position: absolute;
  164. width: 1px;
  165. height: 1px;
  166. margin: -1px;
  167. padding: 0;
  168. overflow: hidden;
  169. clip: rect(0, 0, 0, 0);
  170. border: 0;
  171. content: "Toggle AM/PM";
  172. }
  173. .bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
  174. position: absolute;
  175. width: 1px;
  176. height: 1px;
  177. margin: -1px;
  178. padding: 0;
  179. overflow: hidden;
  180. clip: rect(0, 0, 0, 0);
  181. border: 0;
  182. content: "Clear the picker";
  183. }
  184. .bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
  185. position: absolute;
  186. width: 1px;
  187. height: 1px;
  188. margin: -1px;
  189. padding: 0;
  190. overflow: hidden;
  191. clip: rect(0, 0, 0, 0);
  192. border: 0;
  193. content: "Set the date to today";
  194. }
  195. .bootstrap-datetimepicker-widget .picker-switch {
  196. text-align: center;
  197. }
  198. .bootstrap-datetimepicker-widget .picker-switch::after {
  199. position: absolute;
  200. width: 1px;
  201. height: 1px;
  202. margin: -1px;
  203. padding: 0;
  204. overflow: hidden;
  205. clip: rect(0, 0, 0, 0);
  206. border: 0;
  207. content: "Toggle Date and Time Screens";
  208. }
  209. .bootstrap-datetimepicker-widget .picker-switch td {
  210. padding: 0;
  211. margin: 0;
  212. height: auto;
  213. width: auto;
  214. line-height: inherit;
  215. }
  216. .bootstrap-datetimepicker-widget .picker-switch td span {
  217. line-height: 2.5;
  218. height: 2.5em;
  219. width: 100%;
  220. }
  221. .bootstrap-datetimepicker-widget table {
  222. width: 100%;
  223. margin: 0;
  224. }
  225. .bootstrap-datetimepicker-widget table td,
  226. .bootstrap-datetimepicker-widget table th {
  227. text-align: center;
  228. border-radius: 4px;
  229. }
  230. .bootstrap-datetimepicker-widget table th {
  231. height: 20px;
  232. line-height: 20px;
  233. width: 20px;
  234. }
  235. .bootstrap-datetimepicker-widget table th.picker-switch {
  236. width: 145px;
  237. }
  238. .bootstrap-datetimepicker-widget table th.disabled,
  239. .bootstrap-datetimepicker-widget table th.disabled:hover {
  240. background: none;
  241. color: #777777;
  242. cursor: not-allowed;
  243. }
  244. .bootstrap-datetimepicker-widget table th.prev::after {
  245. position: absolute;
  246. width: 1px;
  247. height: 1px;
  248. margin: -1px;
  249. padding: 0;
  250. overflow: hidden;
  251. clip: rect(0, 0, 0, 0);
  252. border: 0;
  253. content: "Previous Month";
  254. }
  255. .bootstrap-datetimepicker-widget table th.next::after {
  256. position: absolute;
  257. width: 1px;
  258. height: 1px;
  259. margin: -1px;
  260. padding: 0;
  261. overflow: hidden;
  262. clip: rect(0, 0, 0, 0);
  263. border: 0;
  264. content: "Next Month";
  265. }
  266. .bootstrap-datetimepicker-widget table thead tr:first-child th {
  267. cursor: pointer;
  268. }
  269. .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  270. background: #eeeeee;
  271. }
  272. .bootstrap-datetimepicker-widget table td {
  273. height: 54px;
  274. line-height: 54px;
  275. width: 54px;
  276. }
  277. .bootstrap-datetimepicker-widget table td.cw {
  278. font-size: .8em;
  279. height: 20px;
  280. line-height: 20px;
  281. color: #777777;
  282. }
  283. .bootstrap-datetimepicker-widget table td.day {
  284. height: 20px;
  285. line-height: 20px;
  286. width: 20px;
  287. }
  288. .bootstrap-datetimepicker-widget table td.day:hover,
  289. .bootstrap-datetimepicker-widget table td.hour:hover,
  290. .bootstrap-datetimepicker-widget table td.minute:hover,
  291. .bootstrap-datetimepicker-widget table td.second:hover {
  292. background: #eeeeee;
  293. cursor: pointer;
  294. }
  295. .bootstrap-datetimepicker-widget table td.old,
  296. .bootstrap-datetimepicker-widget table td.new {
  297. color: #777777;
  298. }
  299. .bootstrap-datetimepicker-widget table td.today {
  300. position: relative;
  301. }
  302. .bootstrap-datetimepicker-widget table td.today:before {
  303. content: '';
  304. display: inline-block;
  305. border: solid transparent;
  306. border-width: 0 0 7px 7px;
  307. border-bottom-color: #337ab7;
  308. border-top-color: rgba(0, 0, 0, 0.2);
  309. position: absolute;
  310. bottom: 4px;
  311. right: 4px;
  312. }
  313. .bootstrap-datetimepicker-widget table td.active,
  314. .bootstrap-datetimepicker-widget table td.active:hover {
  315. background-color: #337ab7;
  316. color: #fff;
  317. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  318. }
  319. .bootstrap-datetimepicker-widget table td.active.today:before {
  320. border-bottom-color: #fff;
  321. }
  322. .bootstrap-datetimepicker-widget table td.disabled,
  323. .bootstrap-datetimepicker-widget table td.disabled:hover {
  324. background: none;
  325. color: #777777;
  326. cursor: not-allowed;
  327. }
  328. .bootstrap-datetimepicker-widget table td span {
  329. display: inline-block;
  330. width: 54px;
  331. height: 54px;
  332. line-height: 54px;
  333. margin: 2px 1.5px;
  334. cursor: pointer;
  335. border-radius: 4px;
  336. }
  337. .bootstrap-datetimepicker-widget table td span:hover {
  338. background: #eeeeee;
  339. }
  340. .bootstrap-datetimepicker-widget table td span.active {
  341. background-color: #337ab7;
  342. color: #fff;
  343. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  344. }
  345. .bootstrap-datetimepicker-widget table td span.old {
  346. color: #777777;
  347. }
  348. .bootstrap-datetimepicker-widget table td span.disabled,
  349. .bootstrap-datetimepicker-widget table td span.disabled:hover {
  350. background: none;
  351. color: #777777;
  352. cursor: not-allowed;
  353. }
  354. .bootstrap-datetimepicker-widget.usetwentyfour td.hour {
  355. height: 27px;
  356. line-height: 27px;
  357. }
  358. .bootstrap-datetimepicker-widget.wider {
  359. width: 21em;
  360. }
  361. .bootstrap-datetimepicker-widget .datepicker-decades .decade {
  362. line-height: 1.8em !important;
  363. }
  364. .input-group.date .input-group-addon {
  365. cursor: pointer;
  366. }
  367. .sr-only {
  368. position: absolute;
  369. width: 1px;
  370. height: 1px;
  371. margin: -1px;
  372. padding: 0;
  373. overflow: hidden;
  374. clip: rect(0, 0, 0, 0);
  375. border: 0;
  376. }