body {
margin: 0;
background-color: #1a1a1a;
color: #e5e7eb;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
overflow: hidden;
}
#graph-container {
width: 100vw;
height: 100vh;
position: relative;
}
#performance-monitor {
position: absolute;
top: 10px;
right: 10px;
background: rgba(0,0,0,0.7);
padding: 8px 12px;
border-radius: 4px;
font-size: 12px;
z-index: 1000;
}
#performance-monitor span {
margin-right: 15px;
}
#sidebar {
position: absolute;
left: 0;
top: 0;
width: 300px;
height: 100vh;
background: #2d2d2d;
padding: 20px;
box-shadow: 2px 0 10px rgba(0,0,0,0.5);
z-index: 100;
overflow-y: auto;
}
.controls-panel h3 {
margin-top: 0;
color: #e5e7eb;
border-bottom: 1px solid #444;
padding-bottom: 10px;
}
.control-group {
margin-bottom: 20px;
}
.control-group label {
display: block;
margin-bottom: 5px;
font-size: 14px;
color: #aaa;
}
input[type="range"],
input[type="text"],
select {
width: 100%;
padding: 8px;
background: #3a3a3a;
border: 1px solid #555;
color: white;
border-radius: 4px;
}
input[type="range"] {
padding: 0;
}
button {
width: 100%;
padding: 10px;
background: #3b82f6;
border: none;
color: white;
cursor: pointer;
border-radius: 4px;
font-size: 14px;
margin-top: 10px;
}
button:hover {
background: #2563eb;
}
.node {
cursor: pointer;
transition: stroke-width 0.2s;
}
.node:hover {
stroke-width: 3px !important;
}
.link {
fill: none;
}
.hidden {
display: none;
}
#details-panel {
margin-top: 20px;
padding: 15px;
background: #3a3a3a;
border-radius: 8px;
}
#details-panel h3 {
margin-top: 0;
color: #3b82f6;
}
#details-panel p {
margin: 8px 0;
font-size: 14px;
}
#connection-status {
margin-top: 20px;
padding: 8px;
text-align: center;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
}
.status-connected {
background: #10b981;
color: white;
}
.status-disconnected {
background: #ef4444;
color: white;
}
#toast-container {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 2000;
}
.toast {
background: rgba(0,0,0,0.9);
color: white;
padding: 12px 20px;
margin-top: 10px;
border-radius: 4px;
box-shadow: 0 4px 6px rgba(0,0,0,0.3);
animation: slideIn 0.3s ease-out;
}
.toast-info {
border-left: 4px solid #3b82f6;
}
.toast-warning {
border-left: 4px solid #f59e0b;
}
.toast-error {
border-left: 4px solid #ef4444;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* Timeline Styles */
.timeline-controls {
background: #2d2d2d;
padding: 15px;
margin-bottom: 10px;
border-radius: 4px;
}
#timeline-container {
width: 100%;
height: calc(100vh - 150px);
}
.axis path,
.axis line {
stroke: #444;
}
.axis text {
fill: #aaa;
}
/* Dashboard Styles */
h1 {
color: #e5e7eb;
padding: 20px;
margin: 0;
}
.dashboard-grid {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 20px;
padding: 20px;
}
.metric-cards {
display: flex;
flex-direction: column;
gap: 15px;
}
.stat-card {
background: #2a2a2a;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #3b82f6;
}
.stat-card h3 {
margin: 0 0 10px 0;
color: #aaa;
font-size: 14px;
font-weight: normal;
}
.stat-value {
font-size: 32px;
font-weight: bold;
color: #e5e7eb;
margin: 0;
}
.charts {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
canvas {
background: #2a2a2a;
border-radius: 8px;
padding: 15px;
}
/* Gaps Styles */
.gap-item {
display: inline-block;
width: 150px;
height: 100px;
margin: 10px;
border-radius: 8px;
cursor: pointer;
padding: 15px;
text-align: center;
transition: transform 0.2s;
}
.gap-item:hover {
transform: scale(1.05);
}
.gap-info {
font-size: 12px;
color: white;
}
.severity {
font-weight: bold;
display: block;
margin-bottom: 10px;
font-size: 14px;
}
.nodes {
display: block;
font-size: 11px;
}
#gap-details {
margin-top: 20px;
padding: 20px;
background: #2a2a2a;
border-radius: 8px;
}
#heatmap-container {
padding: 20px;
}
#heatmap-container h2 {
color: #e5e7eb;
margin-top: 0;
}