bootstrap-datetimepicker.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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: 576px) {
  16. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  17. width: 38em;
  18. }
  19. }
  20. @media (min-width: 768px) {
  21. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  22. width: 38em;
  23. }
  24. }
  25. @media (min-width: 992px) {
  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. }
  105. .bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
  106. position: absolute;
  107. width: 1px;
  108. height: 1px;
  109. margin: -1px;
  110. padding: 0;
  111. overflow: hidden;
  112. clip: rect(0, 0, 0, 0);
  113. border: 0;
  114. content: "Increment Minutes";
  115. }
  116. .bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
  117. position: absolute;
  118. width: 1px;
  119. height: 1px;
  120. margin: -1px;
  121. padding: 0;
  122. overflow: hidden;
  123. clip: rect(0, 0, 0, 0);
  124. border: 0;
  125. content: "Decrement Hours";
  126. }
  127. .bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
  128. position: absolute;
  129. width: 1px;
  130. height: 1px;
  131. margin: -1px;
  132. padding: 0;
  133. overflow: hidden;
  134. clip: rect(0, 0, 0, 0);
  135. border: 0;
  136. content: "Decrement Minutes";
  137. }
  138. .bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
  139. position: absolute;
  140. width: 1px;
  141. height: 1px;
  142. margin: -1px;
  143. padding: 0;
  144. overflow: hidden;
  145. clip: rect(0, 0, 0, 0);
  146. border: 0;
  147. content: "Show Hours";
  148. }
  149. .bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
  150. position: absolute;
  151. width: 1px;
  152. height: 1px;
  153. margin: -1px;
  154. padding: 0;
  155. overflow: hidden;
  156. clip: rect(0, 0, 0, 0);
  157. border: 0;
  158. content: "Show Minutes";
  159. }
  160. .bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
  161. position: absolute;
  162. width: 1px;
  163. height: 1px;
  164. margin: -1px;
  165. padding: 0;
  166. overflow: hidden;
  167. clip: rect(0, 0, 0, 0);
  168. border: 0;
  169. content: "Toggle AM/PM";
  170. }
  171. .bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
  172. position: absolute;
  173. width: 1px;
  174. height: 1px;
  175. margin: -1px;
  176. padding: 0;
  177. overflow: hidden;
  178. clip: rect(0, 0, 0, 0);
  179. border: 0;
  180. content: "Clear the picker";
  181. }
  182. .bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
  183. position: absolute;
  184. width: 1px;
  185. height: 1px;
  186. margin: -1px;
  187. padding: 0;
  188. overflow: hidden;
  189. clip: rect(0, 0, 0, 0);
  190. border: 0;
  191. content: "Set the date to today";
  192. }
  193. .bootstrap-datetimepicker-widget .picker-switch {
  194. text-align: center;
  195. }
  196. .bootstrap-datetimepicker-widget .picker-switch::after {
  197. position: absolute;
  198. width: 1px;
  199. height: 1px;
  200. margin: -1px;
  201. padding: 0;
  202. overflow: hidden;
  203. clip: rect(0, 0, 0, 0);
  204. border: 0;
  205. content: "Toggle Date and Time Screens";
  206. }
  207. .bootstrap-datetimepicker-widget .picker-switch td {
  208. padding: 0;
  209. margin: 0;
  210. height: auto;
  211. width: auto;
  212. line-height: inherit;
  213. }
  214. .bootstrap-datetimepicker-widget .picker-switch td span,
  215. .bootstrap-datetimepicker-widget .picker-switch td i {
  216. line-height: 2.5;
  217. height: 2.5em;
  218. width: 100%;
  219. }
  220. .bootstrap-datetimepicker-widget table {
  221. width: 100%;
  222. margin: 0;
  223. }
  224. .bootstrap-datetimepicker-widget table td,
  225. .bootstrap-datetimepicker-widget table th {
  226. text-align: center;
  227. border-radius: 0.25rem;
  228. padding: 0.5em;
  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: #dee2e6;
  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: #f8f9fa;
  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: #dee2e6;
  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: #f8f9fa;
  293. cursor: pointer;
  294. }
  295. .bootstrap-datetimepicker-widget table td.old,
  296. .bootstrap-datetimepicker-widget table td.new {
  297. color: #dee2e6;
  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: #dee2e6;
  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: #dee2e6;
  316. color: #007bff;
  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: #dee2e6;
  326. cursor: not-allowed;
  327. }
  328. .bootstrap-datetimepicker-widget table td span,
  329. .bootstrap-datetimepicker-widget table td i {
  330. display: inline-block;
  331. width: 54px;
  332. height: 54px;
  333. line-height: 54px;
  334. margin: 2px 1.5px;
  335. cursor: pointer;
  336. border-radius: 0.25rem;
  337. }
  338. .bootstrap-datetimepicker-widget table td span:hover,
  339. .bootstrap-datetimepicker-widget table td i:hover {
  340. background: #f8f9fa;
  341. }
  342. .bootstrap-datetimepicker-widget table td span.active,
  343. .bootstrap-datetimepicker-widget table td i.active {
  344. background-color: #dee2e6;
  345. color: #007bff;
  346. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  347. }
  348. .bootstrap-datetimepicker-widget table td span.old,
  349. .bootstrap-datetimepicker-widget table td i.old {
  350. color: #dee2e6;
  351. }
  352. .bootstrap-datetimepicker-widget table td span.disabled,
  353. .bootstrap-datetimepicker-widget table td i.disabled,
  354. .bootstrap-datetimepicker-widget table td span.disabled:hover,
  355. .bootstrap-datetimepicker-widget table td i.disabled:hover {
  356. background: none;
  357. color: #dee2e6;
  358. cursor: not-allowed;
  359. }
  360. .bootstrap-datetimepicker-widget.usetwentyfour td.hour {
  361. height: 27px;
  362. line-height: 27px;
  363. }
  364. .bootstrap-datetimepicker-widget.wider {
  365. width: 21em;
  366. }
  367. .bootstrap-datetimepicker-widget .datepicker-decades .decade {
  368. line-height: 1.8em !important;
  369. }
  370. .input-group.date .input-group-addon {
  371. cursor: pointer;
  372. }
  373. .sr-only {
  374. position: absolute;
  375. width: 1px;
  376. height: 1px;
  377. margin: -1px;
  378. padding: 0;
  379. overflow: hidden;
  380. clip: rect(0, 0, 0, 0);
  381. border: 0;
  382. }