Files
AI--trainer/public/css/style.css

188 lines
4.8 KiB
CSS

/* Cyberpunk Design System & Styling Rules */
/* Cyber Card Glassmorphism */
.cyber-card {
background: rgba(13, 18, 30, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
transition: all 0.3s ease;
}
.cyber-card:hover {
border-color: rgba(0, 240, 255, 0.25);
box-shadow: 0 15px 35px -10px rgba(0, 240, 255, 0.15);
}
/* Neon Buttons */
.btn-neon {
padding: 0.5rem 1rem;
border-radius: 0.75rem;
font-size: 0.75rem;
font-weight: 800;
font-family: 'Fira Code', monospace;
letter-spacing: 0.05em;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
display: inline-flex;
items-center: center;
gap: 0.5rem;
cursor: pointer;
border: 1px solid transparent;
user-select: none;
}
.btn-emerald {
background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(0, 200, 120, 0.1));
border-color: rgba(0, 255, 157, 0.4);
color: #00FF9D;
box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
}
.btn-emerald:hover:not(:disabled) {
background: rgba(0, 255, 157, 0.3);
box-shadow: 0 0 25px rgba(0, 255, 157, 0.5);
transform: translateY(-1px);
}
.btn-rose {
background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(200, 40, 80, 0.1));
border-color: rgba(255, 51, 102, 0.4);
color: #FF3366;
box-shadow: 0 0 15px rgba(255, 51, 102, 0.15);
}
.btn-rose:hover:not(:disabled) {
background: rgba(255, 51, 102, 0.3);
box-shadow: 0 0 25px rgba(255, 51, 102, 0.5);
transform: translateY(-1px);
}
.btn-ghost {
background: rgba(30, 41, 59, 0.7);
border-color: rgba(255, 255, 255, 0.1);
color: #94A3B8;
}
.btn-ghost:hover:not(:disabled) {
background: rgba(51, 65, 85, 0.9);
color: #FFFFFF;
border-color: rgba(0, 240, 255, 0.3);
}
.btn-purple {
background: linear-gradient(135deg, rgba(138, 43, 226, 0.25), rgba(100, 30, 180, 0.15));
border-color: rgba(138, 43, 226, 0.5);
color: #C084FC;
box-shadow: 0 0 15px rgba(138, 43, 226, 0.15);
}
.btn-purple:hover:not(:disabled) {
background: rgba(138, 43, 226, 0.35);
box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
transform: translateY(-1px);
}
.btn-neon:disabled {
opacity: 0.4;
cursor: not-allowed;
transform: none !important;
box-shadow: none !important;
}
/* Status Badges */
.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.6875rem;
font-weight: 800;
font-family: 'Fira Code', monospace;
letter-spacing: 0.05em;
border: 1px solid transparent;
display: inline-flex;
align-items: center;
gap: 0.375rem;
text-transform: uppercase;
}
.status-idle {
background: rgba(148, 163, 184, 0.1);
border-color: rgba(148, 163, 184, 0.3);
color: #94A3B8;
}
.status-running {
background: rgba(0, 240, 255, 0.15);
border-color: rgba(0, 240, 255, 0.4);
color: #00F0FF;
box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.6); }
}
@keyframes spin-reverse {
from { transform: rotate(360deg); }
to { transform: rotate(0deg); }
}
.animate-spin-reverse {
animation: spin-reverse 3s linear infinite;
}
/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(7, 9, 14, 0.8);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(51, 65, 85, 0.8);
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(0, 240, 255, 0.6);
}
/* Terminal Log Stream Elements */
.log-line {
font-family: 'Fira Code', monospace;
font-size: 0.75rem;
display: flex;
align-items: flex-start;
gap: 0.5rem;
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
transition: background 0.15s ease;
}
.log-line:hover {
background: rgba(30, 41, 59, 0.4);
}
.log-timestamp {
color: #64748B;
user-select: none;
}
.badge-info { background: rgba(0, 240, 255, 0.15); color: #00F0FF; border: 1px solid rgba(0, 240, 255, 0.3); }
.badge-harness { background: rgba(138, 43, 226, 0.15); color: #C084FC; border: 1px solid rgba(138, 43, 226, 0.3); }
.badge-reward { background: rgba(0, 255, 157, 0.15); color: #00FF9D; border: 1px solid rgba(0, 255, 157, 0.3); }
.badge-warn { background: rgba(255, 184, 0, 0.15); color: #FFB800; border: 1px solid rgba(255, 184, 0, 0.3); }
.badge-error { background: rgba(255, 51, 102, 0.15); color: #FF3366; border: 1px solid rgba(255, 51, 102, 0.3); }
.log-filter-btn {
padding: 0.2rem 0.5rem;
border-radius: 0.375rem;
font-size: 0.625rem;
font-weight: 700;
font-family: 'Fira Code', monospace;
color: #94A3B8;
transition: all 0.15s ease;
}
.log-filter-btn:hover {
color: #FFFFFF;
}
.log-filter-btn.active {
background: rgba(0, 240, 255, 0.2);
color: #00F0FF;
border: 1px solid rgba(0, 240, 255, 0.4);
}