Нет описания

default.date.css 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. /* ==========================================================================
  2. $BASE-DATE-PICKER
  3. ========================================================================== */
  4. /**
  5. * The picker box.
  6. */
  7. .um .picker__box {
  8. }
  9. /**
  10. * The header containing the month and year stuff.
  11. */
  12. .um .picker__header {
  13. text-align: center;
  14. position: relative;
  15. margin-top: .75em;
  16. border-radius: 2px 2px 0 0;
  17. padding: 15px 0;
  18. font-size: 18px;
  19. }
  20. /**
  21. * The month and year labels.
  22. */
  23. .um .picker__month,
  24. .um .picker__year {
  25. display: inline-block;
  26. margin-left: 10px;
  27. margin-right: 10px;
  28. }
  29. .um .picker__year {
  30. }
  31. /**
  32. * The month and year selectors.
  33. */
  34. .um .picker__select--month,
  35. .um .picker__select--year {
  36. margin-left: .25em;
  37. margin-right: .25em;
  38. font-size: 16px;
  39. color: #999;
  40. background: #fff !important;
  41. outline: 0 !important;
  42. border: 0 !important;
  43. }
  44. @media (min-width: 24.5em) {
  45. .um .picker__select--month,
  46. .um .picker__select--year {
  47. margin-top: -0.5em;
  48. }
  49. }
  50. .um .picker__select--month {
  51. width: 35%;
  52. }
  53. .um .picker__select--year {
  54. width: 22.5%;
  55. }
  56. .um .picker__select--month:focus,
  57. .um .picker__select--year:focus {
  58. }
  59. /**
  60. * The month navigation buttons.
  61. */
  62. .um .picker__nav--prev,
  63. .um .picker__nav--next {
  64. position: absolute;
  65. padding: .5em 1.25em;
  66. width: 1em;
  67. height: 1em;
  68. box-sizing: content-box !important;
  69. top: 8px;
  70. color: #fff;
  71. }
  72. .um-popup .picker__nav--prev,
  73. .um-popup .picker__nav--next {
  74. position: absolute;
  75. padding: .5em 1.25em;
  76. width: 1em;
  77. height: 1em;
  78. box-sizing: content-box !important;
  79. top: 8px;
  80. color: #fff;
  81. }
  82. @media (min-width: 24.5em) {
  83. .um .picker__nav--prev,
  84. .um .picker__nav--next {
  85. }
  86. }
  87. .um .picker__nav--prev {
  88. left: 0;
  89. padding-right: 1.25em;
  90. }
  91. .um-popup .picker__nav--prev {
  92. left: 0;
  93. padding-right: 1.25em;
  94. }
  95. @media (min-width: 24.5em) {
  96. .um .picker__nav--prev {
  97. padding-right: 1.5em;
  98. }
  99. .um-popup .picker__nav--prev {
  100. padding-right: 1.5em;
  101. }
  102. }
  103. .um .picker__nav--next {
  104. right: 0;
  105. padding-left: 1.25em;
  106. }
  107. .um-popup .picker__nav--next {
  108. right: 0;
  109. padding-left: 1.25em;
  110. }
  111. @media (min-width: 24.5em) {
  112. .um .picker__nav--next {
  113. padding-left: 1.5em;
  114. }
  115. .um-popup .picker__nav--next {
  116. padding-left: 1.5em;
  117. }
  118. }
  119. .um .picker__nav--prev:before,
  120. .um .picker__nav--next:before {
  121. content: " ";
  122. border-top: .5em solid transparent;
  123. border-bottom: .5em solid transparent;
  124. border-right: 0.5em solid #fff;
  125. width: 0;
  126. height: 0;
  127. display: block;
  128. margin: 0 auto;
  129. }
  130. .um-popup .picker__nav--prev:before,
  131. .um-popup .picker__nav--next:before {
  132. content: " ";
  133. border-top: .5em solid transparent;
  134. border-bottom: .5em solid transparent;
  135. border-right: 0.5em solid #fff;
  136. width: 0;
  137. height: 0;
  138. display: block;
  139. margin: 0 auto;
  140. }
  141. .um .picker__nav--next:before {
  142. border-right: 0;
  143. border-left: 0.5em solid #fff;
  144. }
  145. .um-popup .picker__nav--next:before {
  146. border-right: 0;
  147. border-left: 0.5em solid #fff;
  148. }
  149. .um .picker__nav--prev:hover,
  150. .um .picker__nav--next:hover {
  151. cursor: pointer;
  152. color: #fff;
  153. }
  154. .um-popup .picker__nav--prev:hover,
  155. .um-popup .picker__nav--next:hover {
  156. cursor: pointer;
  157. color: #fff;
  158. }
  159. .um .picker__nav--disabled,
  160. .um .picker__nav--disabled:hover,
  161. .um .picker__nav--disabled:before,
  162. .um .picker__nav--disabled:before:hover {
  163. cursor: default;
  164. background: none;
  165. }
  166. .um-popup .picker__nav--disabled,
  167. .um-popup .picker__nav--disabled:hover,
  168. .um-popup .picker__nav--disabled:before,
  169. .um-popup .picker__nav--disabled:before:hover {
  170. cursor: default;
  171. background: none;
  172. }
  173. /**
  174. * The calendar table of dates
  175. */
  176. .um .picker__table {
  177. text-align: center;
  178. border-collapse: collapse;
  179. border-spacing: 0;
  180. table-layout: fixed;
  181. font-size: inherit;
  182. width: 100%;
  183. margin-top: 5px;
  184. border: none;
  185. margin-bottom: 0;
  186. }
  187. @media (min-height: 33.875em) {
  188. .um .picker__table {
  189. }
  190. }
  191. .um .picker__table th {
  192. }
  193. .um .picker__table td {
  194. margin: 0;
  195. padding: 0px 10px;
  196. text-align: center;
  197. border: 0;
  198. }
  199. /**
  200. * The weekday labels
  201. */
  202. .um .picker__weekday {
  203. width: 14.285714286%;
  204. color: #fff;
  205. text-align: center;
  206. padding: 5px 0 !important;
  207. /* Increase the spacing a tad */
  208. }
  209. @media (min-height: 33.875em) {
  210. .um .picker__weekday {
  211. }
  212. }
  213. /**
  214. * The days on the calendar
  215. */
  216. .um .picker__day {
  217. padding: 10px 0;
  218. line-height: 1em !important;
  219. }
  220. .um .picker__day--today {
  221. position: relative;
  222. }
  223. .um .picker__day--outfocus {
  224. opacity: 0.75;
  225. }
  226. .um .picker__day--infocus:hover,
  227. .um .picker__day--outfocus:hover {
  228. border-radius: 2px;
  229. cursor: pointer;
  230. }
  231. .um .picker__day--highlighted {
  232. }
  233. .um .picker__day--highlighted:hover,
  234. .um .picker--focused .picker__day--highlighted {
  235. border-radius: 2px;
  236. }
  237. .um .picker__day--selected,
  238. .um .picker__day--selected:hover,
  239. .um .picker--focused .picker__day--selected {
  240. }
  241. .um .picker__day--disabled,
  242. .um .picker__day--disabled:hover {
  243. cursor: default;
  244. background: transparent !important;
  245. opacity: 0.3;
  246. }
  247. .um .picker__day--highlighted.picker__day--disabled,
  248. .um .picker__day--highlighted.picker__day--disabled:hover {
  249. }
  250. /**
  251. * The footer containing the "today" and "clear" buttons.
  252. */
  253. .um .picker__footer {
  254. text-align: center;
  255. height: 50px !important;
  256. line-height: 50px !important;
  257. margin-top: 5px;
  258. border-radius: 0 0 2px 2px;
  259. }
  260. .um .picker__button--today,
  261. .um .picker__button--clear {
  262. margin: 0 !important;
  263. width: 50%;
  264. display: inline-block;
  265. background: none !important;
  266. box-shadow: none !important;
  267. border: 0!important;
  268. outline: 0 !important;
  269. box-sizing: border-box !important;
  270. }
  271. .um .picker__button--today:hover,
  272. .um .picker__button--clear:hover,
  273. .um .picker__button--today:focus,
  274. .um .picker__button--clear:focus {
  275. cursor: pointer;
  276. }