Lucid / lucid2-react /src /App.css
Dev-Ryuzakii
Update API base URL and fix addCamera method
fa5a08c
Raw History Blame Contribute Delete
3.77 kB
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Header Styles */
.app-header {
background: rgba(15, 23, 42, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 255, 157, 0.2);
padding: 0 1.5rem;
height: 60px;
display: flex;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1800px;
margin: 0 auto;
}
.header-left {
display: flex;
align-items: center;
gap: 1rem;
}
.menu-toggle {
background: transparent;
border: none;
color: #00ff9d;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 4px;
transition: all 0.3s ease;
}
.menu-toggle:hover {
background: rgba(0, 255, 157, 0.1);
}
.app-title {
font-size: 1.8rem;
font-weight: 800;
background: linear-gradient(90deg, #00ff9d 0%, #00b8ff 50%, #00ff9d 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: 200% 200%;
animation: glow 3s ease-in-out infinite alternate;
letter-spacing: 2px;
text-transform: uppercase;
}
@keyframes glow {
from {
filter: drop-shadow(0 0 10px rgba(0, 255, 157, 0.5));
}
to {
filter: drop-shadow(0 0 20px rgba(0, 184, 255, 0.9));
}
}
.header-right {
display: flex;
align-items: center;
}
.system-status {
padding: 0.4rem 1rem;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.system-status.online {
background: rgba(0, 255, 157, 0.2);
color: #00ff9d;
border: 1px solid rgba(0, 255, 157, 0.4);
}
/* Main Container */
.app-container {
display: flex;
flex: 1;
max-width: 100%;
}
/* Sidebar Styles */
.sidebar {
background: rgba(15, 23, 42, 0.9);
border-right: 1px solid rgba(0, 255, 157, 0.1);
width: 250px;
transition: all 0.3s ease;
height: calc(100vh - 60px);
position: sticky;
top: 60px;
overflow-y: auto;
}
.sidebar.closed {
width: 70px;
}
.nav-menu ul {
list-style: none;
padding: 1rem 0;
}
.nav-link {
display: flex;
align-items: center;
padding: 1rem 1.5rem;
color: #A1B5D8;
text-decoration: none;
transition: all 0.3s ease;
gap: 1rem;
}
.nav-link:hover {
background: rgba(0, 255, 157, 0.1);
color: #00ff9d;
}
.nav-link.active {
background: rgba(0, 255, 157, 0.2);
color: #00ff9d;
border-left: 4px solid #00ff9d;
}
.nav-icon {
font-size: 1.2rem;
min-width: 24px;
text-align: center;
}
.sidebar.closed .nav-text {
display: none;
}
.sidebar.closed .nav-link {
justify-content: center;
padding: 1rem;
}
/* Main Content */
.main-content {
flex: 1;
padding: 1.5rem;
overflow-y: auto;
height: calc(100vh - 60px);
}
/* Card Styles */
.viz-card {
background: rgba(15, 23, 42, 0.8);
padding: 1.5rem;
border-radius: 16px;
border: 1px solid rgba(0, 255, 157, 0.2);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.4),
0 2px 8px rgba(0, 0, 0, 0.3),
inset 0 1px 0 rgba(0, 255, 157, 0.1);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
margin-bottom: 1.5rem;
}
.viz-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, #00ff9d, #00b8ff, #00ff9d, transparent);
border-radius: 16px 16px 0 0;
}
.viz-card h2 {
color: #00ff9d;
margin-bottom: 1.5rem;
font-size: 1.5rem;
font-weight: 600;
}
/* Responsive Design */
@media (max-width: 768px) {
.sidebar {
position: fixed;
left: -250px;
z-index: 1000;
}
.sidebar.open {
left: 0;
}
.main-content {
margin-left: 0;
}
.app-header {
padding: 0 1rem;
}
}