fixflow / frontend /src /app /globals.css
E5K7's picture
chore: configure Docker and proxy for HuggingFace Spaces deployment
38c50f9
:root {
--bg-dark: #000000;
--bg-card: rgba(10, 10, 10, 0.8);
--bg-input: rgba(20, 20, 20, 0.9);
--border-color: rgba(255, 255, 255, 0.08);
--accent-glow: rgba(100, 100, 255, 0.3);
--primary: #6366f1;
--secondary: #4f46e5;
--text-main: #ffffff;
--text-muted: #6b7280;
--success: #10b981;
--error: #ef4444;
--subtle-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.05));
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
overflow: hidden;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
line-height: 1.5;
background-image:
radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.03), transparent 50%),
radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.03), transparent 50%);
background-attachment: fixed;
}
.glass-panel {
background: var(--bg-card);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--border-color);
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.glow-btn {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
padding: 12px 24px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
position: relative;
overflow: hidden;
}
.glow-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transition: left 0.5s;
}
.glow-btn:hover::before {
left: 100%;
}
.glow-btn:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
.glow-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.input-field {
width: 100%;
background: var(--bg-input);
border: 1px solid var(--border-color);
color: var(--text-main);
padding: 14px 16px;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.2s, box-shadow 0.2s;
outline: none;
}
.input-field:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--accent-glow);
}
.terminal-window {
background: #000000;
border-radius: 8px;
overflow: hidden;
border: 1px solid var(--border-color);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.terminal-header {
background: rgba(0, 0, 0, 0.6);
padding: 12px 16px;
display: flex;
align-items: center;
border-bottom: 1px solid var(--border-color);
gap: 8px;
backdrop-filter: blur(10px);
}
.terminal-dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.terminal-body {
padding: 16px;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 0.9rem;
color: #a0a0cc;
max-height: 400px;
overflow-y: auto;
}
.log-entry {
margin-bottom: 8px;
animation: fadeIn 0.3s ease;
}
.log-prefix {
color: var(--primary);
margin-right: 8px;
}
.step-card {
padding: 16px;
border-radius: 8px;
background: rgba(255,255,255,0.02);
border: 1px solid transparent;
transition: all 0.3s ease;
}
.step-card.active {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.05);
box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.05);
}
.analyzing-glow {
color: var(--primary) !important;
background: rgba(99, 102, 241, 0.1) !important;
box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
animation: pulseGlow 2s infinite ease-in-out;
border: 1px solid rgba(99, 102, 241, 0.25) !important;
}
.terminal-drawer {
background: #000000;
border-top: 1px solid var(--border-color);
overflow: hidden;
transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.terminal-drawer-header {
padding: 10px 16px;
background: rgba(0, 0, 0, 0.8);
border-bottom: 1px solid var(--border-color);
font-size: 0.75rem;
color: 'var(--text-muted)';
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
transition: background 0.2s ease;
backdrop-filter: blur(10px);
}
.terminal-drawer-header:hover {
background: rgba(99, 102, 241, 0.05);
}
.terminal-drawer-body {
padding: 12px 20px;
max-height: 250px;
overflow-y: auto;
font-family: monospace;
font-size: 0.8rem;
color: #a0a0cc;
white-space: pre-wrap;
}
.diff-view {
background: #1a1a24;
border-radius: 8px;
padding: 16px;
overflow-x: auto;
font-family: monospace;
white-space: pre;
color: #d1d5db;
}
.diff-add { color: #a3be8c; }
.diff-remove { color: #bf616a; }
.diff-header { color: #81a1c1; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(5px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
0%, 100% {
box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
transform: scale(1);
}
50% {
box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
transform: scale(1.01);
}
}
.loading-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid rgba(255,255,255,0.2);
border-radius: 50%;
border-top-color: white;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Vercel-style enhancements */
.feature-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 20px;
transition: all 0.2s ease;
cursor: pointer;
}
.feature-card:hover {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.15);
transform: translateY(-2px);
}
.stat-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
background: rgba(99, 102, 241, 0.08);
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
color: var(--primary);
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.code-snippet {
background: rgba(0, 0, 0, 0.5);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 16px;
font-family: 'Courier New', monospace;
font-size: 0.85rem;
color: #00ff88;
overflow-x: auto;
}
.pulse-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--success);
animation: pulse 2s infinite;
box-shadow: 0 0 10px var(--success);
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.1); }
}
.shimmer {
background: linear-gradient(90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.05) 50%,
rgba(255, 255, 255, 0) 100%);
background-size: 200% 100%;
animation: shimmer 2s infinite;
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
.tag {
display: inline-block;
padding: 4px 10px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-color);
border-radius: 4px;
font-size: 0.7rem;
color: var(--text-muted);
margin-right: 6px;
margin-bottom: 6px;
}
.activity-indicator {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: rgba(0, 255, 0, 0.05);
border-left: 2px solid var(--success);
border-radius: 4px;
font-size: 0.8rem;
margin-bottom: 8px;
}
.metric-card {
text-align: center;
padding: 16px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-color);
border-radius: 8px;
}
.metric-value {
font-size: 2rem;
font-weight: 700;
color: var(--text-main);
}
.metric-label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-top: 4px;
}
.timeline-item {
position: relative;
padding-left: 24px;
padding-bottom: 16px;
border-left: 1px solid var(--border-color);
}
.timeline-item::before {
content: '';
position: absolute;
left: -5px;
top: 0;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--primary);
border: 2px solid var(--bg-dark);
}
.timeline-item:last-child {
border-left-color: transparent;
}
.repo-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 16px;
transition: all 0.2s ease;
cursor: pointer;
}
.repo-card:hover {
background: rgba(255, 255, 255, 0.04);
border-color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}
.status-online {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.75rem;
color: var(--success);
}
.status-online::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--success);
box-shadow: 0 0 8px var(--success);
}
.hero-section {
text-align: center;
padding: 60px 20px;
max-width: 900px;
margin: 0 auto;
}
.hero-title {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.1;
margin-bottom: 24px;
letter-spacing: -0.02em;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 40px;
line-height: 1.6;
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1rem;
}
}
/* Custom Scrollbar - Vercel Style */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.4);
}
/* Firefox Scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: rgba(255, 255, 255, 0.1) rgba(0, 0, 0, 0.2);
}
/* Smooth transitions for all interactive elements */
a, button, input, .feature-card, .repo-card, .step-card {
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Focus states for accessibility */
input:focus, button:focus {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
/* Selection color */
::selection {
background: rgba(99, 102, 241, 0.25);
color: white;
}
::-moz-selection {
background: rgba(99, 102, 241, 0.25);
color: white;
}