78 lines
1.7 KiB
CSS
78 lines
1.7 KiB
CSS
/*!
|
|
* pace.js v1.2.4 | Default theme
|
|
* https://github.com/CodeByZach/pace/
|
|
* Licensed MIT © HubSpot, Inc.
|
|
*/
|
|
.pace {
|
|
-webkit-pointer-events: none;
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none
|
|
}
|
|
|
|
.pace-inactive {
|
|
/*display: none*/
|
|
}
|
|
|
|
.pace .pace-progress {
|
|
background: #d72630;
|
|
position: fixed;
|
|
z-index: 2000;
|
|
top: 0;
|
|
right: 100%;
|
|
width: 100%;
|
|
height: 2px
|
|
}
|
|
|
|
.pace {
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
z-index: 99999999999999;
|
|
position: fixed;
|
|
margin: auto;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 400px;
|
|
border: 0;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
-webkit-transition: all 1s;
|
|
-o-transition: all 1s;
|
|
transition: all 1s;
|
|
}
|
|
|
|
/** 修改进度条的颜色 */
|
|
.pace .pace-progress {
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
max-width: 300px;
|
|
/*position: fixed;*/
|
|
z-index: 99999999999999;
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 100%;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: #12c2e9;
|
|
background: -webkit-gradient(linear, left top, right top, from(#12c2e9), color-stop(#c471ed), to(#f64f59));
|
|
background: -webkit-linear-gradient(left, #12c2e9, #c471ed, #f64f59);
|
|
background: -o-linear-gradient(left, #12c2e9, #c471ed, #f64f59);
|
|
background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
|
|
}
|
|
|
|
.pace.pace-inactive {
|
|
width: 100vw;
|
|
opacity: 0;
|
|
}
|
|
|
|
.pace.pace-inactive .pace-progress {
|
|
max-width: 100vw;
|
|
} |