index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. .g-date {
  2. width: 412px;
  3. .ant-calendar {
  4. box-shadow: none;
  5. width: 100%;
  6. .ant-calendar-input-wrap {
  7. padding: 13px 10px;
  8. line-height: 20px;
  9. background: #F7F7F7;
  10. height: 46px;
  11. border: none;
  12. margin-bottom: 10px;
  13. input {
  14. background: #F7F7F7;
  15. color: #303036;
  16. }
  17. }
  18. .ant-calendar-header {
  19. color: #000;
  20. font-size: 16px;
  21. border: none;
  22. margin-bottom: 5px;
  23. }
  24. .ant-calendar-body {
  25. cursor: pointer;
  26. table {
  27. th {
  28. height: 64px;
  29. background: #F5F6F7;
  30. }
  31. td {
  32. height: 50px;
  33. }
  34. }
  35. .ant-calendar-date {
  36. width: 35px;
  37. height: 35px;
  38. line-height: 33px;
  39. border-radius: 50%;
  40. position: relative;
  41. .s1 {
  42. width: 6px;
  43. height: 6px;
  44. border-radius: 50%;
  45. position: absolute;
  46. right: 0;
  47. top: 10px;
  48. }
  49. .s2 {
  50. width: 6px;
  51. height: 6px;
  52. border-radius: 50%;
  53. position: absolute;
  54. right: 0;
  55. top: 18px;
  56. }
  57. }
  58. .ant-calendar-today .ant-calendar-date {
  59. border-color: #fff;
  60. color: rgba(0, 0, 0, .65);
  61. font-weight: 400;
  62. }
  63. .ant-calendar-selected-date .ant-calendar-date,
  64. .ant-calendar-selected-day .ant-calendar-date,
  65. .ant-calendar-selected-date.ant-calendar-today .ant-calendar-date {
  66. color: #1890ff;
  67. font-weight: 700;
  68. border-color: #1890ff;
  69. background: #fff;
  70. }
  71. .ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
  72. display: none;
  73. }
  74. }
  75. .ant-calendar-footer {
  76. display: none;
  77. }
  78. }
  79. }
  80. .g-date.filled {
  81. .ant-calendar {
  82. .ant-calendar-body {
  83. .ant-calendar-selected-date .ant-calendar-date,
  84. .ant-calendar-selected-day .ant-calendar-date,
  85. .ant-calendar-selected-date.ant-calendar-today .ant-calendar-date {
  86. color: #fff;
  87. background: #4299FF;
  88. }
  89. }
  90. }
  91. }
  92. .g-date.hide-input {
  93. position: unset !important;
  94. .ant-calendar-input-wrap {
  95. display: none;
  96. }
  97. }
  98. .g-date-block {
  99. height: 500px;
  100. .ant-calendar-picker {
  101. opacity: 0;
  102. }
  103. }
  104. .g-date-block.hide-input {
  105. height: 460px;
  106. }
  107. .g-two-date {
  108. .g-two-head {
  109. >div {
  110. display: inline-block;
  111. width: 50%;
  112. height: 40px;
  113. line-height: 40px;
  114. color: #5E677BFF;
  115. position: relative;
  116. .i {
  117. color: #00000073;
  118. }
  119. }
  120. }
  121. .g-two-body {
  122. >div {
  123. display: inline-block;
  124. width: 50%;
  125. }
  126. >div:first-child {
  127. .ant-fullcalendar-calendar-body {
  128. border-right: 1px solid #d9d9d9;
  129. }
  130. }
  131. }
  132. .ant-fullcalendar table,
  133. .ant-fullcalendar td,
  134. .ant-fullcalendar th {
  135. height: 30px;
  136. }
  137. .ant-fullcalendar-header {
  138. display: none;
  139. }
  140. .ant-fullcalendar-selected-day .ant-fullcalendar-value {
  141. color: rgba(0, 0, 0, .65);
  142. background: #fff;
  143. }
  144. .ant-fullcalendar-today .ant-fullcalendar-value {
  145. box-shadow: none;
  146. border: 1px solid #4299FF;
  147. border-radius: 12px;
  148. }
  149. .ant-fullcalendar-today.ant-fullcalendar-last-month-btn-day,
  150. .ant-fullcalendar-today.ant-fullcalendar-next-month-btn-day {
  151. .ant-fullcalendar-value {
  152. border: none;
  153. }
  154. }
  155. .ant-fullcalendar-cell {
  156. .selected {
  157. .ant-fullcalendar-value {
  158. background: #4299FF;
  159. color: #fff;
  160. border-radius: 12px;
  161. }
  162. }
  163. }
  164. .ant-fullcalendar-value {
  165. width: 36px;
  166. }
  167. .ant-fullcalendar-last-month-cell,
  168. .ant-fullcalendar-next-month-cell,
  169. .ant-fullcalendar-last-month-btn-day,
  170. .ant-fullcalendar-next-month-btn-day {
  171. .ant-fullcalendar-value {
  172. color: rgba(0, 0, 0, .25) !important;
  173. background: #fff !important;
  174. }
  175. }
  176. }