diff --git a/src/assets/theme/defult.scss b/src/assets/theme/defult.scss index 6f1d2dba87996375fcffc3cd51228dc941505afc..b78321da9e73a2a9b9e0d93ecc4daa7d6f6eab69 100644 --- a/src/assets/theme/defult.scss +++ b/src/assets/theme/defult.scss @@ -172,4 +172,60 @@ $dark-color: #1A3142; color: $defult-color; } } -} \ No newline at end of file +} + +.ant-switch{ + &.ant-switch-checked{ + background-color: $defult-color; + } +} +.header-text{ + &:hover{ + color: $defult-color; + } +} + +.ant-calendar{ + .ant-calendar-date-panel{ + .ant-calendar-selected-day{ + .ant-calendar-date{ + background-color: $defult-color; + } + } + .ant-calendar-today{ + .ant-calendar-date{ + color: $defult-color; + border-color: $defult-color; + } + &.ant-calendar-selected-day{ + .ant-calendar-date{ + color: #fff; + border-color: $defult-color; + } + } + } + } + .ant-calendar-footer-btn{ + .ant-calendar-time-picker-btn{ + color: $defult-color; + &.ant-calendar-time-picker-btn-disabled{ + color: rgba(0, 0, 0, 0.25); + &:hover{ + cursor: not-allowed; + } + } + } + .ant-calendar-ok-btn{ + background-color: $defult-color; + border-color: $defult-color; + &.ant-calendar-ok-btn-disabled{ + color: rgba(0, 0, 0, 0.25); + background-color: #f5f5f5; + border-color: #d9d9d9; + &:hover{ + cursor: not-allowed; + } + } + } + } +}