]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Closes #10002 - Fixes responsive menu nested bug
authorharry <harmanmanchanda182@gmail.com>
Tue, 23 May 2017 18:40:50 +0000 (00:10 +0530)
committerharry <harmanmanchanda182@gmail.com>
Tue, 23 May 2017 18:40:50 +0000 (00:10 +0530)
commit947905019de60bf297d643b52fe77d0bb80654e7
tree6af0760a5cc1b46edd3c18b9e00c7ae0ab191905
parent27f6fea128a69c900f677e5527ce35b568999c55
Closes #10002 - Fixes responsive menu nested bug

Changes:
1. Nested margin
a. Global Variable
- Adds a Global Variable `global-menu-nested-margin`, 1 rem by default
b. Simple Menu
- `menu-nested-margin` defaults to `global-menu-nested-margin`
- `.nested` gets a mixin `menu-nested` with default arguments
c. Accordion Menu
- `accordionmenu-nested-margin` defaults to `global-menu-nested-margin`
- `.nested` gets a mixin `menu-nested` with `accordionmenu-nested-margin` as an argument
d. Dropdown Menu
- `dropdownmenu-nested-margin` defaults to `global-menu-nested-margin`
- `.nested` gets a mixin `menu-nested` with `dropdownmenu-nested-margin` as an argument
e. Drilldown Menu
- `drilldown-nested-margin` defaults to `global-menu-nested-margin`
- `.nested` gets a mixin `menu-nested` with `drilldown-nested-margin` as an argument

2. Drilldown Nesting Fixes
3. Added visual test case for nesting!
scss/_global.scss
scss/components/_accordion-menu.scss
scss/components/_drilldown.scss
scss/components/_dropdown-menu.scss
scss/components/_menu.scss
test/visual/menu/all-menus-flex.html
test/visual/menu/all-menus.html