Files
wp-blog/wp-content/themes/Beginning/css/nprogress.css
T
2018-05-08 11:22:54 +08:00

72 lines
1.8 KiB
CSS

@charset "utf-8";
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
/*----------------------------------------------------------
Make clicks pass-through
----------------------------------------------------------*/
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: #2D6DCC;
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/*----------------------------------------------------------
Fancy blur effect
----------------------------------------------------------*/
#nprogress .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height: 100%;
box-shadow: 0 0 10px #2D6DCC, 0 0 5px #2D6DCC;
-moz-box-shadow: 0 0 10px #2D6DCC, 0 0 5px #2D6DCC;
opacity: 1;
transform: rotate(3deg) translate(0px, -4px);
-ms-transform: rotate(3deg) translate(0px, -4px);
-webkit-transform: rotate(3deg) translate(0px, -4px);
-0-transform: rotate(3deg) translate(0px, -4px);
}
/*----------------------------------------------------------
Remove these to get rid of the spinner
----------------------------------------------------------*/
#nprogress .spinner {
display: block;
position: fixed;
z-index: 500;
top: 16px;
right: 16px;
}
#nprogress .spinner-icon {
width: 18px;
height: 18px;
border: solid 2px transparent;
border-top-color: #2D6DCC;
border-left-color: #2D6DCC;
border-radius: 50%;
animation: rotate 400ms linear infinite;
-moz-animation: rotate 400ms linear infinite;
-webkit-animation: rotate 400ms linear infinite;
-o-animation: rotate 400ms linear infinite;
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
position: absolute;
}