bootstrap-datetimepicker.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. /*!
  2. * Datetimepicker for Bootstrap v3
  3. * https://github.com/Eonasdan/bootstrap-datetimepicker/
  4. */
  5. .bootstrap-datetimepicker-widget {
  6. top: 0;
  7. left: 0;
  8. width: 250px;
  9. padding: 4px;
  10. margin-top: 1px;
  11. z-index: 99999 !important;
  12. border-radius: 4px;
  13. }
  14. .bootstrap-datetimepicker-widget.timepicker-sbs {
  15. width: 600px;
  16. }
  17. .bootstrap-datetimepicker-widget.bottom:before {
  18. content: '';
  19. display: inline-block;
  20. border-left: 7px solid transparent;
  21. border-right: 7px solid transparent;
  22. border-bottom: 7px solid #ccc;
  23. border-bottom-color: rgba(0, 0, 0, 0.2);
  24. position: absolute;
  25. top: -7px;
  26. left: 7px;
  27. }
  28. .bootstrap-datetimepicker-widget.bottom:after {
  29. content: '';
  30. display: inline-block;
  31. border-left: 6px solid transparent;
  32. border-right: 6px solid transparent;
  33. border-bottom: 6px solid white;
  34. position: absolute;
  35. top: -6px;
  36. left: 8px;
  37. }
  38. .bootstrap-datetimepicker-widget.top:before {
  39. content: '';
  40. display: inline-block;
  41. border-left: 7px solid transparent;
  42. border-right: 7px solid transparent;
  43. border-top: 7px solid #ccc;
  44. border-top-color: rgba(0, 0, 0, 0.2);
  45. position: absolute;
  46. bottom: -7px;
  47. left: 6px;
  48. }
  49. .bootstrap-datetimepicker-widget.top:after {
  50. content: '';
  51. display: inline-block;
  52. border-left: 6px solid transparent;
  53. border-right: 6px solid transparent;
  54. border-top: 6px solid white;
  55. position: absolute;
  56. bottom: -6px;
  57. left: 7px;
  58. }
  59. .bootstrap-datetimepicker-widget .dow {
  60. width: 14.2857%;
  61. }
  62. .bootstrap-datetimepicker-widget.pull-right:before {
  63. left: auto;
  64. right: 6px;
  65. }
  66. .bootstrap-datetimepicker-widget.pull-right:after {
  67. left: auto;
  68. right: 7px;
  69. }
  70. .bootstrap-datetimepicker-widget > ul {
  71. list-style-type: none;
  72. margin: 0;
  73. }
  74. .bootstrap-datetimepicker-widget a[data-action] {
  75. padding: 6px 0;
  76. }
  77. .bootstrap-datetimepicker-widget .timepicker-hour,
  78. .bootstrap-datetimepicker-widget .timepicker-minute,
  79. .bootstrap-datetimepicker-widget .timepicker-second {
  80. width: 54px;
  81. font-weight: bold;
  82. font-size: 1.2em;
  83. margin: 0;
  84. }
  85. .bootstrap-datetimepicker-widget button[data-action] {
  86. padding: 6px;
  87. }
  88. .bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator {
  89. width: 4px;
  90. padding: 0;
  91. margin: 0;
  92. }
  93. .bootstrap-datetimepicker-widget .datepicker > div {
  94. display: none;
  95. }
  96. .bootstrap-datetimepicker-widget .picker-switch {
  97. text-align: center;
  98. }
  99. .bootstrap-datetimepicker-widget table {
  100. width: 100%;
  101. margin: 0;
  102. }
  103. .bootstrap-datetimepicker-widget td,
  104. .bootstrap-datetimepicker-widget th {
  105. text-align: center;
  106. border-radius: 4px;
  107. }
  108. .bootstrap-datetimepicker-widget td {
  109. height: 54px;
  110. line-height: 54px;
  111. width: 54px;
  112. }
  113. .bootstrap-datetimepicker-widget td.day {
  114. height: 20px;
  115. line-height: 20px;
  116. width: 20px;
  117. }
  118. .bootstrap-datetimepicker-widget td.day:hover,
  119. .bootstrap-datetimepicker-widget td.hour:hover,
  120. .bootstrap-datetimepicker-widget td.minute:hover,
  121. .bootstrap-datetimepicker-widget td.second:hover {
  122. background: #eeeeee;
  123. cursor: pointer;
  124. }
  125. .bootstrap-datetimepicker-widget td.old,
  126. .bootstrap-datetimepicker-widget td.new {
  127. color: #999999;
  128. }
  129. .bootstrap-datetimepicker-widget td.today {
  130. position: relative;
  131. }
  132. .bootstrap-datetimepicker-widget td.today:before {
  133. content: '';
  134. display: inline-block;
  135. border-left: 7px solid transparent;
  136. border-bottom: 7px solid #428bca;
  137. border-top-color: rgba(0, 0, 0, 0.2);
  138. position: absolute;
  139. bottom: 4px;
  140. right: 4px;
  141. }
  142. .bootstrap-datetimepicker-widget td.active,
  143. .bootstrap-datetimepicker-widget td.active:hover {
  144. background-color: #428bca;
  145. color: #fff;
  146. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  147. }
  148. .bootstrap-datetimepicker-widget td.active.today:before {
  149. border-bottom-color: #fff;
  150. }
  151. .bootstrap-datetimepicker-widget td.disabled,
  152. .bootstrap-datetimepicker-widget td.disabled:hover {
  153. background: none;
  154. color: #999999;
  155. cursor: not-allowed;
  156. }
  157. .bootstrap-datetimepicker-widget td span {
  158. display: block;
  159. width: 54px;
  160. height: 54px;
  161. line-height: 54px;
  162. float: left;
  163. margin: 2px 1.5px;
  164. cursor: pointer;
  165. border-radius: 4px;
  166. }
  167. .bootstrap-datetimepicker-widget td span:hover {
  168. background: #eeeeee;
  169. }
  170. .bootstrap-datetimepicker-widget td span.active {
  171. background-color: #428bca;
  172. color: #fff;
  173. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  174. }
  175. .bootstrap-datetimepicker-widget td span.old {
  176. color: #999999;
  177. }
  178. .bootstrap-datetimepicker-widget td span.disabled,
  179. .bootstrap-datetimepicker-widget td span.disabled:hover {
  180. background: none;
  181. color: #999999;
  182. cursor: not-allowed;
  183. }
  184. .bootstrap-datetimepicker-widget th {
  185. height: 20px;
  186. line-height: 20px;
  187. width: 20px;
  188. }
  189. .bootstrap-datetimepicker-widget th.switch {
  190. width: 145px;
  191. }
  192. .bootstrap-datetimepicker-widget th.next,
  193. .bootstrap-datetimepicker-widget th.prev {
  194. font-size: 21px;
  195. }
  196. .bootstrap-datetimepicker-widget th.disabled,
  197. .bootstrap-datetimepicker-widget th.disabled:hover {
  198. background: none;
  199. color: #999999;
  200. cursor: not-allowed;
  201. }
  202. .bootstrap-datetimepicker-widget thead tr:first-child th {
  203. cursor: pointer;
  204. }
  205. .bootstrap-datetimepicker-widget thead tr:first-child th:hover {
  206. background: #eeeeee;
  207. }
  208. .input-group.date .input-group-addon span {
  209. display: block;
  210. cursor: pointer;
  211. width: 16px;
  212. height: 16px;
  213. }
  214. .bootstrap-datetimepicker-widget.left-oriented:before {
  215. left: auto;
  216. right: 6px;
  217. }
  218. .bootstrap-datetimepicker-widget.left-oriented:after {
  219. left: auto;
  220. right: 7px;
  221. }
  222. .bootstrap-datetimepicker-widget ul.list-unstyled li div.timepicker div.timepicker-picker table.table-condensed tbody > tr > td {
  223. padding: 0px !important;
  224. }
  225. @media screen and (max-width: 767px) {
  226. .bootstrap-datetimepicker-widget.timepicker-sbs {
  227. width: 283px;
  228. }
  229. }