-
Notifications
You must be signed in to change notification settings - Fork 141
Support Page Navigation Sidebar #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
bbef2c1
Asset: Add Bootstrap Javascript Utilities
Chng-Zhi-Xuan b7ce08d
Asset: Add page navigation CSS file
Chng-Zhi-Xuan dec6c37
Asset: Add slim-scroll class
Chng-Zhi-Xuan 4b06cc1
Asset: Add auto scroll function to page nav
Chng-Zhi-Xuan c2d2c6a
Add page navigation feature
Chng-Zhi-Xuan 377b34f
Docs: Add page navigation to documentation
Chng-Zhi-Xuan 4508944
Test: Update Site unit tests
Chng-Zhi-Xuan c7722c9
Test: Add page navigation to test site
Chng-Zhi-Xuan 9a20ab5
Test: Update expected files folder
Chng-Zhi-Xuan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,50 @@ | ||
| /* Page navigation */ | ||
|
|
||
| #page-nav { | ||
| border-left: solid 1px lightgrey; | ||
| display: inline-block; | ||
| max-height: 80vh; | ||
| overflow: auto; | ||
| position: fixed; | ||
| right: 0; | ||
| transition: 0.4s; | ||
| width: 300px; | ||
| -webkit-transition: 0.4s; | ||
| } | ||
|
|
||
| #page-nav a:link, | ||
| #page-nav a:visited { | ||
| color: #9b9b9b; | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| #page-nav a:hover{ | ||
| color: black; | ||
| } | ||
|
|
||
| #page-nav a.active { | ||
| background-color: transparent; | ||
| color: black; | ||
| } | ||
|
|
||
| #page-nav-content-wrapper { | ||
| margin-right: 300px; | ||
| transition: 0.4s; | ||
| -webkit-transition: 0.4s; | ||
| } | ||
|
|
||
| /* Responsive site navigation */ | ||
|
|
||
| /* Hides page navigation on screen widths smaller than 1300px */ | ||
| @media screen and (max-width: 1299.98px) { | ||
|
|
||
| #page-nav { | ||
| overflow: hidden; | ||
| padding: 0; | ||
| width: 0px; | ||
| } | ||
|
|
||
| #page-nav-content-wrapper { | ||
| margin-right: 0; | ||
| } | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.