-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Move warning count to sidebar (when sidebar is visible). #2165
Conversation
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
The message count was moved to the "hamburger" menu icon. Using more discreet color for the circle. Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
69a8701
to
3f50792
Compare
5c07215
to
97ffcb9
Compare
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.
I like the change. Two questions:
- The color of the icon on the sidebar seems brighter than on the hamburger menu. Is this really the case or only my color weakness?
- On mobile, the icon on the hamburger is still there even when the menu is expanded. Is this on purpose?
|
I knew I was tricked ;-)
I think it would be more streamlined with the behavior on bigger screens if it would be removed. But this is just my taste. I got two more points:
|
- fix top circle position; - fix circle background colors for each theme; - special CSS for LCARS theme; - change CSS selector for top navbar `<li>`: after removing the first item, the "old" second item became the first one. - use a better color for all themes; - hide submenu counter during animation; - hide the other counter when submenu is opened (mobile too) Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
9a8119c
to
521ecd7
Compare
Changed. |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-15-web-v5-12-and-core-v5-10-released/54987/1 |
By submitting this pull request, I confirm the following:
git rebase
)git commit --signoff
)What does this PR aim to accomplish?:
If sidebar is visible, the warning count will be shown there, if it's hidden (mobile) or collapsed the count will be shown on the "hamburger" icon.
How does this PR accomplish the above?:
Add tags to the sidebar to hold the warning count.
Remove the triangle icon.
Change the javascript function to update the new sidebar items
What documentation changes (if any) are needed to support this PR?:
none