daterangepicker-bs2.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*!
  2. * Stylesheet for the Date Range Picker, for use with Bootstrap 2.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 .ranges {
  23. width: 160px;
  24. text-align: left;
  25. }
  26. .daterangepicker .ranges .range_inputs>div {
  27. float: left;
  28. }
  29. .daterangepicker .ranges .range_inputs>div:nth-child(2) {
  30. padding-left: 11px;
  31. }
  32. .daterangepicker .calendar {
  33. display: none;
  34. max-width: 250px;
  35. }
  36. .daterangepicker.show-calendar .calendar {
  37. display: block;
  38. }
  39. .daterangepicker .calendar.single .calendar-date {
  40. border: none;
  41. }
  42. .daterangepicker .calendar th, .daterangepicker .calendar td {
  43. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  44. white-space: nowrap;
  45. text-align: center;
  46. }
  47. .daterangepicker .daterangepicker_start_input label,
  48. .daterangepicker .daterangepicker_end_input label {
  49. color: #333;
  50. font-size: 11px;
  51. margin-bottom: 2px;
  52. text-transform: uppercase;
  53. text-shadow: 1px 1px 0 #fff;
  54. }
  55. .daterangepicker .ranges input {
  56. font-size: 11px;
  57. }
  58. .daterangepicker .ranges ul {
  59. list-style: none;
  60. margin: 0;
  61. padding: 0;
  62. }
  63. .daterangepicker .ranges li {
  64. font-size: 13px;
  65. background: #f5f5f5;
  66. border: 1px solid #f5f5f5;
  67. color: #08c;
  68. padding: 3px 12px;
  69. margin-bottom: 8px;
  70. -webkit-border-radius: 5px;
  71. -moz-border-radius: 5px;
  72. border-radius: 5px;
  73. cursor: pointer;
  74. }
  75. .daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
  76. background: #08c;
  77. border: 1px solid #08c;
  78. color: #fff;
  79. }
  80. .daterangepicker .calendar-date {
  81. border: 1px solid #ddd;
  82. padding: 4px;
  83. border-radius: 4px;
  84. background: #fff;
  85. }
  86. .daterangepicker .calendar-time {
  87. text-align: center;
  88. margin: 8px auto 0 auto;
  89. line-height: 30px;
  90. }
  91. .daterangepicker {
  92. position: absolute;
  93. background: #fff;
  94. top: 100px;
  95. left: 20px;
  96. padding: 4px;
  97. margin-top: 1px;
  98. -webkit-border-radius: 4px;
  99. -moz-border-radius: 4px;
  100. border-radius: 4px;
  101. }
  102. .daterangepicker.opensleft:before {
  103. position: absolute;
  104. top: -7px;
  105. right: 9px;
  106. display: inline-block;
  107. border-right: 7px solid transparent;
  108. border-bottom: 7px solid #ccc;
  109. border-left: 7px solid transparent;
  110. border-bottom-color: rgba(0, 0, 0, 0.2);
  111. content: '';
  112. }
  113. .daterangepicker.opensleft:after {
  114. position: absolute;
  115. top: -6px;
  116. right: 10px;
  117. display: inline-block;
  118. border-right: 6px solid transparent;
  119. border-bottom: 6px solid #fff;
  120. border-left: 6px solid transparent;
  121. content: '';
  122. }
  123. .daterangepicker.opensright:before {
  124. position: absolute;
  125. top: -7px;
  126. left: 9px;
  127. display: inline-block;
  128. border-right: 7px solid transparent;
  129. border-bottom: 7px solid #ccc;
  130. border-left: 7px solid transparent;
  131. border-bottom-color: rgba(0, 0, 0, 0.2);
  132. content: '';
  133. }
  134. .daterangepicker.opensright:after {
  135. position: absolute;
  136. top: -6px;
  137. left: 10px;
  138. display: inline-block;
  139. border-right: 6px solid transparent;
  140. border-bottom: 6px solid #fff;
  141. border-left: 6px solid transparent;
  142. content: '';
  143. }
  144. .daterangepicker table {
  145. width: 100%;
  146. margin: 0;
  147. }
  148. .daterangepicker td, .daterangepicker th {
  149. text-align: center;
  150. width: 20px;
  151. height: 20px;
  152. -webkit-border-radius: 4px;
  153. -moz-border-radius: 4px;
  154. border-radius: 4px;
  155. cursor: pointer;
  156. white-space: nowrap;
  157. }
  158. .daterangepicker td.off {
  159. color: #999;
  160. }
  161. .daterangepicker td.disabled {
  162. color: #999;
  163. }
  164. .daterangepicker td.available:hover, .daterangepicker th.available:hover {
  165. background: #eee;
  166. }
  167. .daterangepicker td.in-range {
  168. background: #ebf4f8;
  169. -webkit-border-radius: 0;
  170. -moz-border-radius: 0;
  171. border-radius: 0;
  172. }
  173. .daterangepicker td.active, .daterangepicker td.active:hover {
  174. background-color: #006dcc;
  175. background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
  176. background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
  177. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  178. background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
  179. background-image: -o-linear-gradient(top, #0088cc, #0044cc);
  180. background-image: linear-gradient(top, #0088cc, #0044cc);
  181. background-repeat: repeat-x;
  182. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  183. border-color: #0044cc #0044cc #002a80;
  184. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  185. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  186. color: #fff;
  187. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  188. }
  189. .daterangepicker td.week, .daterangepicker th.week {
  190. font-size: 80%;
  191. color: #ccc;
  192. }
  193. .daterangepicker select.monthselect, .daterangepicker select.yearselect {
  194. font-size: 12px;
  195. padding: 1px;
  196. height: auto;
  197. margin: 0;
  198. cursor: default;
  199. }
  200. .daterangepicker select.monthselect {
  201. margin-right: 2%;
  202. width: 56%;
  203. }
  204. .daterangepicker select.yearselect {
  205. width: 40%;
  206. }
  207. .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
  208. width: 60px;
  209. margin-bottom: 0;
  210. }
  211. .daterangepicker_start_input {
  212. float: left;
  213. }
  214. .daterangepicker_end_input {
  215. float: left;
  216. padding-left: 11px
  217. }
  218. .daterangepicker th.month {
  219. width: auto;
  220. }