Skip to content
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

Flyout #60

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open

Flyout #60

wants to merge 52 commits into from

Conversation

darko-hrgovic
Copy link

Flyout button z-index lower than mobile menus

Main menu items with no children need bg color so flyout button doesn't poke through

Moved flyout button out of nav structure in page.tpl.php so z-index on menu works

Other improvements/fixes to make it work with our flyout needs

joelpittet and others added 30 commits January 4, 2018 17:59
* add sticky option related changes

* apply debouncing scroll events
* add dependecies for postcss and autoprefixer

* Tweak npm script to work without npx on the end CSS
…es#51)

* Develop (ubc-web-services#49)

* Fix whitespace in theme-settings.php

* Fix whitespace in template.php

* Fix for class generation in ubc-web-services#33

* Initial commit

* Add Drawer region; Drawer is now working

* Add sticky navigation option; sticky option is now working

* Control loading JS, CSS files when drawer option is disabled/enabled

* Rename drawer button; fix conditionals on page.tpl.php

* Remove inactive options

* Give default value to clf_navigation_placement

* Use Drupal behaviors to JS

* Fix namespace conflict

* Fix overflow issue; add drawer slide-in trigger to hamburger button

* Replaced the rendered $drawer_nav template variable with the new drawer region rendering.

But the contents of $drawer_nav into a renderable array instead of the rendered string
and stored it in the region.

Replaced $containerstart/$containerend with a div and added attributes to it instead of
possible duplicate wrapper divs since we are adding a new one anyways.

* Make the region printing the primary menu optional

* Change arrow direction&color; adjust arrow theme in drawer region

* Remove unnecessary important keywords & in-line styles;

* Add BEM class; adjust line-height of drawer button

* remove unncessary params & args in js file

* move adding sticky option to a separate PR

* remove sticky option related CSS/JS files

* make the labels clearer

* replace navigation_placement to drawer_region

* add less source file

* adjust wording on theme appearance form
…primary nav is a good idea if choosing not to use the primary nav in the drawer, otherwise primary nav goes away entirely
…s by creating a separate containing div for the flyout
… where secondary menu was not expanding on click
… obfuscates content. This should be done dynamically on click.
…d overrides it in a child theme and it should be there in megatron
@occupant
Copy link
Member

Hi Darko, I'm finally getting back to Megatron (had a bug I had to fix), so I should get this in there too :)

Just wondering about the 3 pull requests - this one includes #58 and #59, is that correct?

Let me know and I'll go through everything here and we can get it into place.

@darko-hrgovic
Copy link
Author

darko-hrgovic commented Jun 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants