2020-09-05 18:22:46 +08:00
|
|
|
.progressjs {
|
2020-07-30 18:17:41 +08:00
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2020-03-11 21:17:52 +08:00
|
|
|
z-index: 2000;
|
|
|
|
}
|
|
|
|
|
2020-09-05 18:22:46 +08:00
|
|
|
.progressjs-inner {
|
2020-03-11 21:17:52 +08:00
|
|
|
background-color: #939595;
|
|
|
|
height: 3px;
|
|
|
|
overflow: hidden;
|
2020-09-05 18:22:46 +08:00
|
|
|
position: relative;
|
2020-03-11 21:17:52 +08:00
|
|
|
transition: width .5s;
|
2020-09-05 18:22:46 +08:00
|
|
|
width: 0;
|
|
|
|
z-index: 2000;
|
2020-03-11 21:17:52 +08:00
|
|
|
}
|
|
|
|
|
2020-09-05 18:22:46 +08:00
|
|
|
.progressjs-percent {
|
2020-03-11 21:17:52 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: -32px;
|
|
|
|
bottom: 0;
|
|
|
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 75%, transparent);
|
|
|
|
background-size: 32px 32px;
|
2020-09-05 18:22:46 +08:00
|
|
|
animation: simple-pace-stripe-animation 500ms linear infinite;
|
2020-03-11 21:17:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes simple-pace-stripe-animation {
|
2020-09-05 18:22:46 +08:00
|
|
|
0% { transform: none; }
|
|
|
|
100% { transform: translate(-32px, 0); }
|
2020-03-11 21:17:52 +08:00
|
|
|
}
|