Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // stylelint-disable
- /* Make clicks pass-through */
- $color-progress: #f8af09;
- #nprogress {
- pointer-events: none;
- }
- #nprogress .bar {
- position: fixed;
- z-index: 1031;
- top: 0;
- left: 0;
- width: 100%;
- height: 2px;
- background: $color-progress;
- }
- /* Fancy blur effect */
- #nprogress .peg {
- position: absolute;
- right: 0;
- display: block;
- width: 100px;
- height: 100%;
- box-shadow: 0 0 10px $color-progress, 0 0 5px $color-progress;
- opacity: 1;
- transform: rotate(3deg) translate(0, -4px);
- }
- .nprogress-custom-parent {
- position: relative;
- overflow: hidden;
- }
- .nprogress-custom-parent #nprogress .bar {
- position: absolute;
- }
- //stylelint-enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement