Open stephan-koenig opened 1 year ago
Thanks @stephan-koenig I'll look into fixing this styling shortly, glad to see you are trying it out!
Thanks, @joelpittet!
@stephan-koenig I was thinking of taking the styles from this UBC site, it's not the CLF one as I think it's a bit nicer. Thoughts before I do that? https://finance.ubc.ca/payroll/your-pay
Or the one we use for CS: https://www.cs.ubc.ca/students/undergrad/careers
Preferences?
I think I like the first one better: https://finance.ubc.ca/payroll/your-pay
@rloftus, what do you think?
I agree, the first one is better @stephan-koenig
Ok it's not 100% there yet but there is some progress.
0.3.0
of the theme has the new style, use bundle update
to see
Ok it's not 100% there yet but there is some progress.
Looks already very neat! Thanks!
- [ ] Need to potentially collapse trees that are not active: @stephan-koenig Is what you're aiming for? This can be tricky because of the static nature of the way the menus are produced but probably not impossible.
I imagined that the navigation is interactive, i.e., clicking on the top level would reveal the child pages for any menu item. But yes, ideally, all submenus except the current one should be collapsed.
- [ ] Maybe more important the sub menu should probably not show the top level menu items but rather only the child pages?
I think it is better if the top level is shown so people know, e.g. if they are looking at the "Student Info" or "Faculty Info."
What do you think, @rloftus or @cheeren?
@stephan-koenig generally in the CLF the side menu shows the secondary menu items (if they exist) and the primary menu items are shown across the top. Are you proposing an alternative to that?
Regarding the interactivity, I was thinking the sub menu in the side menu would expand if you're on that "branch" (parent or child menu items), and siblings that have sub menu items would be collapsed by default but clicking the arrow would expand them, clicking the text would go to that page. That pattern is on the CS external website https://www.cs.ubc.ca/students/undergrad/careers
I must have misunderstood. The behaviour as you describe it sounds excellent!
Ok great, I'll try to sneak some time in on Friday to push this a bit further
Hi,
The headers in the navigation sidebar are expanded instead of hidden, so all subheaders are visible on page load, and the subheaders are formatted differently compared to UBC CLF.