ThomasTheMaker's picture
Upload folder using huggingface_hub
feba2ad verified
raw
history blame
4.6 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
color: white;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
header p {
font-size: 1.1rem;
opacity: 0.9;
}
.controls {
background: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
margin-bottom: 30px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.run-selector select {
padding: 8px 16px;
border: 2px solid #e1e5e9;
border-radius: 8px;
font-size: 14px;
background: white;
cursor: pointer;
transition: border-color 0.3s ease;
}
.run-selector select:focus {
outline: none;
border-color: #667eea;
}
.metric-toggle {
display: flex;
gap: 20px;
flex-wrap: wrap;
}
.metric-toggle label {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-weight: 500;
color: #555;
}
.metric-toggle input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: #667eea;
}
.charts-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
gap: 30px;
margin-bottom: 30px;
}
.chart-card {
background: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chart-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.chart-card h3 {
margin-bottom: 20px;
color: #333;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 8px;
}
.chart-card canvas {
max-height: 400px;
width: 100% !important;
}
.run-summary, .config-details {
background: white;
padding: 25px;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.1);
margin-bottom: 30px;
}
.run-summary h3, .config-details h3 {
margin-bottom: 20px;
color: #333;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 8px;
}
.run-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.run-card {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #667eea;
}
.run-card h4 {
color: #667eea;
margin-bottom: 10px;
font-size: 1.1rem;
}
.run-card p {
margin-bottom: 8px;
color: #666;
font-size: 0.9rem;
}
.run-card .metric {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}
.run-card .metric .value {
font-weight: 600;
color: #333;
}
.config-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
}
.config-item {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
text-align: center;
}
.config-item .label {
font-size: 0.8rem;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 5px;
}
.config-item .value {
font-size: 1.2rem;
font-weight: 600;
color: #333;
}
@media (max-width: 768px) {
.container {
padding: 15px;
}
header h1 {
font-size: 2rem;
}
.controls {
flex-direction: column;
align-items: stretch;
}
.charts-container {
grid-template-columns: 1fr;
}
.chart-card {
padding: 20px;
}
.run-grid, .config-grid {
grid-template-columns: 1fr;
}
}
/* Chart.js customizations */
.chartjs-tooltip {
background: rgba(0,0,0,0.8) !important;
color: white !important;
border-radius: 8px !important;
padding: 10px !important;
font-size: 12px !important;
}
/* Loading state */
.loading {
text-align: center;
padding: 40px;
color: #666;
}
.loading::after {
content: '';
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid #f3f3f3;
border-top: 3px solid #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-left: 10px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}