You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
858 B
43 lines
858 B
.progress { |
|
text-align: center; |
|
color: var(--text-secondary); |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
flex-direction: column; |
|
height: 5rem; |
|
margin-top: 1rem; |
|
transition: height 800ms ease-in-out, opacity 800ms ease-in-out; |
|
opacity: 1; |
|
} |
|
|
|
.progress.hide { |
|
opacity: 0; |
|
height: 0rem; |
|
} |
|
|
|
.progress p { |
|
margin: 0; |
|
margin-bottom: 1rem; |
|
} |
|
|
|
.progress .bar { |
|
width: 13rem; |
|
max-width: 100%; |
|
background-color: var(--content); |
|
border-radius: 10px; |
|
height: 7px; |
|
display: inline-block; |
|
} |
|
|
|
.progress .bar .bar-inner { |
|
transition: width 400ms ease-in-out, background-color 100ms ease-in-out; |
|
background-color: var(--theme-color); |
|
border-radius: 10px; |
|
height: 100%; |
|
width: 0%; |
|
} |
|
|
|
.progress.failed .bar .bar-inner { |
|
background-color: var(--failed); |
|
}
|
|
|