tempusdominus-bootstrap-4.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /*!@preserve
  2. * Tempus Dominus Bootstrap4 v5.39.0 (https://tempusdominus.github.io/bootstrap-4/)
  3. * Copyright 2016-2020 Jonathan Peterson and contributors
  4. * Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)
  5. */
  6. .sr-only, .bootstrap-datetimepicker-widget table th.next::after, .bootstrap-datetimepicker-widget table th.prev::after, .bootstrap-datetimepicker-widget .picker-switch::after, .bootstrap-datetimepicker-widget .btn[data-action=today]::after, .bootstrap-datetimepicker-widget .btn[data-action=clear]::after, .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after, .bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=showHours]::after, .bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after, .bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after, .bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after {
  7. position: absolute;
  8. width: 1px;
  9. height: 1px;
  10. margin: -1px;
  11. padding: 0;
  12. overflow: hidden;
  13. clip: rect(0, 0, 0, 0);
  14. border: 0;
  15. }
  16. body.tempusdominus-bootstrap-datetimepicker-widget-day-click,
  17. body.tempusdominus-bootstrap-datetimepicker-widget-day-click * {
  18. cursor: pointer !important;
  19. }
  20. body.tempusdominus-bootstrap-datetimepicker-widget-day-click {
  21. position: relative !important;
  22. }
  23. .tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel {
  24. position: absolute;
  25. z-index: 999999999999;
  26. top: 0;
  27. left: 0;
  28. right: 0;
  29. bottom: 0;
  30. cursor: pointer !important;
  31. }
  32. .bootstrap-datetimepicker-widget .datepicker-days tbody td {
  33. cursor: pointer;
  34. }
  35. .bootstrap-datetimepicker-widget {
  36. list-style: none;
  37. }
  38. .bootstrap-datetimepicker-widget.dropdown-menu {
  39. display: block;
  40. margin: 2px 0;
  41. padding: 4px;
  42. width: 14rem;
  43. }
  44. .bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons {
  45. width: 16rem;
  46. }
  47. .bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks {
  48. width: 16rem;
  49. }
  50. .bootstrap-datetimepicker-widget.dropdown-menu.tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks.tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons {
  51. width: 17rem;
  52. }
  53. @media (min-width: 576px) {
  54. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  55. width: 38em;
  56. }
  57. }
  58. @media (min-width: 768px) {
  59. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  60. width: 38em;
  61. }
  62. }
  63. @media (min-width: 992px) {
  64. .bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
  65. width: 38em;
  66. }
  67. }
  68. .bootstrap-datetimepicker-widget.dropdown-menu:before, .bootstrap-datetimepicker-widget.dropdown-menu:after {
  69. content: "";
  70. display: inline-block;
  71. position: absolute;
  72. }
  73. .bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
  74. border-left: 7px solid transparent;
  75. border-right: 7px solid transparent;
  76. border-bottom: 7px solid #ccc;
  77. border-bottom-color: rgba(0, 0, 0, 0.2);
  78. top: -7px;
  79. left: 7px;
  80. }
  81. .bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
  82. border-left: 6px solid transparent;
  83. border-right: 6px solid transparent;
  84. border-bottom: 6px solid white;
  85. top: -6px;
  86. left: 8px;
  87. }
  88. .bootstrap-datetimepicker-widget.dropdown-menu.top:before {
  89. border-left: 7px solid transparent;
  90. border-right: 7px solid transparent;
  91. border-top: 7px solid #ccc;
  92. border-top-color: rgba(0, 0, 0, 0.2);
  93. bottom: -7px;
  94. left: 6px;
  95. }
  96. .bootstrap-datetimepicker-widget.dropdown-menu.top:after {
  97. border-left: 6px solid transparent;
  98. border-right: 6px solid transparent;
  99. border-top: 6px solid white;
  100. bottom: -6px;
  101. left: 7px;
  102. }
  103. .bootstrap-datetimepicker-widget.dropdown-menu.float-right:before {
  104. left: auto;
  105. right: 6px;
  106. }
  107. .bootstrap-datetimepicker-widget.dropdown-menu.float-right:after {
  108. left: auto;
  109. right: 7px;
  110. }
  111. .bootstrap-datetimepicker-widget.dropdown-menu.wider {
  112. width: 16rem;
  113. }
  114. .bootstrap-datetimepicker-widget .list-unstyled {
  115. margin: 0;
  116. }
  117. .bootstrap-datetimepicker-widget a[data-action] {
  118. padding: 6px 0;
  119. }
  120. .bootstrap-datetimepicker-widget a[data-action]:active {
  121. box-shadow: none;
  122. }
  123. .bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
  124. width: 54px;
  125. font-weight: bold;
  126. font-size: 1.2em;
  127. margin: 0;
  128. }
  129. .bootstrap-datetimepicker-widget button[data-action] {
  130. padding: 6px;
  131. }
  132. .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod] {
  133. text-align: center;
  134. font-family: Arial, sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  135. width: 38px;
  136. height: 38px;
  137. }
  138. .bootstrap-datetimepicker-widget .btn[data-action=incrementHours]::after {
  139. content: "Increment Hours";
  140. }
  141. .bootstrap-datetimepicker-widget .btn[data-action=incrementMinutes]::after {
  142. content: "Increment Minutes";
  143. }
  144. .bootstrap-datetimepicker-widget .btn[data-action=decrementHours]::after {
  145. content: "Decrement Hours";
  146. }
  147. .bootstrap-datetimepicker-widget .btn[data-action=decrementMinutes]::after {
  148. content: "Decrement Minutes";
  149. }
  150. .bootstrap-datetimepicker-widget .btn[data-action=showHours]::after {
  151. content: "Show Hours";
  152. }
  153. .bootstrap-datetimepicker-widget .btn[data-action=showMinutes]::after {
  154. content: "Show Minutes";
  155. }
  156. .bootstrap-datetimepicker-widget .btn[data-action=togglePeriod]::after {
  157. content: "Toggle AM/PM";
  158. }
  159. .bootstrap-datetimepicker-widget .btn[data-action=clear]::after {
  160. content: "Clear the picker";
  161. }
  162. .bootstrap-datetimepicker-widget .btn[data-action=today]::after {
  163. content: "Set the date to today";
  164. }
  165. .bootstrap-datetimepicker-widget .picker-switch {
  166. text-align: center;
  167. }
  168. .bootstrap-datetimepicker-widget .picker-switch::after {
  169. content: "Toggle Date and Time Screens";
  170. }
  171. .bootstrap-datetimepicker-widget .picker-switch td {
  172. padding: 0;
  173. margin: 0;
  174. height: auto;
  175. width: auto;
  176. line-height: inherit;
  177. }
  178. .bootstrap-datetimepicker-widget .picker-switch td span {
  179. line-height: 2.5;
  180. height: 2.5em;
  181. width: 100%;
  182. }
  183. .bootstrap-datetimepicker-widget .picker-switch.picker-switch-with-feathers-icons td span {
  184. line-height: 2.8;
  185. height: 2.8em;
  186. }
  187. .bootstrap-datetimepicker-widget table {
  188. width: 100%;
  189. margin: 0;
  190. }
  191. .bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
  192. text-align: center;
  193. border-radius: 0.25rem;
  194. }
  195. .bootstrap-datetimepicker-widget table th {
  196. height: 20px;
  197. line-height: 20px;
  198. width: 20px;
  199. }
  200. .bootstrap-datetimepicker-widget table th.picker-switch {
  201. width: 145px;
  202. }
  203. .bootstrap-datetimepicker-widget table th.disabled, .bootstrap-datetimepicker-widget table th.disabled:hover {
  204. background: none;
  205. color: #6c757d;
  206. cursor: not-allowed;
  207. }
  208. .bootstrap-datetimepicker-widget table th.prev::after {
  209. content: "Previous Month";
  210. }
  211. .bootstrap-datetimepicker-widget table th.next::after {
  212. content: "Next Month";
  213. }
  214. .bootstrap-datetimepicker-widget table thead tr:first-child th {
  215. cursor: pointer;
  216. }
  217. .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  218. background: #e9ecef;
  219. }
  220. .bootstrap-datetimepicker-widget table td {
  221. height: 54px;
  222. line-height: 54px;
  223. width: 54px;
  224. }
  225. .bootstrap-datetimepicker-widget table td.cw {
  226. font-size: 0.8em;
  227. height: 20px;
  228. line-height: 20px;
  229. color: #6c757d;
  230. cursor: default;
  231. }
  232. .bootstrap-datetimepicker-widget table td.day {
  233. height: 20px;
  234. line-height: 20px;
  235. width: 20px;
  236. }
  237. .bootstrap-datetimepicker-widget table td.day:hover, .bootstrap-datetimepicker-widget table td.hour:hover, .bootstrap-datetimepicker-widget table td.minute:hover, .bootstrap-datetimepicker-widget table td.second:hover {
  238. background: #e9ecef;
  239. cursor: pointer;
  240. }
  241. .bootstrap-datetimepicker-widget table td.old, .bootstrap-datetimepicker-widget table td.new {
  242. color: #6c757d;
  243. }
  244. .bootstrap-datetimepicker-widget table td.today {
  245. position: relative;
  246. }
  247. .bootstrap-datetimepicker-widget table td.today:before {
  248. content: "";
  249. display: inline-block;
  250. border: solid transparent;
  251. border-width: 0 0 7px 7px;
  252. border-bottom-color: #007bff;
  253. border-top-color: rgba(0, 0, 0, 0.2);
  254. position: absolute;
  255. bottom: 4px;
  256. right: 4px;
  257. }
  258. .bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
  259. background-color: #007bff;
  260. color: #fff;
  261. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  262. }
  263. .bootstrap-datetimepicker-widget table td.active.today:before {
  264. border-bottom-color: #fff;
  265. }
  266. .bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
  267. background: none;
  268. color: #6c757d;
  269. cursor: not-allowed;
  270. }
  271. .bootstrap-datetimepicker-widget table td span {
  272. display: inline-block;
  273. width: 54px;
  274. height: 54px;
  275. line-height: 54px;
  276. margin-top: 2px;
  277. margin-bottom: 2px;
  278. cursor: pointer;
  279. border-radius: 0.25rem;
  280. }
  281. .bootstrap-datetimepicker-widget table td span:hover {
  282. background: #e9ecef;
  283. }
  284. .bootstrap-datetimepicker-widget table td span.active {
  285. background-color: #007bff;
  286. color: #fff;
  287. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  288. }
  289. .bootstrap-datetimepicker-widget table td span.old {
  290. color: #6c757d;
  291. }
  292. .bootstrap-datetimepicker-widget table td span.disabled, .bootstrap-datetimepicker-widget table td span.disabled:hover {
  293. background: none;
  294. color: #6c757d;
  295. cursor: not-allowed;
  296. }
  297. .bootstrap-datetimepicker-widget.usetwentyfour td.hour {
  298. height: 27px;
  299. line-height: 27px;
  300. }
  301. .bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn {
  302. color: #007bff;
  303. color: var(--blue, #007bff);
  304. }
  305. .bootstrap-datetimepicker-widget .timepicker .timepicker-picker a.btn:hover {
  306. color: #0056b3;
  307. }
  308. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.day, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.hour, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.minute, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.second,
  309. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementSeconds],
  310. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementSeconds],
  311. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showHours], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showMinutes], .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showSeconds],
  312. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=togglePeriod] {
  313. pointer-events: none;
  314. cursor: default;
  315. }
  316. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.day:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.hour:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.minute:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td.second:hover,
  317. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=incrementSeconds]:hover,
  318. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=decrementSeconds]:hover,
  319. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showHours]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showMinutes]:hover, .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=showSeconds]:hover,
  320. .bootstrap-datetimepicker-widget.bootstrap-datetimepicker-widget-readonly table td [data-action=togglePeriod]:hover {
  321. background: none;
  322. }
  323. .input-group [data-toggle=datetimepicker] {
  324. cursor: pointer;
  325. }