-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: showing progress while page is being loaded (#485)
- Loading branch information
1 parent
a830808
commit e48d98c
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#nprogress { | ||
pointer-events: none; | ||
} | ||
|
||
#nprogress .bar { | ||
background: #3f76ff; | ||
|
||
position: fixed; | ||
z-index: 1031; | ||
top: 0; | ||
left: 0; | ||
|
||
width: 100%; | ||
height: 0.2rem; | ||
} | ||
|
||
/* for blur effect */ | ||
#nprogress .peg { | ||
display: block; | ||
position: absolute; | ||
right: 0px; | ||
width: 100px; | ||
height: 100%; | ||
box-shadow: 0 0 10px #3f76ff, 0 0 5px #3f76ff; | ||
opacity: 1; | ||
|
||
-webkit-transform: rotate(3deg) translate(0px, -4px); | ||
-ms-transform: rotate(3deg) translate(0px, -4px); | ||
transform: rotate(3deg) translate(0px, -4px); | ||
} | ||
|
||
.nprogress-custom-parent { | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
.nprogress-custom-parent #nprogress .bar { | ||
position: absolute; | ||
} |
e48d98c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
plane-dev – ./apps/app