lCalendar.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. .gearDate,
  2. .gearDatetime,
  3. .gearTime {
  4. font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  5. font-size: 10px;
  6. background-color: rgba(0, 0, 0, 0.2);
  7. display: block;
  8. position: fixed;
  9. top: 0;
  10. left: 0;
  11. width: 100%;
  12. height: 100%;
  13. z-index: 9900;
  14. overflow: hidden;
  15. -webkit-animation-fill-mode: both;
  16. animation-fill-mode: both
  17. }
  18. .date_ctrl {
  19. vertical-align: middle;
  20. background-color: white;
  21. color: #363837;
  22. margin: 0;
  23. height: auto;
  24. width: 100%;
  25. position: absolute;
  26. left: 0;
  27. bottom: 0;
  28. z-index: 9901;
  29. overflow: hidden;
  30. -webkit-transform: translate3d(0, 0, 0);
  31. transform: translate3d(0, 0, 0)
  32. }
  33. .slideInUp {
  34. animation: slideInUp .3s ease-in;
  35. -webkit-animation: slideInUp .3s ease-in
  36. }
  37. @-webkit-keyframes slideInUp {
  38. from {
  39. -webkit-transform: translate3d(0, 100%, 0);
  40. transform: translate3d(0, 100%, 0)
  41. }
  42. to {
  43. -webkit-transform: translate3d(0, 0, 0);
  44. transform: translate3d(0, 0, 0)
  45. }
  46. }
  47. .date_roll,
  48. .datetime_roll,
  49. .time_roll {
  50. display: -webkit-box;
  51. width: 100%;
  52. height: auto;
  53. overflow: hidden;
  54. font-weight: bold;
  55. background-color: transparent;
  56. -webkit-mask: -webkit-gradient(linear, 0% 50%, 0% 100%, from(#debb47), to(rgba(36, 142, 36, 0)));
  57. -webkit-mask: -webkit-linear-gradient(top, #debb47 50%, rgba(36, 142, 36, 0))
  58. }
  59. .date_roll>div,
  60. .datetime_roll>div,
  61. .time_roll>div {
  62. font-size: 2.3em;
  63. height: 6em;
  64. float: left;
  65. background-color: transparent;
  66. position: relative;
  67. overflow: hidden;
  68. -webkit-box-flex: 4
  69. }
  70. .date_roll_mask {
  71. -webkit-mask: -webkit-gradient(linear, 0% 40%, 0% 0%, from(#debb47), to(rgba(36, 142, 36, 0)));
  72. -webkit-mask: -webkit-linear-gradient(bottom, #debb47 50%, rgba(36, 142, 36, 0));
  73. padding: 0 0 3em 0
  74. }
  75. .date_roll>div:nth-child(2) {
  76. -webkit-box-flex: 2
  77. }
  78. .date_roll>div:nth-child(1),
  79. .datetime_roll>div:nth-child(1) {
  80. -webkit-box-flex: 4
  81. }
  82. .datetime_roll>div:first-child {
  83. -webkit-box-flex: 6
  84. }
  85. .datetime_roll>div:last-child {
  86. -webkit-box-flex: 6
  87. }
  88. .date_grid {
  89. position: relative;
  90. top: 2em;
  91. width: 100%;
  92. height: 2em;
  93. margin: 0;
  94. box-sizing: border-box;
  95. z-index: 0;
  96. border-top: 1px solid #e6e6e6;
  97. border-bottom: 1px solid #e6e6e6
  98. }
  99. .date_grid>div {
  100. color: #000;
  101. position: absolute;
  102. right: 0;
  103. top: 0;
  104. font-size: .8em;
  105. line-height: 2.5em
  106. }
  107. .date_roll>div:nth-child(3) .date_grid>div {
  108. left: 42%
  109. }
  110. .datetime_roll>div .date_grid>div {
  111. right: 0
  112. }
  113. .datetime_roll>div:first-child .date_grid>div {
  114. left: auto;
  115. right: 0%
  116. }
  117. .datetime_roll>div:last-child .date_grid>div {
  118. left: 50%
  119. }
  120. .time_roll>div:nth-child(1) .date_grid>div {
  121. right: 0.5em;
  122. /*border: 1px solid red;*/
  123. }
  124. .time_roll>div .date_grid{
  125. /*border: 1px solid black;*/
  126. }
  127. .time_roll>div .date_grid>div {
  128. right:1em;
  129. /*border: 1px solid blue;*/
  130. }
  131. .date_btn {
  132. color: #000;
  133. font-size: 1.6em;
  134. line-height: 1em;
  135. text-align: center;
  136. padding: .8em 1em;
  137. cursor: pointer
  138. }
  139. .date_btn_box {
  140. display: -webkit-box;
  141. -webkit-box-pack: justify;
  142. -webkit-box-align: stretch
  143. }
  144. .gear {
  145. float: left;
  146. position: absolute;
  147. z-index: 9902;
  148. width: 5.5em;
  149. margin-top: -6em
  150. }
  151. .date_roll>div .gear {
  152. width: 100%
  153. }
  154. .date_roll>div:nth-child(1) .gear {
  155. text-indent: 20%
  156. }
  157. .date_roll>div:nth-child(2) .gear {
  158. text-indent: -20%
  159. }
  160. .date_roll>div:nth-child(3) .gear {
  161. text-indent: -55%
  162. }
  163. .datetime_roll>div .gear {
  164. width: 100%;
  165. text-indent: -25%
  166. }
  167. .datetime_roll>div:first-child .gear {
  168. text-indent: -10%
  169. }
  170. .datetime_roll>div:last-child .gear {
  171. text-indent: -50%
  172. }
  173. .time_roll>div .gear {
  174. width: 100%;
  175. /*text-indent: -70%;*/
  176. text-align: center;
  177. }
  178. .time_roll>div:nth-child(1) .gear {
  179. width: 100%;
  180. text-indent: 10%
  181. }
  182. .tooth {
  183. height: 2em;
  184. line-height: 2em;
  185. text-align: center
  186. }