mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
ProgressBar + Playlist
This commit is contained in:
42
public/styles/components/progressBar.css
Normal file
42
public/styles/components/progressBar.css
Normal file
@@ -0,0 +1,42 @@
|
||||
/* Wrapper de la barre de téléchargement */
|
||||
#downloadProgressWrapper {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
height: 12px;
|
||||
background-color: #444;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
margin: 10px auto;
|
||||
display: none;
|
||||
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Barre de progression */
|
||||
#downloadProgress {
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
background-color: var(--video-info-link-color, #4caf50);
|
||||
border-radius: 6px 0 0 6px;
|
||||
transition: width 0.2s ease;
|
||||
}
|
||||
|
||||
#downloadProgressText {
|
||||
text-align: center;
|
||||
font-size: 0.8rem;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: -20px;
|
||||
}
|
||||
|
||||
/* Responsive pour mobile */
|
||||
@media (max-width: 480px) {
|
||||
#downloadProgressWrapper {
|
||||
max-width: 90%;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
#downloadProgressText {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
@import url("theme/themeimport.css");
|
||||
@import url("components/editpathbutton.css");
|
||||
@import url("components/progressBar.css");
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user