- Remove KissTheme dependency, use direct RPC calls - Dark theme colors (#12121a, #1a1a24, #00d4aa, #00a0ff) - Update common.css with matching dark styles - Simplified DOM rendering with inline styles Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
177 lines
2.8 KiB
CSS
177 lines
2.8 KiB
CSS
/* SecuBox Device Intelligence — Dark Theme Styles */
|
|
|
|
.di-stats {
|
|
display: flex;
|
|
gap: 1em;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.di-stat-card {
|
|
flex: 1;
|
|
min-width: 140px;
|
|
padding: 1em;
|
|
border-radius: 8px;
|
|
background: #12121a;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
text-align: center;
|
|
}
|
|
|
|
.di-stat-card .value {
|
|
font-size: 2em;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
color: #00d4aa;
|
|
}
|
|
|
|
.di-stat-card .label {
|
|
font-size: 0.85em;
|
|
color: #808090;
|
|
margin-top: 0.25em;
|
|
}
|
|
|
|
.di-type-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 0.75em;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.di-type-card {
|
|
padding: 0.75em 1em;
|
|
border-radius: 6px;
|
|
border-left: 4px solid #00d4aa;
|
|
background: #1a1a24;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
.di-type-card .count {
|
|
font-size: 1.5em;
|
|
font-weight: 700;
|
|
color: #00d4aa;
|
|
}
|
|
|
|
.di-type-card .name {
|
|
font-size: 0.85em;
|
|
color: #808090;
|
|
}
|
|
|
|
.di-source-bar {
|
|
display: flex;
|
|
gap: 0.5em;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.di-source-chip {
|
|
padding: 0.25em 0.75em;
|
|
border-radius: 12px;
|
|
font-size: 0.8em;
|
|
background: #1a1a24;
|
|
color: #808090;
|
|
}
|
|
|
|
.di-source-chip.active {
|
|
background: rgba(0,212,170,0.2);
|
|
color: #00d4aa;
|
|
}
|
|
|
|
.di-source-chip.inactive {
|
|
background: rgba(255,77,77,0.2);
|
|
color: #ff4d4d;
|
|
}
|
|
|
|
.di-device-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.di-device-table th {
|
|
text-align: left;
|
|
padding: 0.5em 0.75em;
|
|
border-bottom: 1px solid #2a2a3a;
|
|
font-size: 0.85em;
|
|
color: #808090;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.di-device-table td {
|
|
padding: 0.5em 0.75em;
|
|
border-bottom: 1px solid #1a1a24;
|
|
font-size: 0.9em;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.di-device-table tr:hover {
|
|
background: rgba(255,255,255,0.02);
|
|
}
|
|
|
|
.di-online-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.di-online-dot.online { background: #00d4aa; box-shadow: 0 0 6px #00d4aa; }
|
|
.di-online-dot.offline { background: #ff4d4d; }
|
|
|
|
.di-emu-card {
|
|
padding: 1em;
|
|
border-radius: 8px;
|
|
background: #12121a;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.di-emu-card h4 {
|
|
margin: 0 0 0.5em 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5em;
|
|
color: #fff;
|
|
}
|
|
|
|
.di-emu-card .status {
|
|
font-size: 0.85em;
|
|
padding: 0.15em 0.5em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.di-emu-card .status.enabled {
|
|
background: rgba(0,212,170,0.2);
|
|
color: #00d4aa;
|
|
}
|
|
|
|
.di-emu-card .status.disabled {
|
|
background: rgba(128,128,144,0.2);
|
|
color: #808090;
|
|
}
|
|
|
|
.di-filter-bar {
|
|
display: flex;
|
|
gap: 0.5em;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1em;
|
|
align-items: center;
|
|
}
|
|
|
|
.di-filter-bar input,
|
|
.di-filter-bar select {
|
|
padding: 0.4em 0.6em;
|
|
border: 1px solid #2a2a3a;
|
|
border-radius: 4px;
|
|
font-size: 0.9em;
|
|
background: #1a1a24;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.di-filter-bar input:focus,
|
|
.di-filter-bar select:focus {
|
|
outline: none;
|
|
border-color: #00a0ff;
|
|
}
|