u-calendar.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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: flex;
  41. flex-direction: row;
  42. justify-content: center;
  43. align-items: center;
  44. }
  45. .u-calendar__action.data-v-5b667d40 {
  46. padding: 40rpx 0 40rpx 0;
  47. }
  48. .u-calendar__action__icon.data-v-5b667d40 {
  49. margin: 0 16rpx;
  50. }
  51. .u-calendar__action__text.data-v-5b667d40 {
  52. padding: 0 16rpx;
  53. color: #303133;
  54. font-size: 32rpx;
  55. line-height: 32rpx;
  56. font-weight: bold;
  57. }
  58. .u-calendar__week-day.data-v-5b667d40 {
  59. display: flex;
  60. flex-direction: row;
  61. align-items: center;
  62. justify-content: center;
  63. padding: 6px 0;
  64. overflow: hidden;
  65. }
  66. .u-calendar__week-day__text.data-v-5b667d40 {
  67. flex: 1;
  68. text-align: center;
  69. }
  70. .u-calendar__content.data-v-5b667d40 {
  71. width: 100%;
  72. display: flex;
  73. flex-direction: row;
  74. flex-wrap: wrap;
  75. padding: 6px 0;
  76. box-sizing: border-box;
  77. background-color: #fff;
  78. position: relative;
  79. }
  80. .u-calendar__content--end-date.data-v-5b667d40 {
  81. border-top-right-radius: 8rpx;
  82. border-bottom-right-radius: 8rpx;
  83. }
  84. .u-calendar__content--start-date.data-v-5b667d40 {
  85. border-top-left-radius: 8rpx;
  86. border-bottom-left-radius: 8rpx;
  87. }
  88. .u-calendar__content__item.data-v-5b667d40 {
  89. width: 14.2857%;
  90. display: flex;
  91. flex-direction: row;
  92. align-items: center;
  93. justify-content: center;
  94. padding: 6px 0;
  95. overflow: hidden;
  96. position: relative;
  97. z-index: 2;
  98. }
  99. .u-calendar__content__item__inner.data-v-5b667d40 {
  100. height: 84rpx;
  101. display: flex;
  102. flex-direction: row;
  103. align-items: center;
  104. justify-content: center;
  105. flex-direction: column;
  106. font-size: 32rpx;
  107. position: relative;
  108. border-radius: 50%;
  109. }
  110. .u-calendar__content__item__inner__desc.data-v-5b667d40 {
  111. width: 100%;
  112. font-size: 24rpx;
  113. line-height: 24rpx;
  114. -webkit-transform: scale(0.75);
  115. transform: scale(0.75);
  116. -webkit-transform-origin: center center;
  117. transform-origin: center center;
  118. position: absolute;
  119. left: 0;
  120. text-align: center;
  121. bottom: 2rpx;
  122. }
  123. .u-calendar__content__item__tips.data-v-5b667d40 {
  124. width: 100%;
  125. font-size: 24rpx;
  126. line-height: 24rpx;
  127. position: absolute;
  128. left: 0;
  129. -webkit-transform: scale(0.8);
  130. transform: scale(0.8);
  131. -webkit-transform-origin: center center;
  132. transform-origin: center center;
  133. text-align: center;
  134. bottom: 8rpx;
  135. z-index: 2;
  136. }
  137. .u-calendar__content__bg-month.data-v-5b667d40 {
  138. position: absolute;
  139. font-size: 130px;
  140. line-height: 130px;
  141. left: 50%;
  142. top: 50%;
  143. -webkit-transform: translate(-50%, -50%);
  144. transform: translate(-50%, -50%);
  145. color: #e4e7ed;
  146. z-index: 1;
  147. }
  148. .u-calendar__bottom.data-v-5b667d40 {
  149. width: 100%;
  150. display: flex;
  151. flex-direction: row;
  152. align-items: center;
  153. justify-content: center;
  154. flex-direction: column;
  155. background-color: #fff;
  156. padding: 0 40rpx 30rpx;
  157. box-sizing: border-box;
  158. font-size: 24rpx;
  159. color: #909399;
  160. }
  161. .u-calendar__bottom__choose.data-v-5b667d40 {
  162. height: 50rpx;
  163. }
  164. .u-calendar__bottom__btn.data-v-5b667d40 {
  165. width: 100%;
  166. }