定时任务列表页和详情页的状态复选框选中时改为显示红色背景

This commit is contained in:
jingrow 2025-11-01 22:24:39 +08:00
parent b7656d4f77
commit 957bcc30fd
2 changed files with 30 additions and 0 deletions

View File

@ -354,6 +354,21 @@ onMounted(() => {
padding: 8px 0;
}
/* 将checkbox选中状态已停止的背景改为红色 */
.status-display :deep(.n-checkbox--checked .n-checkbox-box) {
background-color: #ef4444 !important;
border-color: #ef4444 !important;
}
.status-display :deep(.n-checkbox--checked .n-checkbox-box:hover) {
background-color: #dc2626 !important;
border-color: #dc2626 !important;
}
.status-display :deep(.n-checkbox--checked .n-checkbox-box__border) {
border-color: #ef4444 !important;
}
.status-badge {
padding: 4px 8px;
border-radius: 6px;

View File

@ -477,6 +477,21 @@ onMounted(() => {
align-items: center;
}
/* 将checkbox选中状态已停止的背景改为红色 */
.col-status :deep(.n-checkbox--checked .n-checkbox-box) {
background-color: #ef4444 !important;
border-color: #ef4444 !important;
}
.col-status :deep(.n-checkbox--checked .n-checkbox-box:hover) {
background-color: #dc2626 !important;
border-color: #dc2626 !important;
}
.col-status :deep(.n-checkbox--checked .n-checkbox-box__border) {
border-color: #ef4444 !important;
}
.col-last-execution {
display: flex;
align-items: center;