improve main download bar

This commit is contained in:
SpikeHD
2022-05-11 21:47:11 -07:00
parent 9f0ade3de8
commit bce9ac1b51
3 changed files with 19 additions and 5 deletions

View File

@@ -34,6 +34,5 @@ body {
#DownloadProgress {
position: absolute;
top: 85%;
left: 5%;
width: 60%;
}

View File

@@ -41,7 +41,7 @@ export default class ProgressBar extends React.Component<IProps, IState> {
render() {
return (
<div className="ProgressBarWrapper">
<div className="MainProgressBarWrapper">
<div className="ProgressBar">
<div className="InnerProgress" style={{
width: `${(() => {

View File

@@ -1,5 +1,5 @@
.ProgressBar, .InnerProgress {
border-radius: 20px;
border-radius: 4px;
}
.ProgressBarWrapper {
@@ -11,7 +11,7 @@
.ProgressBar {
height: 20px;
width: 80%;
background-color: #fff;
background-color: rgba(204, 204, 204, 0.5);
color: #c5c5c5;
border: 1px solid #ccc;
@@ -19,10 +19,25 @@
.InnerProgress {
height: 100%;
background-color: #00a8ff;
background-color: #ffc61e;
}
.ProgressText {
color: #c5c5c5;
padding: 0px 10px;
}
.MainProgressBarWrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
}
.MainProgressBarWrapper .ProgressText {
font-size: 20px;
font-weight: bold;
color: #fff !important;
}