u-calendar.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量
  4. * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用
  5. */
  6. .u-calendar.data-v-5b667d40 {
  7. color: #606266;
  8. }
  9. .u-calendar__header.data-v-5b667d40 {
  10. width: 100%;
  11. box-sizing: border-box;
  12. font-size: 30rpx;
  13. background-color: #fff;
  14. color: #303133;
  15. }
  16. .u-calendar__header__text.data-v-5b667d40 {
  17. margin-top: 30rpx;
  18. padding: 0 60rpx;
  19. display: -webkit-box;
  20. display: -webkit-flex;
  21. display: flex;
  22. -webkit-box-orient: horizontal;
  23. -webkit-box-direction: normal;
  24. -webkit-flex-direction: row;
  25. flex-direction: row;
  26. -webkit-box-pack: center;
  27. -webkit-justify-content: center;
  28. justify-content: center;
  29. -webkit-box-align: center;
  30. -webkit-align-items: center;
  31. align-items: center;
  32. }
  33. .u-calendar__action.data-v-5b667d40 {
  34. padding: 40rpx 0 40rpx 0;
  35. }
  36. .u-calendar__action__icon.data-v-5b667d40 {
  37. margin: 0 16rpx;
  38. }
  39. .u-calendar__action__text.data-v-5b667d40 {
  40. padding: 0 16rpx;
  41. color: #303133;
  42. font-size: 32rpx;
  43. line-height: 32rpx;
  44. font-weight: bold;
  45. }
  46. .u-calendar__week-day.data-v-5b667d40 {
  47. display: -webkit-box;
  48. display: -webkit-flex;
  49. display: flex;
  50. -webkit-box-orient: horizontal;
  51. -webkit-box-direction: normal;
  52. -webkit-flex-direction: row;
  53. flex-direction: row;
  54. -webkit-box-align: center;
  55. -webkit-align-items: center;
  56. align-items: center;
  57. -webkit-box-pack: center;
  58. -webkit-justify-content: center;
  59. justify-content: center;
  60. padding: 6px 0;
  61. overflow: hidden;
  62. }
  63. .u-calendar__week-day__text.data-v-5b667d40 {
  64. -webkit-box-flex: 1;
  65. -webkit-flex: 1;
  66. flex: 1;
  67. text-align: center;
  68. }
  69. .u-calendar__content.data-v-5b667d40 {
  70. width: 100%;
  71. display: -webkit-box;
  72. display: -webkit-flex;
  73. display: flex;
  74. -webkit-box-orient: horizontal;
  75. -webkit-box-direction: normal;
  76. -webkit-flex-direction: row;
  77. flex-direction: row;
  78. -webkit-flex-wrap: wrap;
  79. flex-wrap: wrap;
  80. padding: 6px 0;
  81. box-sizing: border-box;
  82. background-color: #fff;
  83. position: relative;
  84. }
  85. .u-calendar__content--end-date.data-v-5b667d40 {
  86. border-top-right-radius: 8rpx;
  87. border-bottom-right-radius: 8rpx;
  88. }
  89. .u-calendar__content--start-date.data-v-5b667d40 {
  90. border-top-left-radius: 8rpx;
  91. border-bottom-left-radius: 8rpx;
  92. }
  93. .u-calendar__content__item.data-v-5b667d40 {
  94. width: 14.2857%;
  95. display: -webkit-box;
  96. display: -webkit-flex;
  97. display: flex;
  98. -webkit-box-orient: horizontal;
  99. -webkit-box-direction: normal;
  100. -webkit-flex-direction: row;
  101. flex-direction: row;
  102. -webkit-box-align: center;
  103. -webkit-align-items: center;
  104. align-items: center;
  105. -webkit-box-pack: center;
  106. -webkit-justify-content: center;
  107. justify-content: center;
  108. padding: 6px 0;
  109. overflow: hidden;
  110. position: relative;
  111. z-index: 2;
  112. }
  113. .u-calendar__content__item__inner.data-v-5b667d40 {
  114. height: 84rpx;
  115. display: -webkit-box;
  116. display: -webkit-flex;
  117. display: flex;
  118. -webkit-box-orient: horizontal;
  119. -webkit-box-direction: normal;
  120. -webkit-flex-direction: row;
  121. flex-direction: row;
  122. -webkit-box-align: center;
  123. -webkit-align-items: center;
  124. align-items: center;
  125. -webkit-box-pack: center;
  126. -webkit-justify-content: center;
  127. justify-content: center;
  128. -webkit-flex-direction: column;
  129. flex-direction: column;
  130. font-size: 32rpx;
  131. position: relative;
  132. border-radius: 50%;
  133. }
  134. .u-calendar__content__item__inner__desc.data-v-5b667d40 {
  135. width: 100%;
  136. font-size: 24rpx;
  137. line-height: 24rpx;
  138. -webkit-transform: scale(0.75);
  139. transform: scale(0.75);
  140. -webkit-transform-origin: center center;
  141. transform-origin: center center;
  142. position: absolute;
  143. left: 0;
  144. text-align: center;
  145. bottom: 2rpx;
  146. }
  147. .u-calendar__content__item__tips.data-v-5b667d40 {
  148. width: 100%;
  149. font-size: 24rpx;
  150. line-height: 24rpx;
  151. position: absolute;
  152. left: 0;
  153. -webkit-transform: scale(0.8);
  154. transform: scale(0.8);
  155. -webkit-transform-origin: center center;
  156. transform-origin: center center;
  157. text-align: center;
  158. bottom: 8rpx;
  159. z-index: 2;
  160. }
  161. .u-calendar__content__bg-month.data-v-5b667d40 {
  162. position: absolute;
  163. font-size: 130px;
  164. line-height: 130px;
  165. left: 50%;
  166. top: 50%;
  167. -webkit-transform: translate(-50%, -50%);
  168. transform: translate(-50%, -50%);
  169. color: #e4e7ed;
  170. z-index: 1;
  171. }
  172. .u-calendar__bottom.data-v-5b667d40 {
  173. width: 100%;
  174. display: -webkit-box;
  175. display: -webkit-flex;
  176. display: flex;
  177. -webkit-box-orient: horizontal;
  178. -webkit-box-direction: normal;
  179. -webkit-flex-direction: row;
  180. flex-direction: row;
  181. -webkit-box-align: center;
  182. -webkit-align-items: center;
  183. align-items: center;
  184. -webkit-box-pack: center;
  185. -webkit-justify-content: center;
  186. justify-content: center;
  187. -webkit-flex-direction: column;
  188. flex-direction: column;
  189. background-color: #fff;
  190. padding: 0 40rpx 30rpx;
  191. box-sizing: border-box;
  192. font-size: 24rpx;
  193. color: #909399;
  194. }
  195. .u-calendar__bottom__choose.data-v-5b667d40 {
  196. height: 50rpx;
  197. }
  198. .u-calendar__bottom__btn.data-v-5b667d40 {
  199. width: 100%;
  200. }