Spaces:
Running
Running
.header-row { | |
align-items: center; | |
padding: 12px 12px; | |
} | |
/* Beautiful tqdm-style Progress Bar Styles */ | |
.progress-container { | |
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); | |
border: 1px solid #dee2e6; | |
border-radius: 12px; | |
padding: 16px; | |
margin: 8px 0; | |
box-shadow: 0 2px 8px rgba(0,0,0,0.1); | |
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace; | |
} | |
.progress-header { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
margin-bottom: 12px; | |
font-size: 14px; | |
color: #495057; | |
} | |
.progress-icon { | |
font-size: 16px; | |
animation: pulse 2s infinite; | |
} | |
.progress-bar-container { | |
display: flex; | |
align-items: center; | |
gap: 12px; | |
margin-bottom: 10px; | |
} | |
.progress-percentage { | |
font-weight: bold; | |
font-size: 13px; | |
color: #495057; | |
min-width: 50px; | |
text-align: right; | |
} | |
.progress-bar { | |
flex: 1; | |
height: 8px; | |
background-color: #e9ecef; | |
border-radius: 4px; | |
overflow: hidden; | |
position: relative; | |
box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); | |
} | |
.progress-fill { | |
height: 100%; | |
border-radius: 4px; | |
transition: width 0.3s ease; | |
position: relative; | |
overflow: hidden; | |
} | |
.progress-fill::after { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
bottom: 0; | |
right: 0; | |
background-image: linear-gradient( | |
-45deg, | |
rgba(255, 255, 255, 0.2) 25%, | |
transparent 25%, | |
transparent 50%, | |
rgba(255, 255, 255, 0.2) 50%, | |
rgba(255, 255, 255, 0.2) 75%, | |
transparent 75%, | |
transparent | |
); | |
background-size: 20px 20px; | |
animation: progress-stripes 1s linear infinite; | |
} | |
@keyframes progress-stripes { | |
0% { background-position: 0 0; } | |
100% { background-position: 20px 0; } | |
} | |
.progress-bar-low .progress-fill { | |
background: linear-gradient(90deg, #dc3545, #e74c3c); | |
} | |
.progress-bar-medium-low .progress-fill { | |
background: linear-gradient(90deg, #ffc107, #f39c12); | |
} | |
.progress-bar-medium .progress-fill { | |
background: linear-gradient(90deg, #fd7e14, #e67e22); | |
} | |
.progress-bar-high .progress-fill { | |
background: linear-gradient(90deg, #28a745, #27ae60); | |
} | |
.progress-bar-complete .progress-fill { | |
background: linear-gradient(90deg, #20c997, #1abc9c); | |
animation: complete-pulse 1.5s ease-in-out infinite; | |
} | |
@keyframes complete-pulse { | |
0%, 100% { opacity: 1; } | |
50% { opacity: 0.8; } | |
} | |
.progress-stats { | |
font-weight: bold; | |
font-size: 13px; | |
color: #495057; | |
min-width: 60px; | |
} | |
.progress-details { | |
display: flex; | |
align-items: center; | |
gap: 8px; | |
font-size: 12px; | |
color: #6c757d; | |
margin-top: 8px; | |
} | |
.progress-details code { | |
background-color: #f8f9fa; | |
padding: 2px 6px; | |
border-radius: 4px; | |
font-size: 11px; | |
color: #495057; | |
border: 1px solid #dee2e6; | |
} | |
/* Progress Position Styles */ | |
.progress-position { | |
margin-top: 8px; | |
padding: 8px 12px; | |
background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%); | |
border: 1px solid #b3d9ff; | |
border-radius: 6px; | |
font-size: 13px; | |
color: #0066cc; | |
text-align: center; | |
font-weight: 500; | |
} | |
.progress-position strong { | |
color: #004499; | |
} | |
.remaining-items { | |
color: #6c757d; | |
font-size: 12px; | |
font-style: italic; | |
} | |
/* Position Info Styles */ | |
.position-info { | |
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); | |
border: 1px solid #90caf9; | |
border-radius: 8px; | |
padding: 12px 16px; | |
margin: 8px 0; | |
box-shadow: 0 2px 6px rgba(33, 150, 243, 0.15); | |
font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace; | |
text-align: center; | |
color: #1565c0; | |
font-weight: 500; | |
} | |
.position-info strong { | |
color: #0d47a1; | |
} | |
@keyframes pulse { | |
0%, 100% { transform: scale(1); } | |
50% { transform: scale(1.1); } | |
} | |
/* Dark mode support */ | |
@media (prefers-color-scheme: dark) { | |
.progress-container { | |
background: linear-gradient(135deg, #343a40 0%, #495057 100%); | |
border-color: #6c757d; | |
color: #f8f9fa; | |
} | |
.progress-header, .progress-percentage, .progress-stats { | |
color: #f8f9fa; | |
} | |
.progress-bar { | |
background-color: #495057; | |
} | |
.progress-details { | |
color: #adb5bd; | |
} | |
.progress-details code { | |
background: #495057; | |
border-color: #6c757d; | |
color: #f8f9fa; | |
} | |
.remaining-items { | |
color: #adb5bd; | |
} | |
/* Dark mode support for position info */ | |
.position-info { | |
background: linear-gradient(135deg, #1e3a5f 0%, #1e4d7b 100%); | |
border-color: #1976d2; | |
color: #90caf9; | |
box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3); | |
} | |
.position-info strong { | |
color: #64b5f6; | |
} | |
} | |