index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. }