Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. // stylelint-disable
  2.  
  3. /* Make clicks pass-through */
  4. $color-progress: #f8af09;
  5.  
  6. #nprogress {
  7. pointer-events: none;
  8. }
  9.  
  10. #nprogress .bar {
  11. position: fixed;
  12. z-index: 1031;
  13. top: 0;
  14. left: 0;
  15. width: 100%;
  16. height: 2px;
  17. background: $color-progress;
  18. }
  19.  
  20. /* Fancy blur effect */
  21. #nprogress .peg {
  22. position: absolute;
  23. right: 0;
  24. display: block;
  25. width: 100px;
  26. height: 100%;
  27. box-shadow: 0 0 10px $color-progress, 0 0 5px $color-progress;
  28. opacity: 1;
  29.  
  30. transform: rotate(3deg) translate(0, -4px);
  31. }
  32.  
  33. .nprogress-custom-parent {
  34. position: relative;
  35. overflow: hidden;
  36. }
  37.  
  38. .nprogress-custom-parent #nprogress .bar {
  39. position: absolute;
  40. }
  41.  
  42. //stylelint-enable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement