/* * CSS for WorkorderMph Table Row Highlighting */ /* Urgent: Deadline passed or less than 1 week away */ .table-hover .tt-mph-workorder-urgent:hover, .tt-mph-workorder-urgent { background-color: #fbe9e7 !important; /* Soft Red */ } /* Medium: Deadline less than 3 weeks away */ .table-hover .tt-mph-workorder-medium:hover, .tt-mph-workorder-medium { background-color: #fff8e1 !important; /* Soft Yellow */ } /* On Track: Deadline more than 3 weeks away */ .table-hover .tt-mph-workorder-ontrack:hover, .tt-mph-workorder-ontrack { background-color: #e8f5e9 !important; /* Soft Green */ } /* Irrelevant: No deadline or status makes it not applicable */ .table-hover .tt-mph-workorder-irrelevant:hover, .tt-mph-workorder-irrelevant { background-color: #fafafa !important; /* Very light grey */ } .table-hover .tt-mph-workorder-high:hover, .tt-mph-workorder-high { background-color: #f8d7da !important; /* A slightly more intense red for high priority issues */ } /* * Wohneinheit Manager - Dense Table Layout */ .wohneinheit-manager .we-table { display: table; width: 100%; border-collapse: collapse; } .wohneinheit-manager .we-row { display: table-row; border-bottom: 1px solid #e9ecef; transition: background-color 0.15s ease; } .wohneinheit-manager .we-row:hover { background-color: #f8f9fa; } .wohneinheit-manager .we-cell { display: table-cell; padding: 8px 12px; vertical-align: middle; } .wohneinheit-manager .we-bezeichner { width: 20%; font-size: 0.9rem; } .wohneinheit-manager .we-status { width: 18%; } .wohneinheit-manager .we-splice { width: 12%; padding: 4px 8px; } .wohneinheit-manager .we-note { width: 35%; } .wohneinheit-manager .we-actions { width: 15%; text-align: right; } .wohneinheit-manager .we-splice .custom-checkbox-item { padding: 4px; justify-content: center; flex-direction: column; height: auto; text-align: center; } .wohneinheit-manager .we-splice .custom-checkbox-item .checkmark { margin-right: 0; margin-bottom: 2px; width: 18px; height: 18px; } .wohneinheit-manager .we-splice .custom-checkbox-item .checkbox-label { font-size: 0.7rem; line-height: 1; } .contact-info { font-size: 0.85rem; margin-top: 4px; padding-left: 4px; border-left: 2px solid #007bff; } .workorder-mph-button { padding: 2px !important; } /* * Custom Checkboxes - Compact & Beautiful */ .custom-checkboxes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px 16px; } .custom-checkbox-item { display: flex; align-items: center; padding: 8px 12px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 6px; cursor: pointer; transition: all 0.2s ease; margin: 0; user-select: none; } .custom-checkbox-item:hover:not(.disabled) { background: #e9ecef; border-color: #007bff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .custom-checkbox-item.disabled { opacity: 0.6; cursor: not-allowed; } .custom-checkbox-item input[type="checkbox"] { position: absolute; opacity: 0; cursor: pointer; } .custom-checkbox-item .checkmark { position: relative; height: 20px; width: 20px; background-color: #fff; border: 2px solid #adb5bd; border-radius: 4px; margin-right: 10px; flex-shrink: 0; transition: all 0.2s ease; } .custom-checkbox-item input[type="checkbox"]:checked ~ .checkmark { background-color: #28a745; border-color: #28a745; } .custom-checkbox-item .checkmark:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } .custom-checkbox-item input[type="checkbox"]:checked ~ .checkmark:after { display: block; } .custom-checkbox-item .checkbox-label { font-size: 0.9rem; font-weight: 500; color: #495057; } .custom-checkbox-item input[type="checkbox"]:checked ~ .checkbox-label { color: #28a745; } /* * Required Documents Checklist */ .required-docs-checklist { background: #f8f9fa; border-radius: 6px; padding: 8px; } .doc-check-item { display: flex; align-items: center; padding: 6px 10px; margin-bottom: 4px; background: white; border-radius: 4px; font-size: 0.9rem; gap: 10px; } .doc-check-item:last-child { margin-bottom: 0; } .doc-check-item i:first-child { width: 20px; text-align: center; } .doc-check-item span { flex: 1; font-weight: 500; } .doc-check-item .ml-auto { margin-left: auto; }