index.less 1.8 KB

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