Initial commit: AI-Trainer Unsloth MoE & GRPO Control Center with Web Dashboard and Pipeline Scripts
This commit is contained in:
150
public/css/style.css
Normal file
150
public/css/style.css
Normal file
@@ -0,0 +1,150 @@
|
||||
/* Cyberpunk Glassmorphism Design Token System */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
--bg-dark: #07090E;
|
||||
--panel-bg: rgba(15, 23, 42, 0.75);
|
||||
--cyan-glow: #00F0FF;
|
||||
--violet-glow: #8A2BE2;
|
||||
--emerald-glow: #00FF9D;
|
||||
--amber-glow: #FFB800;
|
||||
--rose-glow: #FF3366;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-dark);
|
||||
background-image:
|
||||
radial-gradient(at 0% 0%, rgba(0, 240, 255, 0.08) 0px, transparent 50%),
|
||||
radial-gradient(at 100% 0%, rgba(138, 43, 226, 0.08) 0px, transparent 50%),
|
||||
radial-gradient(at 50% 100%, rgba(0, 255, 157, 0.04) 0px, transparent 50%);
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #F8FAFC;
|
||||
}
|
||||
|
||||
/* Glassmorphism Panel Component */
|
||||
.glass-panel {
|
||||
background: rgba(15, 23, 42, 0.7);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
|
||||
}
|
||||
|
||||
.glass-panel:hover {
|
||||
border-color: rgba(0, 240, 255, 0.2);
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
@apply px-4 py-2 rounded-xl text-xs font-bold font-mono tracking-wider transition-all duration-200 flex items-center gap-2 cursor-pointer border shadow-lg;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.btn-emerald:hover {
|
||||
background: rgba(0, 255, 157, 0.3);
|
||||
box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.btn-rose:hover {
|
||||
background: rgba(255, 51, 102, 0.3);
|
||||
box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
background: rgba(30, 41, 59, 0.6);
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
color: #94A3B8;
|
||||
}
|
||||
.btn-ghost:hover {
|
||||
background: rgba(51, 65, 85, 0.8);
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.btn-purple:hover {
|
||||
background: rgba(138, 43, 226, 0.35);
|
||||
box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
|
||||
}
|
||||
|
||||
/* Status Badges */
|
||||
.status-badge {
|
||||
@apply px-3 py-1 rounded-full text-[11px] font-bold font-mono tracking-widest border uppercase inline-flex items-center gap-1.5;
|
||||
}
|
||||
|
||||
.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;
|
||||
animation: pulse-glow 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-glow {
|
||||
0%, 100% { box-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }
|
||||
50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.7); }
|
||||
}
|
||||
|
||||
@keyframes spin-reverse {
|
||||
from { transform: rotate(360deg); }
|
||||
to { transform: rotate(0deg); }
|
||||
}
|
||||
.animate-spin-reverse {
|
||||
animation: spin-reverse 3s linear infinite;
|
||||
}
|
||||
|
||||
/* Scrollbar Customization */
|
||||
.custom-scrollbar::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
.custom-scrollbar::-webkit-scrollbar-track {
|
||||
background: rgba(15, 23, 42, 0.6);
|
||||
}
|
||||
.custom-scrollbar::-webkit-scrollbar-thumb {
|
||||
background: rgba(51, 65, 85, 0.8);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(0, 240, 255, 0.5);
|
||||
}
|
||||
|
||||
/* Terminal Log Badges */
|
||||
.log-line {
|
||||
@apply font-mono text-xs flex items-start gap-2 py-0.5 border-b border-slate-900/40 hover:bg-slate-900/50 px-1 rounded transition;
|
||||
}
|
||||
.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 {
|
||||
@apply px-2 py-0.5 rounded text-[10px] font-bold text-slate-400 hover:text-white transition;
|
||||
}
|
||||
.log-filter-btn.active {
|
||||
@apply bg-cyan-500/20 text-cyan-400 border border-cyan-500/40;
|
||||
}
|
||||
Reference in New Issue
Block a user