daterangepicker-bs3.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. /*!
  2. * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
  3. *
  4. * Copyright 2013 Dan Grossman ( http://www.dangrossman.info )
  5. * Licensed under the Apache License v2.0
  6. * http://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. * Built for http://www.improvely.com
  9. */
  10. .daterangepicker.dropdown-menu {
  11. max-width: none;
  12. z-index: 3000;
  13. }
  14. .daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
  15. float: left;
  16. margin: 4px;
  17. }
  18. .daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar {
  19. float: right;
  20. margin: 4px;
  21. }
  22. .daterangepicker.single .ranges, .daterangepicker.single .calendar {
  23. float: none;
  24. }
  25. .daterangepicker .ranges {
  26. width: 160px;
  27. text-align: left;
  28. }
  29. .daterangepicker .ranges .range_inputs>div {
  30. float: left;
  31. }
  32. .daterangepicker .ranges .range_inputs>div:nth-child(2) {
  33. padding-left: 11px;
  34. }
  35. .daterangepicker .calendar {
  36. display: none;
  37. max-width: 270px;
  38. }
  39. .daterangepicker.show-calendar .calendar {
  40. display: block;
  41. }
  42. .daterangepicker .calendar.single .calendar-date {
  43. border: none;
  44. }
  45. .daterangepicker .calendar th, .daterangepicker .calendar td {
  46. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  47. white-space: nowrap;
  48. text-align: center;
  49. min-width: 32px;
  50. }
  51. .daterangepicker .daterangepicker_start_input label,
  52. .daterangepicker .daterangepicker_end_input label {
  53. color: #333;
  54. display: block;
  55. font-size: 11px;
  56. font-weight: normal;
  57. height: 20px;
  58. line-height: 20px;
  59. margin-bottom: 2px;
  60. text-shadow: #fff 1px 1px 0px;
  61. text-transform: uppercase;
  62. width: 74px;
  63. }
  64. .daterangepicker .ranges input {
  65. font-size: 11px;
  66. }
  67. .daterangepicker .ranges .input-mini {
  68. border: 1px solid #ccc;
  69. border-radius: 4px;
  70. color: #555;
  71. display: block;
  72. font-size: 11px;
  73. height: 30px;
  74. line-height: 30px;
  75. vertical-align: middle;
  76. margin: 0 0 10px 0;
  77. padding: 0 6px;
  78. width: 74px;
  79. }
  80. .daterangepicker .ranges ul {
  81. list-style: none;
  82. margin: 0;
  83. padding: 0;
  84. }
  85. .daterangepicker .ranges li {
  86. font-size: 13px;
  87. background: #f5f5f5;
  88. border: 1px solid #f5f5f5;
  89. color: #08c;
  90. padding: 3px 12px;
  91. margin-bottom: 8px;
  92. -webkit-border-radius: 5px;
  93. -moz-border-radius: 5px;
  94. border-radius: 5px;
  95. cursor: pointer;
  96. }
  97. .daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
  98. background: #08c;
  99. border: 1px solid #08c;
  100. color: #fff;
  101. }
  102. .daterangepicker .calendar-date {
  103. border: 1px solid #ddd;
  104. padding: 4px;
  105. border-radius: 4px;
  106. background: #fff;
  107. }
  108. .daterangepicker .calendar-time {
  109. text-align: center;
  110. margin: 8px auto 0 auto;
  111. line-height: 30px;
  112. }
  113. .daterangepicker {
  114. position: absolute;
  115. background: #fff;
  116. top: 100px;
  117. left: 20px;
  118. padding: 4px;
  119. margin-top: 1px;
  120. -webkit-border-radius: 4px;
  121. -moz-border-radius: 4px;
  122. border-radius: 4px;
  123. }
  124. .daterangepicker.opensleft:before {
  125. position: absolute;
  126. top: -7px;
  127. right: 9px;
  128. display: inline-block;
  129. border-right: 7px solid transparent;
  130. border-bottom: 7px solid #ccc;
  131. border-left: 7px solid transparent;
  132. border-bottom-color: rgba(0, 0, 0, 0.2);
  133. content: '';
  134. }
  135. .daterangepicker.opensleft:after {
  136. position: absolute;
  137. top: -6px;
  138. right: 10px;
  139. display: inline-block;
  140. border-right: 6px solid transparent;
  141. border-bottom: 6px solid #fff;
  142. border-left: 6px solid transparent;
  143. content: '';
  144. }
  145. .daterangepicker.opensright:before {
  146. position: absolute;
  147. top: -7px;
  148. left: 9px;
  149. display: inline-block;
  150. border-right: 7px solid transparent;
  151. border-bottom: 7px solid #ccc;
  152. border-left: 7px solid transparent;
  153. border-bottom-color: rgba(0, 0, 0, 0.2);
  154. content: '';
  155. }
  156. .daterangepicker.opensright:after {
  157. position: absolute;
  158. top: -6px;
  159. left: 10px;
  160. display: inline-block;
  161. border-right: 6px solid transparent;
  162. border-bottom: 6px solid #fff;
  163. border-left: 6px solid transparent;
  164. content: '';
  165. }
  166. .daterangepicker table {
  167. width: 100%;
  168. margin: 0;
  169. }
  170. .daterangepicker td, .daterangepicker th {
  171. text-align: center;
  172. width: 20px;
  173. height: 20px;
  174. -webkit-border-radius: 4px;
  175. -moz-border-radius: 4px;
  176. border-radius: 4px;
  177. cursor: pointer;
  178. white-space: nowrap;
  179. }
  180. .daterangepicker td.off {
  181. color: #999;
  182. }
  183. .daterangepicker td.disabled {
  184. color: #999;
  185. }
  186. .daterangepicker td.available:hover, .daterangepicker th.available:hover {
  187. background: #eee;
  188. }
  189. .daterangepicker td.in-range {
  190. background: #ebf4f8;
  191. -webkit-border-radius: 0;
  192. -moz-border-radius: 0;
  193. border-radius: 0;
  194. }
  195. .daterangepicker td.start-date {
  196. -webkit-border-radius: 4px 0 0 4px;
  197. -moz-border-radius: 4px 0 0 4px;
  198. border-radius: 4px 0 0 4px;
  199. }
  200. .daterangepicker td.end-date {
  201. -webkit-border-radius: 0 4px 4px 0;
  202. -moz-border-radius: 0 4px 4px 0;
  203. border-radius: 0 4px 4px 0;
  204. }
  205. .daterangepicker td.start-date.end-date {
  206. -webkit-border-radius: 4px;
  207. -moz-border-radius: 4px;
  208. border-radius: 4px;
  209. }
  210. .daterangepicker td.active, .daterangepicker td.active:hover {
  211. background-color: #357ebd;
  212. border-color: #3071a9;
  213. color: #fff;
  214. }
  215. .daterangepicker td.week, .daterangepicker th.week {
  216. font-size: 80%;
  217. color: #ccc;
  218. }
  219. .daterangepicker select.monthselect, .daterangepicker select.yearselect {
  220. font-size: 12px;
  221. padding: 1px;
  222. height: auto;
  223. margin: 0;
  224. cursor: default;
  225. }
  226. .daterangepicker select.monthselect {
  227. margin-right: 2%;
  228. width: 56%;
  229. }
  230. .daterangepicker select.yearselect {
  231. width: 40%;
  232. }
  233. .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
  234. width: 50px;
  235. margin-bottom: 0;
  236. }
  237. .daterangepicker_start_input {
  238. float: left;
  239. }
  240. .daterangepicker_end_input {
  241. float: left;
  242. padding-left: 11px
  243. }
  244. .daterangepicker th.month {
  245. width: auto;
  246. }