index.less 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .cip-calendar {
  2. max-width: 1096px;
  3. .current-month, .other-month, .current-month-week {
  4. width: 100%;
  5. height: 100%;
  6. box-sizing: border-box;
  7. padding: 12px;
  8. display: flex;
  9. flex-direction: column;
  10. justify-content: space-between;
  11. .day-title {
  12. flex-shrink: 0;
  13. height: 20px;
  14. font-size: 14px;
  15. font-weight: 500;
  16. text-align: left;
  17. line-height: 20px;
  18. overflow: hidden;
  19. display: flex;
  20. justify-content: space-between;
  21. }
  22. .day-detail {
  23. overflow: hidden;
  24. }
  25. }
  26. .actived, .actived-sat, .actived-sun {
  27. position: absolute;
  28. z-index: 1;
  29. height: 126px;
  30. border: 2px solid var(--el-color-primary);
  31. box-shadow: 0px 6px 12px 0px rgba(0,0,0,0.10);
  32. }
  33. .actived {
  34. left: 50%;
  35. transform: translateX(-50%);
  36. width: 233px;
  37. }
  38. .actived-sat {
  39. right: 0;
  40. width: 191px;
  41. }
  42. .actived-sun {
  43. left: 0;
  44. width: 191px;
  45. }
  46. .current-month {
  47. color: #333333;
  48. background-color: #EBF4FF;
  49. }
  50. .current-month-week {
  51. color: #333333;
  52. background-color: #FFEEF0;
  53. }
  54. .other-month {
  55. color: var(--el-text-color-disabled);
  56. }
  57. .calendar__header--right {
  58. display: flex;
  59. align-items: center;
  60. .year-select, .month-select{
  61. width: 100px;
  62. }
  63. .month-select {
  64. margin-left: 12px;
  65. }
  66. }
  67. }