pikaday-package.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /*!
  2. * PikadayResponsive
  3. * A responsive datepicker built on top of Pikaday. It shows the native datepicker on mobile devices and a nice JS-picker on desktop.
  4. *
  5. * @author: Francesco Novy
  6. * @licence: MIT <http://www.opensource.org/licenses/mit-license.php>
  7. * @link https://github.com/mydea/PikadayResponsive
  8. * @copyright: (c) 2016
  9. * @version: 0.6.7
  10. */
  11. @charset "UTF-8";
  12. /*!
  13. * Pikaday
  14. * Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/
  15. */
  16. .pika-single {
  17. z-index: 9999;
  18. display: block;
  19. position: relative;
  20. color: #333;
  21. background: #fff;
  22. border: 1px solid #ccc;
  23. border-bottom-color: #bbb;
  24. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  25. }
  26. /*
  27. clear child float (pika-lendar), using the famous micro clearfix hack
  28. http://nicolasgallagher.com/micro-clearfix-hack/
  29. */
  30. .pika-single:before,
  31. .pika-single:after {
  32. content: " ";
  33. display: table;
  34. }
  35. .pika-single:after { clear: both }
  36. .pika-single { *zoom: 1 }
  37. .pika-single.is-hidden {
  38. display: none;
  39. }
  40. .pika-single.is-bound {
  41. position: absolute;
  42. box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
  43. }
  44. .pika-lendar {
  45. float: left;
  46. width: 240px;
  47. margin: 8px;
  48. }
  49. .pika-title {
  50. position: relative;
  51. text-align: center;
  52. }
  53. .pika-label {
  54. display: inline-block;
  55. *display: inline;
  56. position: relative;
  57. z-index: 9999;
  58. overflow: hidden;
  59. margin: 0;
  60. padding: 5px 3px;
  61. font-size: 14px;
  62. line-height: 20px;
  63. font-weight: bold;
  64. background-color: #fff;
  65. }
  66. .pika-title select {
  67. cursor: pointer;
  68. position: absolute;
  69. z-index: 9998;
  70. margin: 0;
  71. left: 0;
  72. top: 5px;
  73. filter: alpha(opacity=0);
  74. opacity: 0;
  75. }
  76. .pika-prev,
  77. .pika-next {
  78. display: block;
  79. cursor: pointer;
  80. position: relative;
  81. outline: none;
  82. border: 0;
  83. padding: 0;
  84. width: 20px;
  85. height: 30px;
  86. /* hide text using text-indent trick, using width value (it's enough) */
  87. text-indent: 20px;
  88. white-space: nowrap;
  89. overflow: hidden;
  90. background-color: transparent;
  91. background-position: center center;
  92. background-repeat: no-repeat;
  93. background-size: 75% 75%;
  94. opacity: .5;
  95. *position: absolute;
  96. *top: 0;
  97. }
  98. .pika-prev:hover,
  99. .pika-next:hover {
  100. opacity: 1;
  101. }
  102. .pika-prev,
  103. .is-rtl .pika-next {
  104. float: left;
  105. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');
  106. *left: 0;
  107. }
  108. .pika-next,
  109. .is-rtl .pika-prev {
  110. float: right;
  111. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');
  112. *right: 0;
  113. }
  114. .pika-prev.is-disabled,
  115. .pika-next.is-disabled {
  116. cursor: default;
  117. opacity: .2;
  118. }
  119. .pika-select {
  120. display: inline-block;
  121. *display: inline;
  122. }
  123. .pika-table {
  124. width: 100%;
  125. border-collapse: collapse;
  126. border-spacing: 0;
  127. border: 0;
  128. }
  129. .pika-table th,
  130. .pika-table td {
  131. width: 14.285714285714286%;
  132. padding: 0;
  133. }
  134. .pika-table th {
  135. color: #999;
  136. font-size: 12px;
  137. line-height: 25px;
  138. font-weight: bold;
  139. text-align: center;
  140. }
  141. .pika-button {
  142. cursor: pointer;
  143. display: block;
  144. box-sizing: border-box;
  145. -moz-box-sizing: border-box;
  146. outline: none;
  147. border: 0;
  148. margin: 0;
  149. width: 100%;
  150. padding: 5px;
  151. color: #666;
  152. font-size: 12px;
  153. line-height: 15px;
  154. text-align: right;
  155. background: #f5f5f5;
  156. }
  157. .pika-week {
  158. font-size: 11px;
  159. color: #999;
  160. }
  161. .is-today .pika-button {
  162. color: #33aaff;
  163. font-weight: bold;
  164. }
  165. .is-selected .pika-button {
  166. color: #fff;
  167. font-weight: bold;
  168. background: #33aaff;
  169. box-shadow: inset 0 1px 3px #178fe5;
  170. border-radius: 3px;
  171. }
  172. .is-inrange .pika-button {
  173. background: #D5E9F7;
  174. }
  175. .is-startrange .pika-button {
  176. color: #fff;
  177. background: #6CB31D;
  178. box-shadow: none;
  179. border-radius: 3px;
  180. }
  181. .is-endrange .pika-button {
  182. color: #fff;
  183. background: #33aaff;
  184. box-shadow: none;
  185. border-radius: 3px;
  186. }
  187. .is-disabled .pika-button {
  188. pointer-events: none;
  189. cursor: default;
  190. color: #999;
  191. opacity: .3;
  192. }
  193. .pika-button:hover {
  194. color: #fff;
  195. background: #ff8000;
  196. box-shadow: none;
  197. border-radius: 3px;
  198. }
  199. /* styling for abbr */
  200. .pika-table abbr {
  201. border-bottom: none;
  202. cursor: help;
  203. }
  204. /*!
  205. * PikadayResponsive
  206. * A responsive datepicker built on top of Pikaday. It shows the native datepicker on mobile devices and a nice JS-picker on desktop.
  207. *
  208. * @author: Francesco Novy
  209. * @licence: MIT <http://www.opensource.org/licenses/mit-license.php>
  210. * @link https://github.com/mydea/PikadayResponsive
  211. * @copyright: (c) 2016
  212. * @version: 0.6.7
  213. */
  214. .pikaday__container {
  215. display: inline-block;
  216. position: relative;
  217. }
  218. /* Height and width has to be equal! */
  219. .pikaday__display, .pikaday__invisible {
  220. width: 100%;
  221. }
  222. .pikaday__display--native {
  223. pointer-events: none;
  224. cursor: pointer;
  225. }
  226. .pikaday__display.is-invalid {
  227. background: rgba(255, 0, 0, 0.05);
  228. }
  229. .pikaday__invisible {
  230. opacity: 0;
  231. color: transparent;
  232. background: transparent;
  233. border: none;
  234. box-shadow: none;
  235. position: absolute;
  236. display: block;
  237. left: 0;
  238. top: 0;
  239. height: 100%;
  240. width: 100%;
  241. }