修改a- select默认样式
.ant-select-open:hover{
background-color: #000;
}
.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) {
background-color: #000;
}
.ant-select-dropdown-menu-item-active:hover{
background-color: #4DFFFF!important;
color:#000
}
.ant-select-arrow .ant-select-arrow-icon{
color:#fff;
}
.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
background-color: #000;
}
.ant-select-dropdown-menu-item-selected{
background-color: #000;
}
修改a-date-picker默认样式
// 修改默认datepicker样式
.ant-calendar-date:hover {
background: #4DFFFF;
color:#000!important;
}
.ant-calendar-range .ant-calendar-in-range-cell::before {
background: #4DFFFF;
color:#000
}
.ant-calendar-range .ant-calendar-in-range-cell::before {
background: #4DFFFF;
color: #000;
}
.ant-calendar-in-range-cell .ant-calendar-date{
color:#000;
}
//当天日期的样式
.ant-calendar-today .ant-calendar-date {
color: #919191;
font-weight: bold;
border-color: #ffffff;
}
//选择时间区段,的两端的日期
.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date,
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date {
color: #000;
background: #4DFFFF;
border: 1px solid transparent;
}
//修改清空按钮样式
.ant-calendar-picker-clear:hover {
color: rgb(255 255 255);
}
.ant-calendar-picker-clear {
color: rgba(255, 255, 255, 0.45);
}
.ant-calendar-picker-icon {
color: #fff;
}