33 lines
1.0 KiB
CSS
33 lines
1.0 KiB
CSS
/*
|
|
* CSS for Workorder Table Row Highlighting (Balanced Colors)
|
|
*/
|
|
|
|
/* 🔴 Urgent: Deadline passed or less than 1 week away */
|
|
.table-hover .tt-rml-workorder-urgent:hover,
|
|
.tt-rml-workorder-urgent {
|
|
background-color: #f8d7da !important; /* Balanced Red */
|
|
}
|
|
|
|
/* 🟠 High Priority: Deadline less than 2 weeks away */
|
|
.table-hover .tt-rml-workorder-high:hover,
|
|
.tt-rml-workorder-high {
|
|
background-color: #ffd5a1 !important; /* Balanced Orange */
|
|
}
|
|
|
|
/* 🟡 Medium: Deadline less than 3 weeks away */
|
|
.table-hover .tt-rml-workorder-medium:hover,
|
|
.tt-rml-workorder-medium {
|
|
background-color: #fff3cd !important; /* Balanced Yellow */
|
|
}
|
|
|
|
/* 🟢 On Track: Deadline more than 3 weeks away */
|
|
.table-hover .tt-rml-workorder-ontrack:hover,
|
|
.tt-rml-workorder-ontrack {
|
|
background-color: #d4edda !important; /* Balanced Green */
|
|
}
|
|
|
|
/* ⚫ Irrelevant: No deadline or status makes it not applicable */
|
|
.table-hover .tt-rml-workorder-irrelevant:hover,
|
|
.tt-rml-workorder-irrelevant {
|
|
background-color: #e9ecef !important; /* Balanced Grey */
|
|
} |