style.css•1.5 kB
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
background: #1a1a1a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
display: flex;
flex-direction: column;
}
.status-bar {
height: 32px;
padding: 8px 16px;
background: rgba(0, 0, 0, 0.9);
color: white;
font-size: 12px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
flex-shrink: 0;
}
.toolbar-buttons {
display: flex;
align-items: center;
gap: 8px;
}
.toolbar-btn {
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.7);
cursor: pointer;
font-size: 16px;
padding: 4px 8px;
transition:
color 0.2s,
transform 0.2s;
}
.toolbar-btn:hover {
color: white;
transform: scale(1.1);
}
.toolbar-btn.is-loading {
opacity: 0.6;
cursor: wait;
transform: none;
}
.status-indicator {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
background: #4caf50;
margin-right: 8px;
}
.status-indicator.disconnected {
background: #f44336;
}
.viewport {
flex: 1;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
}
.diagram-wrapper {
padding: 40px;
min-width: 100%;
}
svg {
display: block;
max-width: calc(100vw - 80px);
max-height: calc(100vh - 112px);
width: auto !important;
height: auto !important;
margin: 0 auto;
}