/* style.css - extracted from index.php */ #time-container { position: absolute; top: 10px; left: 10px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; } .date-holiday-row { display: flex; flex-direction: row; gap: 10px; align-items: center; } #digital-clock { color: #fff; font-size: 2.5rem; font-family: 'Segoe UI', monospace; letter-spacing: 2px; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); } #digital-date { color: #fff; font-size: 1.3rem; font-family: 'Segoe UI', monospace; letter-spacing: 1px; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); } #holiday-info { color: #ff4d4d; font-size: 1rem; font-weight: bold; font-family: 'Segoe UI', sans-serif; letter-spacing: 1px; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); } .desktop-title { display: block; } .mobile-title { display: none; } body { font-family: 'Segoe UI', sans-serif; background: #121212; color: #f1f1f1; margin: 0; padding: 20px; position: relative; } h1 { text-align: center; color: #ffffff; margin-bottom: 5px; } .refresh-info { text-align: center; color: #888; font-size: 12px; margin-bottom: 15px; } .refresh-button { position: absolute; top: 20px; right: 20px; background: #2c3e50; color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.2s; } .refresh-button:hover { background: #34495e; } .refresh-button:active { transform: scale(0.95); } .dashboard { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; } .box { box-sizing: border-box; background: #1e1e1e; padding: 20px; border-radius: 12px; flex: 1 1 160px; max-width: 260px; height: 160px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); transition: 0.3s ease; } .box:hover { transform: scale(1.05); } .box h2 { font-size: clamp(16px, 2vw + 6px, 24px); margin-bottom: 5px; color: #ccc; white-space: nowrap; } .box span { font-size: clamp(36px, 5vw, 68px); font-weight: bold; } .up { border-top: 4px solid #28a745; color: #28a745; } .down { border-top: 4px solid #dc3545; color: #dc3545; } .alert-box { border-top: 4px solid #fd7e14; color: #fd7e14; } .task-box { border-top: 4px solid #ffc107; color: #ffc107; } .maintenance { border-top: 4px solid #17a2b8; color: #17a2b8; } .all-good { text-align: center; margin-top: 30px; color: #28a745; font-size: 18px; font-weight: bold; background: #1e1e1e; border: 2px solid #28a745; border-radius: 8px; padding: 10px; max-width: 500px; margin-left: auto; margin-right: auto; } .main-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1600px; margin: 50px auto 20px; align-items: start; } .unified-lists-container { background: #1e1e1e; border-radius: 10px; padding: 30px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); max-height: 80vh; overflow-y: auto; } .unified-lists-container h3 { margin-top: 10px; margin-bottom: 5px; border-bottom: 1px solid #333; padding-bottom: 5px; font-size: 1.1em; } .unified-lists-container h3:first-child { margin-top: 0; } .filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 15px; } .filter-btn { background: #2c3e50; color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.9em; transition: background 0.3s; } .filter-btn:hover { background: #34495e; } .filter-btn.active { background: #4CAF50; } .hidden-by-filter { display: none !important; } .unified-lists-container ul { list-style: none; padding-left: 0; margin-top: 0; margin-bottom: 10px; } .unified-lists-container li { border-bottom: 1px solid #333; padding: 6px 0; font-size: 0.95em; } .unified-lists-container .alert-message { color: #aaa; margin-bottom: 10px; } /* Task Container Styles */ .task-container { background: #1e1e1e; border-radius: 10px; padding: 30px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); max-height: 80vh; overflow-y: auto; } .task-container h3 { margin-top: 0; margin-bottom: 8px; border-bottom: 1px solid #333; padding-bottom: 5px; color: #4CAF50; font-size: 1.1em; } .task-item { background: #2a2a2a; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; border-left: 4px solid #555; /* Default border */ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .task-item-pending { border-left-color: #ffc107; } .task-item-in-progress { border-left-color: #17A2B8; } .task-item-done, .task-item-completed { border-left-color: #28a745; } .task-item-overdue { border-left-color: #dc3545; } .task-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; } .task-item h4 { margin: 0; color: #fff; font-size: 1em; flex: 1; padding-right: 10px; } .task-status { font-size: 0.75em; padding: 2px 6px; border-radius: 4px; background: #333; white-space: nowrap; border: 1px solid #555; font-weight: bold; } .badge-pending { color: #ffc107; border-color: #ffc107; } .badge-in-progress { color: #17A2B8; border-color: #17A2B8; } .badge-done, .badge-completed { color: #28a745; border-color: #28a745; } .badge-overdue { color: #dc3545; border-color: #dc3545; } .task-body { display: flex; flex-direction: column; gap: 3px; } .task-detail { font-size: 0.85em; color: #bbb; margin-bottom: 0; } .task-detail strong { color: #ddd; margin-right: 2px; } .loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 1024px) { .main-content-grid { grid-template-columns: 1fr; } } .pagination-controls { display: flex; justify-content: center; align-items: center; margin-top: 15px; gap: 15px; } .pagination-controls button { background: #34495e; color: #fff; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 0.9em; transition: background 0.2s; } .pagination-controls button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination-controls button:hover:not(:disabled) { background: #4CAF50; } .pagination-controls .pag-info { color: #ccc; font-size: 0.9em; font-family: 'Segoe UI', sans-serif; } @media (max-width: 768px) { .desktop-title { display: none; } .mobile-title { display: block; } #digital-clock, #digital-date, #holiday-info { display: none !important; } } @media (max-width: 600px) { .box { flex: 1 1 100%; max-width: 100%; height: auto; padding: 10px; } .total-box span { font-size: 32px; } .box span { font-size: 24px; } .refresh-button { top: 10px; right: 10px; width: 30px; height: 30px; font-size: 14px; } } #status-popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.7); background: rgba(30, 30, 30, 0.97); color: #fff; padding: 40px 60px; border-radius: 20px; box-shadow: 0 0 40px 10px #000a; z-index: 9999; font-size: 2rem; font-weight: bold; text-align: center; opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: auto; /* Re-enabled so user can scroll */ width: 90vw; max-width: 700px; } .popup-list-container { max-height: 35vh; overflow-y: auto; margin: 15px 0; background: rgba(0, 0, 0, 0.2); border-radius: 12px; padding: 15px; border: 1px solid rgba(255, 255, 255, 0.1); } .popup-list { font-size: 0.55em; /* Drops text slightly relative to 2rem parent */ text-align: left; margin: 0; padding-left: 20px; list-style-type: square; font-weight: normal; } .popup-list li { margin-bottom: 8px; word-break: break-word; /* Prevent text overflow */ border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Soft divider */ padding-bottom: 6px; line-height: 1.4; } .popup-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } #status-popup.show { display: block; opacity: 1; transform: translate(-50%, -50%) scale(1.1); animation: popup-zoom 0.3s cubic-bezier(.68, -0.55, .27, 1.55) forwards, popup-hide 0.3s 4.7s forwards; } @keyframes popup-zoom { 0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0; } 80% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } } @keyframes popup-hide { to { opacity: 0; transform: translate(-50%, -50%) scale(0.7); } } #status-popup.down { border: 4px solid #dc3545; color: #dc3545; background: #1e1e1e; } #status-popup.up { border: 4px solid #28a745; color: #28a745; background: #1e1e1e; } /* Custom Thin Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: #1e1e1e; } ::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #666; } /* Firefox compatibility */ * { scrollbar-width: thin; scrollbar-color: #444 #1e1e1e; }