calendar.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. .calendar_main {
  2. width: 750px;
  3. }
  4. .calendar_header {
  5. width: 698px;
  6. margin-top: 32px;
  7. margin-bottom: 22px;
  8. display: flex;
  9. flex-direction: row;
  10. align-items: center;
  11. justify-content: center;
  12. color: #000;
  13. font-size: 28px;
  14. height: 36px;
  15. }
  16. .calendar_body {
  17. display: flex;
  18. flex-direction: column;
  19. margin-left: 20px;
  20. // margin-right: 20px;
  21. box-sizing: border-box;
  22. overflow: hidden;
  23. }
  24. .calendar_weekly {
  25. display: flex;
  26. flex-direction: row;
  27. align-items: center;
  28. flex: 1;
  29. height: 28px;
  30. margin-bottom: 12px;
  31. }
  32. .week_item {
  33. width: 94px;
  34. flex-shrink: 0;
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. font-size: 18px;
  39. color: #B2B2B2;
  40. }
  41. .calendar_main2 {
  42. display: flex;
  43. flex-direction: column;
  44. align-items: center;
  45. background-color: #f5f5f5;
  46. width: 698px;
  47. margin-left: 26px;
  48. margin-bottom: 26px;
  49. border-radius: 28px;
  50. }
  51. .calendar_main3 {
  52. display: flex;
  53. flex-direction: row;
  54. align-items: center;
  55. flex-wrap: wrap;
  56. padding-bottom: 8px;
  57. }
  58. .left_calendar_item {
  59. position: relative;
  60. height: 60px;
  61. margin-bottom: 12px;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. flex-shrink: 0;
  66. background-color: #26B7FF1A;
  67. border-top-left-radius: 30px;
  68. border-bottom-left-radius: 30px;
  69. width: 94px;
  70. }
  71. .right_calendar_item {
  72. position: relative;
  73. height: 60px;
  74. margin-bottom: 12px;
  75. display: flex;
  76. align-items: center;
  77. justify-content: center;
  78. flex-shrink: 0;
  79. background-color: #26B7FF1A;
  80. border-top-right-radius: 30px;
  81. border-bottom-right-radius: 30px;
  82. width: 94px;
  83. }
  84. .full_calendar_item {
  85. position: relative;
  86. height: 60px;
  87. margin-bottom: 12px;
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. flex-shrink: 0;
  92. background-color: #26B7FF1A;
  93. border-radius: 30px;
  94. width: 94px;
  95. }
  96. .today1 {
  97. background-color: #000000;
  98. height: 60px;
  99. margin-bottom: 12px;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. flex-shrink: 0;
  104. ;
  105. border-radius: 30px;
  106. }
  107. .today2 {
  108. height: 52px;
  109. width: 52px;
  110. background-color: #000;
  111. border-radius: 26px;
  112. position: absolute;
  113. top: 6px;
  114. left: 23px;
  115. z-index: 0;
  116. }
  117. .full_right_today{
  118. position: absolute;
  119. left: 0;
  120. top: 0;
  121. bottom: 0;
  122. width: 77px;
  123. z-index: 0;
  124. border-bottom-right-radius: 30px;
  125. border-top-right-radius: 30px;
  126. }
  127. .fullToday {
  128. height: 60px;
  129. width: 60px;
  130. border-radius: 30px;
  131. position: absolute;
  132. top: 0px;
  133. left: 17px;
  134. z-index: 0;
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. }
  139. .today3 {
  140. height: 52px;
  141. width: 52px;
  142. box-sizing: border-box;
  143. border: solid 2px #000;
  144. border-radius: 26px;
  145. }
  146. .today_content {
  147. border: solid 2px #000;
  148. box-sizing: border-box;
  149. }
  150. .center_calendar_item {
  151. position: relative;
  152. height: 60px;
  153. margin-bottom: 12px;
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. flex-shrink: 0;
  158. background-color: #26B7FF1A;
  159. width: 94px;
  160. }
  161. .calendar_item {
  162. height: 60px;
  163. margin-bottom: 12px;
  164. display: flex;
  165. align-items: center;
  166. justify-content: center;
  167. flex-shrink: 0;
  168. width: 94px;
  169. }
  170. .left_day {
  171. color: #26B7FF;
  172. font-size: 30px;
  173. letter-spacing: -3px;
  174. }
  175. .right_day {
  176. color: #26B7FF;
  177. font-size: 30px;
  178. letter-spacing: -3px;
  179. }
  180. .full_day {
  181. color: #26B7FF;
  182. font-size: 30px;
  183. letter-spacing: -3px;
  184. }
  185. .center_day {
  186. color: #26B7FF;
  187. font-size: 30px;
  188. letter-spacing: -3px;
  189. }
  190. .normal_day {
  191. color: #808080;
  192. font-size: 30px;
  193. letter-spacing: -3px;
  194. }
  195. .streak_days {
  196. font-size: 96px;
  197. font-weight: bold;
  198. line-height: 108px;
  199. }