2023-04-02 21:51:17 +02:00
|
|
|
@keyframes progress-bar-stripes {
|
|
|
|
from {
|
|
|
|
background-position: 40px 0;
|
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
to {
|
|
|
|
background-position: 0 0;
|
|
|
|
}
|
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
.progress {
|
|
|
|
overflow: hidden;
|
|
|
|
height: 20px;
|
|
|
|
margin-bottom: 20px;
|
2023-04-02 21:56:04 +02:00
|
|
|
background: linear-gradient(to bottom, hsl(0deg 0% 96%), hsl(0deg 0% 98%));
|
2023-04-02 21:51:17 +02:00
|
|
|
background-repeat: repeat-x;
|
2023-04-02 21:56:04 +02:00
|
|
|
box-shadow: inset 0 1px 2px hsl(0deg 0% 0% / 10%);
|
2023-04-02 21:51:17 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
.progress .bar {
|
|
|
|
width: 0%;
|
|
|
|
height: 100%;
|
2023-04-02 21:56:04 +02:00
|
|
|
color: hsl(0deg 0% 100%);
|
2023-04-02 21:51:17 +02:00
|
|
|
float: left;
|
2023-04-02 21:56:04 +02:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(200deg 84% 48%),
|
|
|
|
hsl(200deg 96% 38%)
|
2023-04-02 21:51:17 +02:00
|
|
|
);
|
|
|
|
background-repeat: repeat-x;
|
2023-04-02 21:56:04 +02:00
|
|
|
box-shadow: inset 0 -1px 2px hsl(0deg 0% 0% / 15%);
|
2023-04-02 21:51:17 +02:00
|
|
|
box-sizing: border-box;
|
2024-10-23 21:41:57 +02:00
|
|
|
transition: width 0.6s ease; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
|
2023-04-02 21:51:17 +02:00
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
.progress.active .bar {
|
|
|
|
animation: progress-bar-stripes 2s linear infinite;
|
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
.progress .bar-danger {
|
2023-04-02 21:56:04 +02:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(2deg 81% 65%),
|
|
|
|
hsl(3deg 57% 49%)
|
2023-04-02 21:51:17 +02:00
|
|
|
);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
2023-04-02 21:56:04 +02:00
|
|
|
|
2023-04-02 21:51:17 +02:00
|
|
|
.progress .bar-success {
|
2023-04-02 21:56:04 +02:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsl(120deg 45% 58%),
|
|
|
|
hsl(120deg 32% 50%)
|
2023-04-02 21:51:17 +02:00
|
|
|
);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|