Skip to content

Commit

Permalink
Add side menu support + other core layout changes
Browse files Browse the repository at this point in the history
-A new side menu option was added for displaying menu items vertically on the left-hand side of the page
-Added a new script called OverlayScrollbars v1.13.3 for displaying custom scrollbars on the mobile menu (both top and side menu) in the event that they extend beyond the visible screen
-Updated the market menu dropdown colors to better match the base menu colors (default, light and dark colors only)
-Updated the Exor theme to v3.0.1 with a few small fixes for displaying menu items in the side menu and updated market dropdown colors
-Updated how the richlist pie chart is sized to prevent it from creating unnecessary scrollbars because of the side menu
-Search field and button are now hidden in the top menu when the mobile menu is expanded to make it easier to scroll through menu items
-Added a tooltip title to the top menu search and menu toggler buttons
  • Loading branch information
joeuhren committed Sep 18, 2022
1 parent ed96eb7 commit 261c2b6
Show file tree
Hide file tree
Showing 8 changed files with 1,104 additions and 144 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Table of Contents
- jqPlot v1.0.9
- Chart.js v3.6.1
- chartjs-plugin-crosshair v1.2.0 ([https://github.com/abelheinsbroek/chartjs-plugin-crosshair](https://github.com/abelheinsbroek/chartjs-plugin-crosshair))
- OverlayScrollbars v1.13.3
- flag-icon-css v4.1.4 ([https://github.com/lipis/flag-icon-css](https://github.com/lipis/flag-icon-css))
- Platform independent (tested to run on Windows, MacOS and Linux) **NOTE:** Most of the instructions in this guide were written for use with Linux and may need to be modified when using another OS
- Mobile-friendly
Expand Down
4 changes: 4 additions & 0 deletions lib/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ exports.shared_pages = {
"show_hashrate": true,
// page_header: A collection of settings that pertain to the page header that is displayed at the top of all pages
"page_header": {
// menu: Valid options:
// top: display menu items horizontally across the top of the page
// side: display menu items vertically across the left-hand side of the page
"menu": "top",
// sticky_header: Determine whether page header "sticks" to top of page or not (true/false)
"sticky_header": true,
// bgcolor: Change the background color of the page header
Expand Down
Loading

0 comments on commit 261c2b6

Please sign in to comment.