-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
Theme: Allow navigation menu to be always collapsed #1032
Comments
Almost finished. Will do latest tests at night and you will have it. 😉 |
Unbelievable! You are a genius.. |
Done. Please give it a good try before it goes to the final release. |
nice, but I need to make the window very small to make the menu disappear.
|
Kay, I don't understand what you're talking about. I added an option Always collapsed in theme settings, under Navigation Menu part. |
Ok, didn't find it. I'll have an other look after boys day. Do you also
implement a control for screen width for auto collapse?
Am 7. März 2018 7:10:57 Nachm. schrieb Ilia Rostovtsev
<notifications@github.com>:
… Kay, I don't understand what you're talking about. I add an option _Always
collapsed_ in theme settings, under Navigation Menu part.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#1032 (comment)
|
Screen width? Do you mean if the content (right) part will also get bigger? If so - of course I did! |
Sure, the theme is so simple in its core. Let's raise complexity a bit more! I'll try! 😉 |
Hey boy. who is Mr. Perfect ;-)) BTW: you may able to remove the "always hide" option if you interpret most rigth position of "Auto hide" slider as "always" |
I was posting comments at webmin forum but I guess I should post here on authentic-theme. When the nav pane is collapsed the right pane expands to full screen width. However if I now show (uncollapse) the nav pane it in fact obscures part of the right pane still set at 100% width. I expected the left and right panes to adjust width. I have learned by experimenting that when using a custom module I can dynamically change settings by changing values in For example I can change settings_navigation_always_collapse=false; This next point might be a separate issue but when I hover cursor over the pie diagrams in System Information page the cursor arrow changes to another image. I don't remember seeing this effect before. The cursor changes back to arrow when moved away from pie charts. |
Kay, I'm not sure why we should show the switch always. Having it in the same color as the menu - okay, sounds reasonable. I will do it. But there are around 10 themes, as far as I remember to go integration with. I think there is no reason to make things more complex with the logic. We have the option to always hide the navigation menu. Go with it, if you need to? If you still think otherwise, please convince me. @datavectors I didn't understand what you were trying to say. Sorry. What did not work for you? |
I'm fine with your decision about the switch. any chance for adjustable auto collapse width? |
I will try to be clearer. (1) Nav pane collapsed: <===================================⇒ only right pane is displayed at 100% browser width (2) Nav pane expanded: <===================================⇒ right pane is still displayed at 100% browser width (3) Preferred display after expanding nav pane from collapsed state:
<=========> left nav pane is open at 264 px default width |
If a user opens the collapsed menu he usually want's to go away, so why it's needed to resize the content window? |
Kay, okay. At first I made the switch (you call it hamburger) blend with the menu color. Give it a try. |
very cool! l call it hamburger because the menu symbol looks like a hamburger with one paddy :-) it's also called hamburger menu on android and iOS and others http://codetheory.in/android-navigation-drawer/ |
Cool. Anyway, hamburgers are not healthy. 😉 |
Okay, I have made a fix, that will keep the menu hidden for all devices with resolution lower than 1152px in the width. There are also changes at how fixed right slider behave. Now it's required minimum resolution of 1400px for it to be shown as fixed. It's really easier now to work on devices with smaller screens. Give it a try and you will see. Thank you all. |
nice! works likea charm. first I was afraid 1152 is to big, but seems my tablet has a viewport of 1200*800 works perfekt! |
For small devices and on module request, see SourceForge.
The text was updated successfully, but these errors were encountered: