daterangepicker-bs3.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 .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: 270px;
  35. }
  36. .daterangepicker .calendar th, .daterangepicker .calendar td {
  37. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  38. white-space: nowrap;
  39. text-align: center;
  40. min-width: 32px;
  41. }
  42. .daterangepicker .ranges label {
  43. color: #333;
  44. display: block;
  45. font-size: 11px;
  46. font-weight: normal;
  47. height: 20px;
  48. line-height: 20px;
  49. margin-bottom: 2px;
  50. text-shadow: #fff 1px 1px 0px;
  51. text-transform: uppercase;
  52. width: 74px;
  53. }
  54. .daterangepicker .ranges input {
  55. font-size: 11px;
  56. }
  57. .daterangepicker .ranges .input-mini {
  58. background-color: #eee;
  59. border: 1px solid #ccc;
  60. border-radius: 4px;
  61. color: #555;
  62. display: block;
  63. font-size: 11px;
  64. height: 30px;
  65. line-height: 30px;
  66. vertical-align: middle;
  67. margin: 0 0 10px 0;
  68. padding: 0 6px;
  69. width: 74px;
  70. }
  71. .daterangepicker .ranges ul {
  72. list-style: none;
  73. margin: 0;
  74. padding: 0;
  75. }
  76. .daterangepicker .ranges li {
  77. font-size: 13px;
  78. background: #f5f5f5;
  79. border: 1px solid #f5f5f5;
  80. color: #08c;
  81. padding: 3px 12px;
  82. margin-bottom: 8px;
  83. -webkit-border-radius: 5px;
  84. -moz-border-radius: 5px;
  85. border-radius: 5px;
  86. cursor: pointer;
  87. }
  88. .daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
  89. background: #08c;
  90. border: 1px solid #08c;
  91. color: #fff;
  92. }
  93. .daterangepicker .calendar-date {
  94. border: 1px solid #ddd;
  95. padding: 4px;
  96. border-radius: 4px;
  97. background: #fff;
  98. }
  99. .daterangepicker .calendar-time {
  100. text-align: center;
  101. margin: 8px auto 0 auto;
  102. line-height: 30px;
  103. }
  104. .daterangepicker {
  105. position: absolute;
  106. background: #fff;
  107. top: 100px;
  108. left: 20px;
  109. padding: 4px;
  110. margin-top: 1px;
  111. -webkit-border-radius: 4px;
  112. -moz-border-radius: 4px;
  113. border-radius: 4px;
  114. }
  115. .daterangepicker.opensleft:before {
  116. position: absolute;
  117. top: -7px;
  118. right: 9px;
  119. display: inline-block;
  120. border-right: 7px solid transparent;
  121. border-bottom: 7px solid #ccc;
  122. border-left: 7px solid transparent;
  123. border-bottom-color: rgba(0, 0, 0, 0.2);
  124. content: '';
  125. }
  126. .daterangepicker.opensleft:after {
  127. position: absolute;
  128. top: -6px;
  129. right: 10px;
  130. display: inline-block;
  131. border-right: 6px solid transparent;
  132. border-bottom: 6px solid #fff;
  133. border-left: 6px solid transparent;
  134. content: '';
  135. }
  136. .daterangepicker.opensright:before {
  137. position: absolute;
  138. top: -7px;
  139. left: 9px;
  140. display: inline-block;
  141. border-right: 7px solid transparent;
  142. border-bottom: 7px solid #ccc;
  143. border-left: 7px solid transparent;
  144. border-bottom-color: rgba(0, 0, 0, 0.2);
  145. content: '';
  146. }
  147. .daterangepicker.opensright:after {
  148. position: absolute;
  149. top: -6px;
  150. left: 10px;
  151. display: inline-block;
  152. border-right: 6px solid transparent;
  153. border-bottom: 6px solid #fff;
  154. border-left: 6px solid transparent;
  155. content: '';
  156. }
  157. .daterangepicker table {
  158. width: 100%;
  159. margin: 0;
  160. }
  161. .daterangepicker td, .daterangepicker th {
  162. text-align: center;
  163. width: 20px;
  164. height: 20px;
  165. -webkit-border-radius: 4px;
  166. -moz-border-radius: 4px;
  167. border-radius: 4px;
  168. cursor: pointer;
  169. white-space: nowrap;
  170. }
  171. .daterangepicker td.off {
  172. color: #999;
  173. }
  174. .daterangepicker td.disabled {
  175. color: #999;
  176. }
  177. .daterangepicker td.available:hover, .daterangepicker th.available:hover {
  178. background: #eee;
  179. }
  180. .daterangepicker td.in-range {
  181. background: #ebf4f8;
  182. -webkit-border-radius: 0;
  183. -moz-border-radius: 0;
  184. border-radius: 0;
  185. }
  186. .daterangepicker td.active, .daterangepicker td.active:hover {
  187. background-color: #357ebd;
  188. border-color: #3071a9;
  189. color: #fff;
  190. }
  191. .daterangepicker td.week, .daterangepicker th.week {
  192. font-size: 80%;
  193. color: #ccc;
  194. }
  195. .daterangepicker select.monthselect, .daterangepicker select.yearselect {
  196. font-size: 12px;
  197. padding: 1px;
  198. height: auto;
  199. margin: 0;
  200. cursor: default;
  201. }
  202. .daterangepicker select.monthselect {
  203. margin-right: 2%;
  204. width: 56%;
  205. }
  206. .daterangepicker select.yearselect {
  207. width: 40%;
  208. }
  209. .daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
  210. width: 50px;
  211. margin-bottom: 0;
  212. }