shaun3141's picture
Refactoring gradio app
2941e2c
.gradio-container {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.main-header {
text-align: center;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px;
margin-bottom: 20px;
}
.homepage-header {
text-align: center;
padding: 30px 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 15px;
margin-bottom: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.homepage-header h1 {
margin: 0;
font-size: 2.5em;
font-weight: 700;
}
.homepage-header .subtitle {
margin: 10px 0 0 0;
font-size: 1.2em;
opacity: 0.95;
}
.insights-section {
margin: 30px 0;
}
.insights-section h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.8em;
}
.insights-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.insight-card {
padding: 25px;
border-radius: 12px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.insight-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card-blue {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.card-green {
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
color: white;
}
.card-purple {
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
color: #333;
}
.card-orange {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
}
.card-teal {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
color: white;
}
.insight-number {
font-size: 2.5em;
font-weight: 700;
margin-bottom: 8px;
}
.insight-label {
font-size: 1em;
opacity: 0.9;
font-weight: 500;
}
.status-section {
margin: 30px 0;
}
.status-section h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.8em;
}
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.status-group {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
border-left: 4px solid #667eea;
}
.status-group h3 {
margin-top: 0;
color: #667eea;
font-size: 1.3em;
}
.status-item {
padding: 10px 0;
font-size: 1em;
color: #555;
}
.workflow-section {
margin: 40px 0;
padding: 25px;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
border-radius: 12px;
}
.workflow-section h2 {
color: #333;
margin-top: 0;
font-size: 1.8em;
}
.workflow-description {
color: #555;
margin-bottom: 20px;
font-size: 1.1em;
}
.nav-buttons-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
margin-top: 20px;
}
.nav-button {
padding: 15px 20px;
border-radius: 8px;
text-align: center;
font-weight: 600;
font-size: 1em;
transition: all 0.3s;
border: 2px solid transparent;
}
.nav-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.status-box {
background: #f0f0f0;
padding: 15px;
border-radius: 5px;
margin: 10px 0;
}