u-calendar.wxss 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .u-calendar.data-v-5b667d40 {
  28. color: #606266;
  29. }
  30. .u-calendar__header.data-v-5b667d40 {
  31. width: 100%;
  32. box-sizing: border-box;
  33. font-size: 30rpx;
  34. background-color: #fff;
  35. color: #303133;
  36. }
  37. .u-calendar__header__text.data-v-5b667d40 {
  38. margin-top: 30rpx;
  39. padding: 0 60rpx;
  40. display: -webkit-box;
  41. display: -webkit-flex;
  42. display: flex;
  43. -webkit-box-orient: horizontal;
  44. -webkit-box-direction: normal;
  45. -webkit-flex-direction: row;
  46. flex-direction: row;
  47. -webkit-box-pack: center;
  48. -webkit-justify-content: center;
  49. justify-content: center;
  50. -webkit-box-align: center;
  51. -webkit-align-items: center;
  52. align-items: center;
  53. }
  54. .u-calendar__action.data-v-5b667d40 {
  55. padding: 40rpx 0 40rpx 0;
  56. }
  57. .u-calendar__action__icon.data-v-5b667d40 {
  58. margin: 0 16rpx;
  59. }
  60. .u-calendar__action__text.data-v-5b667d40 {
  61. padding: 0 16rpx;
  62. color: #303133;
  63. font-size: 32rpx;
  64. line-height: 32rpx;
  65. font-weight: bold;
  66. }
  67. .u-calendar__week-day.data-v-5b667d40 {
  68. display: -webkit-box;
  69. display: -webkit-flex;
  70. display: flex;
  71. -webkit-box-orient: horizontal;
  72. -webkit-box-direction: normal;
  73. -webkit-flex-direction: row;
  74. flex-direction: row;
  75. -webkit-box-align: center;
  76. -webkit-align-items: center;
  77. align-items: center;
  78. -webkit-box-pack: center;
  79. -webkit-justify-content: center;
  80. justify-content: center;
  81. padding: 6px 0;
  82. overflow: hidden;
  83. }
  84. .u-calendar__week-day__text.data-v-5b667d40 {
  85. -webkit-box-flex: 1;
  86. -webkit-flex: 1;
  87. flex: 1;
  88. text-align: center;
  89. }
  90. .u-calendar__content.data-v-5b667d40 {
  91. width: 100%;
  92. display: -webkit-box;
  93. display: -webkit-flex;
  94. display: flex;
  95. -webkit-box-orient: horizontal;
  96. -webkit-box-direction: normal;
  97. -webkit-flex-direction: row;
  98. flex-direction: row;
  99. -webkit-flex-wrap: wrap;
  100. flex-wrap: wrap;
  101. padding: 6px 0;
  102. box-sizing: border-box;
  103. background-color: #fff;
  104. position: relative;
  105. }
  106. .u-calendar__content--end-date.data-v-5b667d40 {
  107. border-top-right-radius: 8rpx;
  108. border-bottom-right-radius: 8rpx;
  109. }
  110. .u-calendar__content--start-date.data-v-5b667d40 {
  111. border-top-left-radius: 8rpx;
  112. border-bottom-left-radius: 8rpx;
  113. }
  114. .u-calendar__content__item.data-v-5b667d40 {
  115. width: 14.2857%;
  116. display: -webkit-box;
  117. display: -webkit-flex;
  118. display: flex;
  119. -webkit-box-orient: horizontal;
  120. -webkit-box-direction: normal;
  121. -webkit-flex-direction: row;
  122. flex-direction: row;
  123. -webkit-box-align: center;
  124. -webkit-align-items: center;
  125. align-items: center;
  126. -webkit-box-pack: center;
  127. -webkit-justify-content: center;
  128. justify-content: center;
  129. padding: 6px 0;
  130. overflow: hidden;
  131. position: relative;
  132. z-index: 2;
  133. }
  134. .u-calendar__content__item__inner.data-v-5b667d40 {
  135. height: 84rpx;
  136. display: -webkit-box;
  137. display: -webkit-flex;
  138. display: flex;
  139. -webkit-box-orient: horizontal;
  140. -webkit-box-direction: normal;
  141. -webkit-flex-direction: row;
  142. flex-direction: row;
  143. -webkit-box-align: center;
  144. -webkit-align-items: center;
  145. align-items: center;
  146. -webkit-box-pack: center;
  147. -webkit-justify-content: center;
  148. justify-content: center;
  149. -webkit-flex-direction: column;
  150. flex-direction: column;
  151. font-size: 32rpx;
  152. position: relative;
  153. border-radius: 50%;
  154. }
  155. .u-calendar__content__item__inner__desc.data-v-5b667d40 {
  156. width: 100%;
  157. font-size: 24rpx;
  158. line-height: 24rpx;
  159. -webkit-transform: scale(0.75);
  160. transform: scale(0.75);
  161. -webkit-transform-origin: center center;
  162. transform-origin: center center;
  163. position: absolute;
  164. left: 0;
  165. text-align: center;
  166. bottom: 2rpx;
  167. }
  168. .u-calendar__content__item__tips.data-v-5b667d40 {
  169. width: 100%;
  170. font-size: 24rpx;
  171. line-height: 24rpx;
  172. position: absolute;
  173. left: 0;
  174. -webkit-transform: scale(0.8);
  175. transform: scale(0.8);
  176. -webkit-transform-origin: center center;
  177. transform-origin: center center;
  178. text-align: center;
  179. bottom: 8rpx;
  180. z-index: 2;
  181. }
  182. .u-calendar__content__bg-month.data-v-5b667d40 {
  183. position: absolute;
  184. font-size: 130px;
  185. line-height: 130px;
  186. left: 50%;
  187. top: 50%;
  188. -webkit-transform: translate(-50%, -50%);
  189. transform: translate(-50%, -50%);
  190. color: #e4e7ed;
  191. z-index: 1;
  192. }
  193. .u-calendar__bottom.data-v-5b667d40 {
  194. width: 100%;
  195. display: -webkit-box;
  196. display: -webkit-flex;
  197. display: flex;
  198. -webkit-box-orient: horizontal;
  199. -webkit-box-direction: normal;
  200. -webkit-flex-direction: row;
  201. flex-direction: row;
  202. -webkit-box-align: center;
  203. -webkit-align-items: center;
  204. align-items: center;
  205. -webkit-box-pack: center;
  206. -webkit-justify-content: center;
  207. justify-content: center;
  208. -webkit-flex-direction: column;
  209. flex-direction: column;
  210. background-color: #fff;
  211. padding: 0 40rpx 30rpx;
  212. box-sizing: border-box;
  213. font-size: 24rpx;
  214. color: #909399;
  215. }
  216. .u-calendar__bottom__choose.data-v-5b667d40 {
  217. height: 50rpx;
  218. }
  219. .u-calendar__bottom__btn.data-v-5b667d40 {
  220. width: 100%;
  221. }