Files
pipely/web/src/components/Layout.css
T
siujamo e070a3fb5f feat: initial open-source release of Pipely
OTA update server designed for high-concurrency, low-bandwidth deployments.
GORM-backed PostgreSQL, JWT auth, device management, artefact versioning,
deployment rollout with gated rate-limited downloads, and a React admin panel.
2026-07-07 10:29:28 +08:00

80 lines
1.1 KiB
CSS

.app-layout {
display: flex;
min-height: 100vh;
}
.sidebar {
width: 220px;
background: #1a1a2e;
color: #e0e0e0;
display: flex;
flex-direction: column;
padding: 0;
flex-shrink: 0;
}
.sidebar-brand {
padding: 20px 16px;
border-bottom: 1px solid #16213e;
}
.sidebar-brand h2 {
margin: 0;
font-size: 16px;
color: #e94560;
letter-spacing: 1px;
}
.sidebar nav {
flex: 1;
padding: 12px 0;
}
.nav-link {
display: block;
padding: 10px 20px;
color: #a0a0b8;
text-decoration: none;
font-size: 14px;
transition: background 0.15s, color 0.15s;
}
.nav-link:hover {
background: #16213e;
color: #fff;
}
.nav-link.active {
background: #e94560;
color: #fff;
}
.sidebar-footer {
padding: 16px;
border-top: 1px solid #16213e;
}
.btn-logout {
width: 100%;
padding: 8px;
background: transparent;
border: 1px solid #e94560;
color: #e94560;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
transition: background 0.15s, color 0.15s;
}
.btn-logout:hover {
background: #e94560;
color: #fff;
}
.content {
flex: 1;
padding: 24px 32px;
background: #f5f5f7;
overflow-y: auto;
}