| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
@import '../mmv.variables.less'; |
| 3 |
|
| 4 |
@progress-height: @progress-bar-height; |
| 5 |
|
| 6 |
.mw-mmv-progress { |
| 7 |
background-color: @background-color-disabled; |
| 8 |
background-color: rgba( 221, 221, 221, 0.5 ); |
| 9 |
width: 100%; |
| 10 |
height: @progress-height; |
| 11 |
overflow: hidden; |
| 12 |
position: absolute; |
| 13 |
top: -@progress-height; |
| 14 |
transition: height 0.2s ease-out, top 0.2s ease-out; |
| 15 |
} |
| 16 |
|
| 17 |
.mw-mmv-progress.empty { |
| 18 |
height: 0; |
| 19 |
top: 0; |
| 20 |
} |
| 21 |
|
| 22 |
.mw-mmv-progress-percent { |
| 23 |
width: 0; |
| 24 |
height: @progress-height; |
| 25 |
background: linear-gradient( -45deg, transparent 33%, rgba( 0, 0, 0, 0.1 ) 33%, rgba( 0, 0, 0, 0.1 ) 66%, transparent 66% ), #36c; |
| 26 |
background-size: 35px 20px, 100% 100%, 100% 100%; |
| 27 |
animation: mw-mmv-progress-percent-animation 1.5s linear infinite; |
| 28 |
transition: width ease 0.2s; |
| 29 |
} |
| 30 |
|
| 31 |
.mw-mmv-progress-percent-animation() { |
| 32 |
0% { |
| 33 |
background-position: 0 0; |
| 34 |
} |
| 35 |
|
| 36 |
100% { |
| 37 |
background-position: -70px 0; |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
@keyframes mw-mmv-progress-percent-animation { |
| 42 |
.mw-mmv-progress-percent-animation; |
| 43 |
} |