index.acss 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .calendar-index {
  2. display: block;
  3. height: initial;
  4. }
  5. @import "../common/index.acss";
  6. .calendar-index .van-calendar {
  7. display: -webkit-flex;
  8. display: flex;
  9. -webkit-flex-direction: column;
  10. flex-direction: column;
  11. height: 100%;
  12. height: var(--calendar-height, 100%);
  13. background-color: #fff;
  14. background-color: var(--calendar-background-color, #fff);
  15. }
  16. .calendar-index .van-calendar__close-icon {
  17. top: 11px;
  18. }
  19. .calendar-index .van-calendar__popup--bottom,
  20. .calendar-index .van-calendar__popup--top {
  21. height: 80%;
  22. height: var(--calendar-popup-height, 80%);
  23. }
  24. .calendar-index .van-calendar__popup--left,
  25. .calendar-index .van-calendar__popup--right {
  26. height: 100%;
  27. }
  28. .calendar-index .van-calendar__body {
  29. -webkit-flex: 1;
  30. flex: 1;
  31. overflow: auto;
  32. -webkit-overflow-scrolling: touch;
  33. }
  34. .calendar-index .van-calendar__footer {
  35. -webkit-flex-shrink: 0;
  36. flex-shrink: 0;
  37. padding: 0 16px;
  38. padding: 0 var(--padding-md, 16px);
  39. }
  40. .calendar-index .van-calendar__footer--safe-area-inset-bottom {
  41. padding-bottom: env(safe-area-inset-bottom);
  42. }
  43. .calendar-index .van-calendar__footer + .van-calendar__footer,
  44. .calendar-index .van-calendar__footer:empty {
  45. display: none;
  46. }
  47. .calendar-index .van-calendar__footer:empty + .van-calendar__footer {
  48. display: block !important;
  49. }
  50. .calendar-index .van-calendar__confirm {
  51. height: 36px !important;
  52. height: var(--calendar-confirm-button-height, 36px) !important;
  53. margin: 7px 0 !important;
  54. margin: var(--calendar-confirm-button-margin, 7px 0) !important;
  55. line-height: 34px !important;
  56. line-height: var(--calendar-confirm-button-line-height, 34px) !important;
  57. }