index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. table {
  26. th {
  27. height: 64px;
  28. background: #F5F6F7;
  29. }
  30. td {
  31. height: 50px;
  32. }
  33. }
  34. .ant-calendar-date {
  35. width: 35px;
  36. height: 35px;
  37. line-height: 33px;
  38. border-radius: 50%;
  39. position: relative;
  40. .s1 {
  41. width: 6px;
  42. height: 6px;
  43. border-radius: 50%;
  44. position: absolute;
  45. right: 0;
  46. top: 10px;
  47. }
  48. .s2 {
  49. width: 6px;
  50. height: 6px;
  51. border-radius: 50%;
  52. position: absolute;
  53. right: 0;
  54. top: 18px;
  55. }
  56. }
  57. .ant-calendar-today .ant-calendar-date {
  58. border-color: #fff;
  59. color: rgba(0, 0, 0, .65);
  60. font-weight: 400;
  61. }
  62. .ant-calendar-selected-date .ant-calendar-date,
  63. .ant-calendar-selected-day .ant-calendar-date,
  64. .ant-calendar-selected-date.ant-calendar-today .ant-calendar-date {
  65. color: #1890ff;
  66. font-weight: 700;
  67. border-color: #1890ff;
  68. background: #fff;
  69. }
  70. .ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
  71. display: none;
  72. }
  73. }
  74. .ant-calendar-footer {
  75. display: none;
  76. }
  77. }
  78. }
  79. .g-date.filled {
  80. .ant-calendar {
  81. .ant-calendar-body {
  82. .ant-calendar-selected-date .ant-calendar-date,
  83. .ant-calendar-selected-day .ant-calendar-date,
  84. .ant-calendar-selected-date.ant-calendar-today .ant-calendar-date {
  85. color: #fff;
  86. background: #4299FF;
  87. }
  88. }
  89. }
  90. }
  91. .g-date.hide-input {
  92. .ant-calendar-input-wrap {
  93. display: none;
  94. }
  95. }
  96. .g-date-block {
  97. height: 500px;
  98. .ant-calendar-picker {
  99. opacity: 0;
  100. }
  101. }
  102. .g-date-block.hide-input {
  103. height: 460px;
  104. }