index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. .ant-calendar-input-wrap {
  94. display: none;
  95. }
  96. }
  97. .g-date-block {
  98. height: 500px;
  99. .ant-calendar-picker {
  100. opacity: 0;
  101. }
  102. }
  103. .g-date-block.hide-input {
  104. height: 460px;
  105. }
  106. .g-two-date {
  107. .g-two-head {
  108. >div {
  109. display: inline-block;
  110. width: 50%;
  111. height: 40px;
  112. line-height: 40px;
  113. color: #5E677BFF;
  114. position: relative;
  115. .i {
  116. color: #00000073;
  117. }
  118. }
  119. }
  120. .g-two-body {
  121. >div {
  122. display: inline-block;
  123. width: 50%;
  124. }
  125. >div:first-child {
  126. .ant-fullcalendar-calendar-body {
  127. border-right: 1px solid #d9d9d9;
  128. }
  129. }
  130. }
  131. .ant-fullcalendar table,
  132. .ant-fullcalendar td,
  133. .ant-fullcalendar th {
  134. height: 30px;
  135. }
  136. .ant-fullcalendar-header {
  137. display: none;
  138. }
  139. .ant-fullcalendar-selected-day .ant-fullcalendar-value {
  140. color: rgba(0, 0, 0, .65);
  141. background: #fff;
  142. }
  143. .ant-fullcalendar-today .ant-fullcalendar-value {
  144. box-shadow: none;
  145. border: 1px solid #4299FF;
  146. border-radius: 12px;
  147. }
  148. .ant-fullcalendar-today.ant-fullcalendar-last-month-btn-day,
  149. .ant-fullcalendar-today.ant-fullcalendar-next-month-btn-day {
  150. .ant-fullcalendar-value {
  151. border: none;
  152. }
  153. }
  154. .ant-fullcalendar-cell {
  155. .selected {
  156. .ant-fullcalendar-value {
  157. background: #4299FF;
  158. color: #fff;
  159. border-radius: 12px;
  160. }
  161. }
  162. }
  163. .ant-fullcalendar-value {
  164. width: 36px;
  165. }
  166. .ant-fullcalendar-last-month-cell,
  167. .ant-fullcalendar-next-month-cell,
  168. .ant-fullcalendar-last-month-btn-day,
  169. .ant-fullcalendar-next-month-btn-day {
  170. .ant-fullcalendar-value {
  171. color: rgba(0, 0, 0, .25) !important;
  172. background: #fff !important;
  173. }
  174. }
  175. }