BoxOfColors's picture
refactor: round 2 — add CropRegion edge/box properties, externalise CSS
ed7d6c7
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* { box-sizing: border-box; }
body, .gradio-container {
font-family: 'Inter', sans-serif !important;
background: #0d1117 !important;
color: #e6edf3 !important;
}
.gradio-container {
max-width: 1200px !important;
margin: 0 auto !important;
padding: 24px !important;
}
/* Header */
.header-block {
text-align: center;
padding: 32px 0 24px;
}
.header-block h1 {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, #2dd4bf, #06b6d4);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 8px;
}
.header-block p {
color: #8b949e;
font-size: 0.95rem;
}
/* Cards */
.card {
background: #161b22;
border: 1px solid #30363d;
border-radius: 12px;
padding: 20px;
margin-bottom: 16px;
}
.card-title {
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #8b949e;
margin-bottom: 12px;
}
/* Buttons */
.btn-primary {
background: linear-gradient(135deg, #0f766e, #0e7490) !important;
border: none !important;
color: white !important;
font-weight: 600 !important;
border-radius: 8px !important;
padding: 10px 24px !important;
transition: opacity 0.2s !important;
}
.btn-primary:hover { opacity: 0.85 !important; }
.btn-secondary {
background: #21262d !important;
border: 1px solid #30363d !important;
color: #e6edf3 !important;
font-weight: 500 !important;
border-radius: 8px !important;
transition: border-color 0.2s !important;
}
.btn-secondary:hover { border-color: #2dd4bf !important; }
/* Status */
.status-box textarea {
background: #0d1117 !important;
border: 1px solid #30363d !important;
color: #8b949e !important;
font-family: 'JetBrains Mono', monospace !important;
font-size: 0.82rem !important;
border-radius: 8px !important;
}
/* Mode radio */
.mode-radio label { font-weight: 500 !important; }
/* Steps badge */
.step-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border-radius: 50%;
background: #0f766e;
color: white;
font-size: 0.75rem;
font-weight: 700;
margin-right: 8px;
}