/* Main Styles for SCADA vs DWG Manifest Comparison Tool */ /* General Styles */ body { font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; color: #333; background-color: #f8f9fa; padding-bottom: 60px; /* Space for footer */ } /* Container Styles */ .container { max-width: 1200px; } .container-fluid { padding-left: 2rem; padding-right: 2rem; } /* On extra large screens, add maximum width to prevent content from being too stretched */ @media (min-width: 2000px) { .container-fluid { max-width: 1800px; margin-left: auto; margin-right: auto; } } /* On small screens, reduce padding for more content space */ @media (max-width: 768px) { .container-fluid { padding-left: 1rem; padding-right: 1rem; } } /* Card Styles */ .card { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); border-radius: 0.5rem; border: none; margin-bottom: 1.5rem; } .card-header { border-radius: 0.5rem 0.5rem 0 0 !important; font-weight: 500; } .card-footer { background-color: #f8f9fa; border-top: 1px solid rgba(0, 0, 0, 0.125); border-radius: 0 0 0.5rem 0.5rem !important; } /* Table Styles */ .table-container { max-height: 500px; overflow-y: auto; border-radius: 0.25rem; } .table { margin-bottom: 0; } .table-fixed { table-layout: fixed; } .table-fixed td, .table-fixed th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .table-fixed td:hover { white-space: normal; word-wrap: break-word; } .table thead th { position: sticky; top: 0; background-color: #fff; z-index: 1; border-bottom: 2px solid #dee2e6; } /* Highlight Styles */ .missing-item { background-color: #ffebee !important; } .table tr.missing-item td { border-color: #ffcdd2; } .summary-box { border-radius: 0.5rem; padding: 1.25rem; margin-bottom: 1.25rem; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05); } .bg-light-primary { background-color: #e3f2fd; } /* Form Styles */ .form-control:focus { border-color: #80bdff; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .btn-primary { background-color: #007bff; border-color: #007bff; } .btn-primary:hover { background-color: #0069d9; border-color: #0062cc; } /* Navigation Styles */ .navbar { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); margin-bottom: 1.5rem; } .nav-tabs .nav-link { color: #495057; border: 1px solid transparent; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; font-weight: 500; } .nav-tabs .nav-link.active { color: #007bff; background-color: #fff; border-color: #dee2e6 #dee2e6 #fff; } .nav-tabs .nav-link:hover { border-color: #e9ecef #e9ecef #dee2e6; } /* Footer Styles */ .footer { position: fixed; bottom: 0; width: 100%; height: 50px; line-height: 50px; background-color: #f8f9fa; border-top: 1px solid #dee2e6; z-index: 100; } /* Responsive Adjustments */ @media (max-width: 767.98px) { .container { padding-left: 10px; padding-right: 10px; } .card-body { padding: 1rem; } .table-container { max-height: 400px; } .table td, .table th { padding: 0.5rem; } body { padding-bottom: 70px; } } /* Print Styles */ @media print { .no-print { display: none !important; } .table-container { max-height: none; overflow: visible; } .card { box-shadow: none; border: 1px solid #dee2e6; } .missing-item { background-color: #ffebee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } } /* General styles */ body { padding-bottom: 70px; /* Space for the footer */ } /* Table styles */ .table-responsive { overflow-x: auto; } .table th { position: sticky; top: 0; background-color: #f8f9fa; } /* Comparison highlighting */ .missing { background-color: #f8d7da; /* Bootstrap danger light */ color: #842029; } .extra { background-color: #d1e7dd; /* Bootstrap success light */ color: #0f5132; } .changed { background-color: #fff3cd; /* Bootstrap warning light */ color: #664d03; } /* Badge styles for counts */ .badge-count { font-size: 0.8em; vertical-align: middle; } /* Tab panel styling */ .tab-content { border-left: 1px solid #dee2e6; border-right: 1px solid #dee2e6; border-bottom: 1px solid #dee2e6; padding: 20px; } /* Responsive adjustments */ @media (max-width: 768px) { .card-header h4 { font-size: 1.2rem; } .table { font-size: 0.9rem; } }