u-calendar.ttss 3.4 KB

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