如何更改 syncfusion React 调度程序组件的辅助颜色
How to change secondary colo rof syncfusion react scheduler component
我需要在选中项目时将粉色更改为另一种颜色,我该怎么做?
你可以使用下面提到的CSS来实现它,你也可以参考下面的示例。
示例:https://stackblitz.com/edit/react-schedule-change-selected-item-color?file=index.js
Index.css
.e-schedule .e-schedule-toolbar .e-active-view .e-tbar-btn-text,
.e-schedule .e-schedule-toolbar .e-active-view .e-icons,
.e-schedule .e-vertical-view .e-header-cells.e-current-day,
.e-schedule .e-vertical-view .e-clone-time-indicator,
.e-schedule .e-vertical-view .e-current-time {
color: blue;
}
.e-schedule .e-vertical-view .e-current-timeline {
border-top: 1px solid blue;
}
.e-schedule .e-vertical-view .e-previous-timeline {
border-top: 1px dotted blue;
}
.e-schedule .e-month-view .e-current-date .e-date-header,
.e-schedule .e-month-agenda-view .e-current-date .e-date-header {
background-color: blue;
}
.e-schedule .e-month-view .e-date-header-wrap table td.e-current-day,
.e-schedule .e-month-agenda-view .e-date-header-wrap table td.e-current-day {
color: blue;
}
此致,
普拉文库马尔。
我需要在选中项目时将粉色更改为另一种颜色,我该怎么做?
你可以使用下面提到的CSS来实现它,你也可以参考下面的示例。 示例:https://stackblitz.com/edit/react-schedule-change-selected-item-color?file=index.js
Index.css
.e-schedule .e-schedule-toolbar .e-active-view .e-tbar-btn-text,
.e-schedule .e-schedule-toolbar .e-active-view .e-icons,
.e-schedule .e-vertical-view .e-header-cells.e-current-day,
.e-schedule .e-vertical-view .e-clone-time-indicator,
.e-schedule .e-vertical-view .e-current-time {
color: blue;
}
.e-schedule .e-vertical-view .e-current-timeline {
border-top: 1px solid blue;
}
.e-schedule .e-vertical-view .e-previous-timeline {
border-top: 1px dotted blue;
}
.e-schedule .e-month-view .e-current-date .e-date-header,
.e-schedule .e-month-agenda-view .e-current-date .e-date-header {
background-color: blue;
}
.e-schedule .e-month-view .e-date-header-wrap table td.e-current-day,
.e-schedule .e-month-agenda-view .e-date-header-wrap table td.e-current-day {
color: blue;
}
此致,
普拉文库马尔。