mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
54 lines
1.0 KiB
CSS
54 lines
1.0 KiB
CSS
/* Container pour isoler la progress bar */
|
|
.progress-container {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 0;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Wrapper de la barre de téléchargement */
|
|
#downloadProgressWrapper {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
height: 12px;
|
|
background-color: var(--progress-bar-bg-color, #cccccc);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
display: none;
|
|
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Barre de progression */
|
|
#downloadProgress {
|
|
height: 100%;
|
|
width: 0%;
|
|
background-color: var(--progress-bar-fill-color, #007bff);
|
|
border-radius: 10px;
|
|
transition: width 0.2s ease;
|
|
}
|
|
|
|
#downloadProgressText, #downloadSpeedText {
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
color: #fff;
|
|
content: "";
|
|
|
|
}
|
|
|
|
/* Responsive pour mobile */
|
|
@media (max-width: 480px) {
|
|
#downloadProgressWrapper {
|
|
max-width: 90%;
|
|
height: 10px;
|
|
}
|
|
|
|
#downloadProgressText, #downloadSpeedText {
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|