Theme Inspinia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

daterangepicker-bs3.css 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. /*!
  2. * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x
  3. *
  4. * Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info )
  5. * Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
  6. *
  7. * Built for http://www.improvely.com
  8. */
  9. .daterangepicker.dropdown-menu {
  10. max-width: none;
  11. z-index: 3000;
  12. }
  13. .daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
  14. float: left;
  15. margin: 4px;
  16. }
  17. .daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar,
  18. .daterangepicker.openscenter .ranges, .daterangepicker.openscenter .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.openscenter:before {
  146. position: absolute;
  147. top: -7px;
  148. left: 0;
  149. right: 0;
  150. width: 0;
  151. margin-left: auto;
  152. margin-right: auto;
  153. display: inline-block;
  154. border-right: 7px solid transparent;
  155. border-bottom: 7px solid #ccc;
  156. border-left: 7px solid transparent;
  157. border-bottom-color: rgba(0, 0, 0, 0.2);
  158. content: '';
  159. }
  160. .daterangepicker.openscenter:after {
  161. position: absolute;
  162. top: -6px;
  163. left: 0;
  164. right: 0;
  165. width: 0;
  166. margin-left: auto;
  167. margin-right: auto;
  168. display: inline-block;
  169. border-right: 6px solid transparent;
  170. border-bottom: 6px solid #fff;
  171. border-left: 6px solid transparent;
  172. content: '';
  173. }
  174. .daterangepicker.opensright:before {
  175. position: absolute;
  176. top: -7px;
  177. left: 9px;
  178. display: inline-block;
  179. border-right: 7px solid transparent;
  180. border-bottom: 7px solid #ccc;
  181. border-left: 7px solid transparent;
  182. border-bottom-color: rgba(0, 0, 0, 0.2);
  183. content: '';
  184. }
  185. .daterangepicker.opensright:after {
  186. position: absolute;
  187. top: -6px;
  188. left: 10px;
  189. display: inline-block;
  190. border-right: 6px solid transparent;
  191. border-bottom: 6px solid #fff;
  192. border-left: 6px solid transparent;
  193. content: '';
  194. }
  195. .daterangepicker.dropup{
  196. margin-top: -5px;
  197. }
  198. .daterangepicker.dropup:before{
  199. top: initial;
  200. bottom:-7px;
  201. border-bottom: initial;
  202. border-top: 7px solid #ccc;
  203. }
  204. .daterangepicker.dropup:after{
  205. top: initial;
  206. bottom:-6px;
  207. border-bottom: initial;
  208. border-top: 6px solid #fff;
  209. }
  210. .daterangepicker table {
  211. width: 100%;
  212. margin: 0;
  213. }
  214. .daterangepicker td, .daterangepicker th {
  215. text-align: center;
  216. width: 20px;
  217. height: 20px;
  218. -webkit-border-radius: 4px;
  219. -moz-border-radius: 4px;
  220. border-radius: 4px;
  221. cursor: pointer;
  222. white-space: nowrap;
  223. }
  224. .daterangepicker td.off {
  225. color: #999;
  226. }
  227. .daterangepicker td.disabled, .daterangepicker option.disabled {
  228. color: #999;
  229. }
  230. .daterangepicker td.available:hover, .daterangepicker th.available:hover {
  231. background: #eee;
  232. }
  233. .daterangepicker td.in-range {
  234. background: #ebf4f8;
  235. -webkit-border-radius: 0;
  236. -moz-border-radius: 0;
  237. border-radius: 0;
  238. }
  239. .daterangepicker td.start-date {
  240. -webkit-border-radius: 4px 0 0 4px;
  241. -moz-border-radius: 4px 0 0 4px;
  242. border-radius: 4px 0 0 4px;
  243. }
  244. .daterangepicker td.end-date {
  245. -webkit-border-radius: 0 4px 4px 0;
  246. -moz-border-radius: 0 4px 4px 0;
  247. border-radius: 0 4px 4px 0;
  248. }
  249. .daterangepicker td.start-date.end-date {
  250. -webkit-border-radius: 4px;
  251. -moz-border-radius: 4px;
  252. border-radius: 4px;
  253. }
  254. .daterangepicker td.active, .daterangepicker td.active:hover {
  255. background-color: #357ebd;
  256. border-color: #3071a9;
  257. color: #fff;
  258. }
  259. .daterangepicker td.week, .daterangepicker th.week {
  260. font-size: 80%;
  261. color: #ccc;
  262. }
  263. .daterangepicker select.monthselect, .daterangepicker select.yearselect {
  264. font-size: 12px;
  265. padding: 1px;
  266. height: auto;
  267. margin: 0;
  268. cursor: default;
  269. }
  270. .daterangepicker select.monthselect {
  271. margin-right: 2%;
  272. width: 56%;
  273. }
  274. .daterangepicker select.yearselect {
  275. width: 40%;
  276. }
  277. .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
  278. width: 50px;
  279. margin-bottom: 0;
  280. }
  281. .daterangepicker_start_input {
  282. float: left;
  283. }
  284. .daterangepicker_end_input {
  285. float: left;
  286. padding-left: 11px
  287. }
  288. .daterangepicker th.month {
  289. width: auto;
  290. }