bootstrap-datetimepicker.css 5.7 KB

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