movie-web/src2/components/Progress.css

44 lines
858 B
CSS
Raw Normal View History

2021-07-14 00:31:37 +02:00
.progress {
text-align: center;
2021-07-15 00:09:42 +02:00
color: var(--text-secondary);
2021-07-14 00:31:37 +02:00
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%;
2021-07-15 18:41:51 +02:00
background-color: var(--content);
2021-07-14 00:31:37 +02:00
border-radius: 10px;
height: 7px;
display: inline-block;
}
.progress .bar .bar-inner {
transition: width 400ms ease-in-out, background-color 100ms ease-in-out;
2021-07-15 00:09:42 +02:00
background-color: var(--theme-color);
2021-07-14 00:31:37 +02:00
border-radius: 10px;
height: 100%;
width: 0%;
}
.progress.failed .bar .bar-inner {
2021-07-15 00:09:42 +02:00
background-color: var(--failed);
2021-07-14 00:31:37 +02:00
}