default.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /*.picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;position:fixed;transition:background .15s ease-out,-webkit-transform 0s .15s;transition:background .15s ease-out,transform 0s .15s;-webkit-backface-visibility:hidden}/*!
  2. * Default mobile-first, responsive styling for pickadate.js
  3. * Demo: http://amsul.github.io/pickadate.js
  4. *//*.picker__frame,.picker__holder{top:0;bottom:0;left:0;right:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.picker__frame{position:absolute;margin:0 auto;min-width:256px;max-width:666px;width:100%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:33.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:26.5em){.picker__box{font-size:1.25em}}@media (min-height:33.875em){.picker__box{display:block;font-size:1.33em;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}.picker__box{font-size:1.5em;border-bottom-width:1px;border-radius:5px}}.picker--opened .picker__holder{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:33.875em){.picker--opened .picker__frame{top:auto;bottom:0}}*/
  5. /* ------------------------------------------------------------------------------
  6. *
  7. * # Pick-a-date - Picker base
  8. *
  9. * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
  10. *
  11. * Version: 1.0
  12. * Latest update: May 25, 2015
  13. *
  14. * ---------------------------------------------------------------------------- */
  15. .picker {
  16. width: 100%;
  17. text-align: left;
  18. position: absolute;
  19. top: 100%;
  20. margin-top: -1px;
  21. z-index: 990;
  22. -webkit-user-select: none;
  23. -moz-user-select: none;
  24. -ms-user-select: none;
  25. user-select: none;
  26. }
  27. .picker__input {
  28. cursor: default;
  29. }
  30. .picker__holder {
  31. width: 100%;
  32. overflow-y: auto;
  33. position: absolute;
  34. display: none;
  35. background-color: #fff;
  36. border: 1px solid #ddd;
  37. border-top-width: 0;
  38. border-bottom-width: 0;
  39. max-width: 280px;
  40. max-height: 0;
  41. -webkit-overflow-scrolling: touch;
  42. }
  43. .picker--opened .picker__holder {
  44. max-height: 480px;
  45. border-top-width: 1px;
  46. border-bottom-width: 1px;
  47. display: block;
  48. }
  49. /* ------------------------------------------------------------------------------
  50. *
  51. * # Pick-a-date - Date picker
  52. *
  53. * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
  54. *
  55. * Version: 1.0
  56. * Latest update: May 25, 2015
  57. *
  58. * ---------------------------------------------------------------------------- */
  59. .picker__box {
  60. padding: 5px;
  61. }
  62. .picker__header {
  63. text-align: center;
  64. position: relative;
  65. font-size: 15px;
  66. padding-top: 15px;
  67. padding-bottom: 15px;
  68. }
  69. .picker__month,
  70. .picker__year {
  71. font-weight: 500;
  72. display: inline-block;
  73. margin-left: 5px;
  74. margin-right: 5px;
  75. }
  76. .picker__year {
  77. color: #999999;
  78. font-size: 12px;
  79. font-weight: normal;
  80. }
  81. .picker__select--month,
  82. .picker__select--year {
  83. border-color: #ddd;
  84. height: 32px;
  85. font-size: 13px;
  86. line-height: 1.6666667;
  87. margin-left: 5px;
  88. margin-right: 5px;
  89. outline: 0;
  90. }
  91. .picker__select--month {
  92. width: 35%;
  93. }
  94. .picker__select--year {
  95. width: 22.5%;
  96. }
  97. .picker__nav--prev,
  98. .picker__nav--next {
  99. position: absolute;
  100. padding: 8px;
  101. top: 50%;
  102. margin-top: -16px;
  103. border-radius: 2px;
  104. line-height: 1;
  105. }
  106. .picker__nav--prev:before,
  107. .picker__nav--next:before {
  108. font-family: 'FontAwesome';
  109. display: block;
  110. font-size: 16px;
  111. width: 16px;
  112. text-align: center;
  113. -webkit-font-smoothing: antialiased;
  114. -moz-osx-font-smoothing: grayscale;
  115. }
  116. .picker__nav--prev:hover,
  117. .picker__nav--next:hover {
  118. cursor: pointer;
  119. background-color: #f5f5f5;
  120. }
  121. .picker__nav--prev {
  122. left: 0;
  123. }
  124. .picker__nav--prev:before {
  125. content: '\f104';
  126. }
  127. .picker__nav--next {
  128. right: 0;
  129. }
  130. .picker__nav--next:before {
  131. content: '\f105';
  132. }
  133. .picker__nav--disabled,
  134. .picker__nav--disabled:hover,
  135. .picker__nav--disabled:before,
  136. .picker__nav--disabled:before:hover {
  137. cursor: default;
  138. background: none;
  139. border-right-color: #f5f5f5;
  140. border-left-color: #f5f5f5;
  141. }
  142. .picker__table {
  143. text-align: center;
  144. border-collapse: collapse;
  145. border-spacing: 0;
  146. table-layout: fixed;
  147. font-size: inherit;
  148. width: 100%;
  149. margin-bottom: 10px;
  150. }
  151. .picker__table td {
  152. margin: 0;
  153. padding: 0;
  154. }
  155. .picker__weekday {
  156. width: 14.285714286%;
  157. font-size: 12px;
  158. text-align: center;
  159. padding-bottom: 10px;
  160. color: #999999;
  161. font-weight: 400;
  162. }
  163. .picker__day {
  164. padding: 7px;
  165. }
  166. .picker__day--today {
  167. position: relative;
  168. background-color: #f5f5f5;
  169. }
  170. .picker__day--today:before {
  171. content: "";
  172. position: absolute;
  173. top: 2px;
  174. right: 2px;
  175. width: 0;
  176. height: 0;
  177. border-top: 6px solid #26A69A;
  178. border-left: 6px solid transparent;
  179. }
  180. .picker__day--outfocus {
  181. color: #ccc;
  182. }
  183. .picker__day--infocus:hover,
  184. .picker__day--outfocus:hover {
  185. cursor: pointer;
  186. color: #333333;
  187. background-color: #f5f5f5;
  188. }
  189. .picker__day--highlighted:before {
  190. border-top-color: #fff;
  191. }
  192. .picker__day--highlighted,
  193. .picker__day--selected {
  194. border-radius: 3px;
  195. }
  196. .picker__day--highlighted,
  197. .picker__day--highlighted:hover,
  198. .picker--focused .picker__day--highlighted {
  199. cursor: pointer;
  200. color: #fff;
  201. background-color: #26A69A;
  202. }
  203. .picker__day--selected,
  204. .picker__day--selected:hover,
  205. .picker--focused .picker__day--selected {
  206. background-color: #26A69A;
  207. color: #fff;
  208. }
  209. .picker__day--disabled,
  210. .picker__day--disabled:hover {
  211. background: #fafafa;
  212. color: #999999;
  213. cursor: default;
  214. }
  215. .picker__day--disabled:before {
  216. border-top-color: #999;
  217. }
  218. .picker__day--highlighted .picker__day--disabled,
  219. .picker__day--highlighted .picker__day--disabled:hover {
  220. background-color: #bbbbbb;
  221. }
  222. .picker__footer {
  223. text-align: center;
  224. }
  225. .picker__footer button {
  226. border: 0;
  227. background: #fff;
  228. padding: 7px 12px;
  229. border-radius: 3px;
  230. font-weight: 500;
  231. cursor: pointer;
  232. display: inline-block;
  233. }
  234. .picker__footer button:hover,
  235. .picker__footer button:focus {
  236. outline: 0;
  237. background-color: #f5f5f5;
  238. }
  239. .picker__footer button:before {
  240. height: 0;
  241. }
  242. .picker__button--today:before {
  243. content: '';
  244. margin-right: 5px;
  245. position: relative;
  246. display: inline-block;
  247. top: -1px;
  248. width: 0;
  249. border-top: 6px solid #2196F3;
  250. border-left: 6px solid transparent;
  251. }
  252. .picker__button--close:before {
  253. content: '\f00d';
  254. display: inline-block;
  255. position: relative;
  256. margin-right: 5px;
  257. top: 1px;
  258. font-family: FontAwesome;
  259. font-size: 14px;
  260. color: red;
  261. }
  262. .picker__button--clear:before {
  263. content: '';
  264. display: inline-block;
  265. position: relative;
  266. top: -3px;
  267. width: 8px;
  268. margin-right: 5px;
  269. border-top: 2px solid #F44336;
  270. }
  271. /* ------------------------------------------------------------------------------
  272. *
  273. * # Pick-a-date - Time picker
  274. *
  275. * The mobile-friendly, responsive, and lightweight jQuery date & time input picker
  276. *
  277. * Version: 1.0
  278. * Latest update: May 25, 2015
  279. *
  280. * ---------------------------------------------------------------------------- */
  281. .picker--time {
  282. min-width: 256px;
  283. max-width: 320px;
  284. }
  285. .picker--time .picker__box {
  286. padding: 0;
  287. }
  288. .picker__list {
  289. list-style: none;
  290. padding: 5px 0;
  291. margin: 0;
  292. background-color: #fff;
  293. max-height: 250px;
  294. overflow-y: auto;
  295. }
  296. .picker__list-item {
  297. position: relative;
  298. padding: 7px 12px;
  299. }
  300. .picker__list-item:hover,
  301. .picker__list-item:focus {
  302. cursor: pointer;
  303. background-color: #f5f5f5;
  304. z-index: 10;
  305. }
  306. .picker--time .picker__button--clear {
  307. display: block;
  308. width: 100%;
  309. margin: 0;
  310. padding: 7px 12px;
  311. background-color: #fcfcfc;
  312. margin-top: 1px;
  313. outline: 0;
  314. border: 0;
  315. border-top: 1px solid #eeeeee;
  316. text-align: center;
  317. margin-bottom: -5px;
  318. margin-top: 5px;
  319. }
  320. .picker--time .picker__button--clear:hover,
  321. .picker--time .picker__button--clear:focus {
  322. background-color: #f5f5f5;
  323. }
  324. .picker__list-item--highlighted {
  325. z-index: 10;
  326. }
  327. .picker__list-item--highlighted,
  328. .picker__list-item--highlighted:hover,
  329. .picker--focused .picker__list-item--highlighted {
  330. cursor: pointer;
  331. color: #fff;
  332. background-color: #26A69A;
  333. }
  334. .picker__list-item--selected,
  335. .picker__list-item--selected:hover,
  336. .picker--focused .picker__list-item--selected {
  337. background-color: #26A69A;
  338. color: #fff;
  339. z-index: 10;
  340. }
  341. .picker__list-item--disabled,
  342. .picker__list-item--disabled:hover,
  343. .picker--focused .picker__list-item--disabled {
  344. background-color: #fafafa;
  345. color: #999999;
  346. cursor: default;
  347. z-index: auto;
  348. }