index.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. }
  60. .ant-calendar-selected-date .ant-calendar-date,
  61. .ant-calendar-selected-date.ant-calendar-today .ant-calendar-date {
  62. color: #1890ff;
  63. font-weight: 700;
  64. border-color: #1890ff;
  65. background: #fff;
  66. }
  67. .ant-calendar-disabled-cell.ant-calendar-today .ant-calendar-date:before {
  68. display: none;
  69. }
  70. }
  71. .ant-calendar-footer {
  72. display: none;
  73. }
  74. }
  75. }
  76. .g-date.hide-input {
  77. .ant-calendar-input-wrap {
  78. display: none;
  79. }
  80. }
  81. .g-date-block {
  82. height: 500px;
  83. .ant-calendar-picker {
  84. opacity: 0;
  85. }
  86. }
  87. .g-date-block.hide-input {
  88. height: 460px;
  89. }