Upload theme.css with huggingface_hub
Browse files
theme.css
CHANGED
|
@@ -1,168 +1,168 @@
|
|
| 1 |
-
/* MVM² Senior UI Design System - Linear/Vercel Inspired */
|
| 2 |
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
|
| 3 |
-
|
| 4 |
-
:root {
|
| 5 |
-
--bg-color: #0f172a;
|
| 6 |
-
--card-bg: rgba(30, 41, 59, 0.7);
|
| 7 |
-
--primary: #6366f1;
|
| 8 |
-
--primary-glow: rgba(99, 102, 241, 0.3);
|
| 9 |
-
--success: #10b981;
|
| 10 |
-
--success-glow: rgba(16, 185, 129, 0.2);
|
| 11 |
-
--warning: #f59e0b;
|
| 12 |
-
--warning-glow: rgba(245, 158, 11, 0.2);
|
| 13 |
-
--border: rgba(255, 255, 255, 0.1);
|
| 14 |
-
--text-main: #f8f9fa;
|
| 15 |
-
--text-muted: #94a3b8;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
body, .gradio-container {
|
| 19 |
-
background-color: var(--bg-color) !important;
|
| 20 |
-
color: var(--text-main) !important;
|
| 21 |
-
font-family: 'Inter', sans-serif !important;
|
| 22 |
-
}
|
| 23 |
-
|
| 24 |
-
/* Glassmorphism Cards */
|
| 25 |
-
.glass-card {
|
| 26 |
-
background: var(--card-bg);
|
| 27 |
-
backdrop-filter: blur(12px);
|
| 28 |
-
-webkit-backdrop-filter: blur(12px);
|
| 29 |
-
border: 1px solid var(--border);
|
| 30 |
-
border-radius: 16px;
|
| 31 |
-
padding: 24px;
|
| 32 |
-
transition: all 0.3s ease;
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
-
.glass-card:hover {
|
| 36 |
-
border-color: var(--primary);
|
| 37 |
-
box-shadow: 0 0 20px var(--primary-glow);
|
| 38 |
-
}
|
| 39 |
-
|
| 40 |
-
/* Typography Enhancements */
|
| 41 |
-
h1 { font-weight: 700; letter-spacing: -0.025em; color: #fff; }
|
| 42 |
-
h2 { font-weight: 600; color: var(--text-main); }
|
| 43 |
-
.monospace { font-family: 'JetBrains Mono', monospace !important; font-size: 0.9em; }
|
| 44 |
-
|
| 45 |
-
/* Custom Accordion Styling */
|
| 46 |
-
.reasoning-step {
|
| 47 |
-
margin-bottom: 8px;
|
| 48 |
-
padding: 12px;
|
| 49 |
-
border-radius: 8px;
|
| 50 |
-
background: rgba(255, 255, 255, 0.03);
|
| 51 |
-
border-left: 4px solid var(--text-muted);
|
| 52 |
-
transition: transform 0.2s ease;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
.step-valid {
|
| 56 |
-
border-left-color: var(--success);
|
| 57 |
-
background: var(--success-glow);
|
| 58 |
-
box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
.step-warning {
|
| 62 |
-
border-left-color: var(--warning);
|
| 63 |
-
background: var(--warning-glow);
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/* Animated Gauges */
|
| 67 |
-
.gauge-container {
|
| 68 |
-
display: flex;
|
| 69 |
-
flex-direction: column;
|
| 70 |
-
align-items: center;
|
| 71 |
-
gap: 12px;
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.circle-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 8; }
|
| 75 |
-
.circle-progress {
|
| 76 |
-
fill: none;
|
| 77 |
-
stroke-width: 8;
|
| 78 |
-
stroke-linecap: round;
|
| 79 |
-
transition: stroke-dashoffset 1s ease-in-out;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
@keyframes dash {
|
| 83 |
-
from { stroke-dashoffset: 251.2; }
|
| 84 |
-
}
|
| 85 |
-
|
| 86 |
-
/* Signal Intel Panel */
|
| 87 |
-
.signal-panel {
|
| 88 |
-
display: grid;
|
| 89 |
-
grid-template-columns: repeat(3, 1fr);
|
| 90 |
-
gap: 16px;
|
| 91 |
-
margin-top: 20px;
|
| 92 |
-
}
|
| 93 |
-
|
| 94 |
-
/* Download Button Animation */
|
| 95 |
-
.download-btn {
|
| 96 |
-
background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%) !important;
|
| 97 |
-
border: none !important;
|
| 98 |
-
color: white !important;
|
| 99 |
-
font-weight: 600 !important;
|
| 100 |
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
-
.download-btn:hover {
|
| 104 |
-
transform: translateY(-2px);
|
| 105 |
-
box-shadow: 0 10px 25px -5px var(--primary-glow);
|
| 106 |
-
filter: brightness(1.1);
|
| 107 |
-
}
|
| 108 |
-
|
| 109 |
-
/* Preprocessing Preview */
|
| 110 |
-
.preview-img img {
|
| 111 |
-
border-radius: 12px;
|
| 112 |
-
border: 1px solid var(--border);
|
| 113 |
-
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
|
| 114 |
-
}
|
| 115 |
-
|
| 116 |
-
.status-box {
|
| 117 |
-
margin-top: 20px !important;
|
| 118 |
-
border-left: 4px solid var(--primary) !important;
|
| 119 |
-
}
|
| 120 |
-
|
| 121 |
-
/* Architecture Flow Animations */
|
| 122 |
-
.flow-line {
|
| 123 |
-
stroke-dasharray: 1000;
|
| 124 |
-
stroke-dashoffset: 1000;
|
| 125 |
-
animation: none;
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
.active-pulse {
|
| 129 |
-
stroke-dashoffset: 0;
|
| 130 |
-
animation: pulse-flow 2s infinite linear;
|
| 131 |
-
stroke: var(--primary) !important;
|
| 132 |
-
opacity: 1;
|
| 133 |
-
}
|
| 134 |
-
|
| 135 |
-
@keyframes pulse-flow {
|
| 136 |
-
0% { stroke-dashoffset: 1000; opacity: 0.3; }
|
| 137 |
-
50% { opacity: 1; }
|
| 138 |
-
100% { stroke-dashoffset: 0; opacity: 0.3; }
|
| 139 |
-
}
|
| 140 |
-
|
| 141 |
-
.thinking circle {
|
| 142 |
-
animation: thinking-pulse 1.5s infinite ease-in-out;
|
| 143 |
-
}
|
| 144 |
-
|
| 145 |
-
@keyframes thinking-pulse {
|
| 146 |
-
0%, 100% { transform: scale(1); opacity: 0.8; }
|
| 147 |
-
50% { transform: scale(1.1); opacity: 1; filter: brightness(1.2); }
|
| 148 |
-
}
|
| 149 |
-
|
| 150 |
-
.thinking {
|
| 151 |
-
transform-origin: 450px 175px;
|
| 152 |
-
}
|
| 153 |
-
|
| 154 |
-
/* Gradio Overrides */
|
| 155 |
-
.stButton button { border-radius: 10px !important; }
|
| 156 |
-
.stMarkdown { color: var(--text-main) !important; }
|
| 157 |
-
input, textarea {
|
| 158 |
-
background: rgba(15, 23, 42, 0.6) !important;
|
| 159 |
-
border: 1px solid var(--border) !important;
|
| 160 |
-
color: white !important;
|
| 161 |
-
border-radius: 8px !important;
|
| 162 |
-
}
|
| 163 |
-
input:focus, textarea:focus { border-color: var(--primary) !important; }
|
| 164 |
-
|
| 165 |
-
/* Responsive Adjustments */
|
| 166 |
-
@media (max-width: 768px) {
|
| 167 |
-
.signal-panel { grid-template-columns: 1fr; }
|
| 168 |
-
}
|
|
|
|
| 1 |
+
/* MVM² Senior UI Design System - Linear/Vercel Inspired */
|
| 2 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
|
| 3 |
+
|
| 4 |
+
:root {
|
| 5 |
+
--bg-color: #0f172a;
|
| 6 |
+
--card-bg: rgba(30, 41, 59, 0.7);
|
| 7 |
+
--primary: #6366f1;
|
| 8 |
+
--primary-glow: rgba(99, 102, 241, 0.3);
|
| 9 |
+
--success: #10b981;
|
| 10 |
+
--success-glow: rgba(16, 185, 129, 0.2);
|
| 11 |
+
--warning: #f59e0b;
|
| 12 |
+
--warning-glow: rgba(245, 158, 11, 0.2);
|
| 13 |
+
--border: rgba(255, 255, 255, 0.1);
|
| 14 |
+
--text-main: #f8f9fa;
|
| 15 |
+
--text-muted: #94a3b8;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
body, .gradio-container {
|
| 19 |
+
background-color: var(--bg-color) !important;
|
| 20 |
+
color: var(--text-main) !important;
|
| 21 |
+
font-family: 'Inter', sans-serif !important;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* Glassmorphism Cards */
|
| 25 |
+
.glass-card {
|
| 26 |
+
background: var(--card-bg);
|
| 27 |
+
backdrop-filter: blur(12px);
|
| 28 |
+
-webkit-backdrop-filter: blur(12px);
|
| 29 |
+
border: 1px solid var(--border);
|
| 30 |
+
border-radius: 16px;
|
| 31 |
+
padding: 24px;
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.glass-card:hover {
|
| 36 |
+
border-color: var(--primary);
|
| 37 |
+
box-shadow: 0 0 20px var(--primary-glow);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Typography Enhancements */
|
| 41 |
+
h1 { font-weight: 700; letter-spacing: -0.025em; color: #fff; }
|
| 42 |
+
h2 { font-weight: 600; color: var(--text-main); }
|
| 43 |
+
.monospace { font-family: 'JetBrains Mono', monospace !important; font-size: 0.9em; }
|
| 44 |
+
|
| 45 |
+
/* Custom Accordion Styling */
|
| 46 |
+
.reasoning-step {
|
| 47 |
+
margin-bottom: 8px;
|
| 48 |
+
padding: 12px;
|
| 49 |
+
border-radius: 8px;
|
| 50 |
+
background: rgba(255, 255, 255, 0.03);
|
| 51 |
+
border-left: 4px solid var(--text-muted);
|
| 52 |
+
transition: transform 0.2s ease;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.step-valid {
|
| 56 |
+
border-left-color: var(--success);
|
| 57 |
+
background: var(--success-glow);
|
| 58 |
+
box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.step-warning {
|
| 62 |
+
border-left-color: var(--warning);
|
| 63 |
+
background: var(--warning-glow);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* Animated Gauges */
|
| 67 |
+
.gauge-container {
|
| 68 |
+
display: flex;
|
| 69 |
+
flex-direction: column;
|
| 70 |
+
align-items: center;
|
| 71 |
+
gap: 12px;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.circle-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 8; }
|
| 75 |
+
.circle-progress {
|
| 76 |
+
fill: none;
|
| 77 |
+
stroke-width: 8;
|
| 78 |
+
stroke-linecap: round;
|
| 79 |
+
transition: stroke-dashoffset 1s ease-in-out;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
@keyframes dash {
|
| 83 |
+
from { stroke-dashoffset: 251.2; }
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/* Signal Intel Panel */
|
| 87 |
+
.signal-panel {
|
| 88 |
+
display: grid;
|
| 89 |
+
grid-template-columns: repeat(3, 1fr);
|
| 90 |
+
gap: 16px;
|
| 91 |
+
margin-top: 20px;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
/* Download Button Animation */
|
| 95 |
+
.download-btn {
|
| 96 |
+
background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%) !important;
|
| 97 |
+
border: none !important;
|
| 98 |
+
color: white !important;
|
| 99 |
+
font-weight: 600 !important;
|
| 100 |
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.download-btn:hover {
|
| 104 |
+
transform: translateY(-2px);
|
| 105 |
+
box-shadow: 0 10px 25px -5px var(--primary-glow);
|
| 106 |
+
filter: brightness(1.1);
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
/* Preprocessing Preview */
|
| 110 |
+
.preview-img img {
|
| 111 |
+
border-radius: 12px;
|
| 112 |
+
border: 1px solid var(--border);
|
| 113 |
+
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.status-box {
|
| 117 |
+
margin-top: 20px !important;
|
| 118 |
+
border-left: 4px solid var(--primary) !important;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
/* Architecture Flow Animations */
|
| 122 |
+
.flow-line {
|
| 123 |
+
stroke-dasharray: 1000;
|
| 124 |
+
stroke-dashoffset: 1000;
|
| 125 |
+
animation: none;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
.active-pulse {
|
| 129 |
+
stroke-dashoffset: 0;
|
| 130 |
+
animation: pulse-flow 2s infinite linear;
|
| 131 |
+
stroke: var(--primary) !important;
|
| 132 |
+
opacity: 1;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
@keyframes pulse-flow {
|
| 136 |
+
0% { stroke-dashoffset: 1000; opacity: 0.3; }
|
| 137 |
+
50% { opacity: 1; }
|
| 138 |
+
100% { stroke-dashoffset: 0; opacity: 0.3; }
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.thinking circle {
|
| 142 |
+
animation: thinking-pulse 1.5s infinite ease-in-out;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
@keyframes thinking-pulse {
|
| 146 |
+
0%, 100% { transform: scale(1); opacity: 0.8; }
|
| 147 |
+
50% { transform: scale(1.1); opacity: 1; filter: brightness(1.2); }
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.thinking {
|
| 151 |
+
transform-origin: 450px 175px;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
/* Gradio Overrides */
|
| 155 |
+
.stButton button { border-radius: 10px !important; }
|
| 156 |
+
.stMarkdown { color: var(--text-main) !important; }
|
| 157 |
+
input, textarea {
|
| 158 |
+
background: rgba(15, 23, 42, 0.6) !important;
|
| 159 |
+
border: 1px solid var(--border) !important;
|
| 160 |
+
color: white !important;
|
| 161 |
+
border-radius: 8px !important;
|
| 162 |
+
}
|
| 163 |
+
input:focus, textarea:focus { border-color: var(--primary) !important; }
|
| 164 |
+
|
| 165 |
+
/* Responsive Adjustments */
|
| 166 |
+
@media (max-width: 768px) {
|
| 167 |
+
.signal-panel { grid-template-columns: 1fr; }
|
| 168 |
+
}
|