table background color dependend of status
This commit is contained in:
@@ -1497,6 +1497,10 @@ def get_dashboard_html() -> str:
|
||||
th.sortable.asc .sort-icon, th.sortable.desc .sort-icon { opacity: 1; color: var(--accent); }
|
||||
td { border-top: 1px solid var(--border); font-size: 14px; }
|
||||
tr:hover td { background: rgba(255,255,255,0.02); }
|
||||
#tableLink11 tbody tr td { background: rgba(0, 210, 106, 0.08); }
|
||||
#tableLink11 tbody tr:hover td { background: rgba(0, 210, 106, 0.15); }
|
||||
#tableDirect tbody tr td { background: rgba(255, 71, 87, 0.08); }
|
||||
#tableDirect tbody tr:hover td { background: rgba(255, 71, 87, 0.15); }
|
||||
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
|
||||
.status-online { background: rgba(0,210,106,0.15); color: var(--success); }
|
||||
.status-offline { background: rgba(255,71,87,0.15); color: var(--danger); }
|
||||
|
||||
Reference in New Issue
Block a user