* [4.1] Add label to the collapsible menu
This PR takes the module title and uses it as an aria-label for the nav container of the default collapsible menu and the collapse-metismenu override in cassiopeia.
* space
* Update collapse-default.php
* Update collapse-metismenu.php
* code style
* Update modules/mod_menu/tmpl/collapse-default.php
Co-authored-by: Quy <quy@fluxbb.org>
* Update templates/cassiopeia/html/mod_menu/collapse-metismenu.php
* Icon in menu
* metismenu component
* Enable menu with icon only
* cs
* Make .xml files similiar for all menu item types
* re-use existing language string
* Equal usage of icon and image in all itemMenu types
* Equal usage of icon and image in metismenu overrides
* Update modules/mod_menu/tmpl/default_component.php
Co-authored-by: Quy <quy@fluxbb.org>
* fix notice
* Update modules/mod_menu/src/Helper/MenuHelper.php
Co-authored-by: Quy <quy@fluxbb.org>
* Suggested changes
* Change the fieldname to menu_icon_class and add description
* Update modules/mod_menu/tmpl/default_heading.php
Co-authored-by: Brian Teeman <brian@teeman.net>
* Update modules/mod_menu/tmpl/default_separator.php
Co-authored-by: Brian Teeman <brian@teeman.net>
* Update modules/mod_menu/tmpl/default_component.php
Co-authored-by: Quy <quy@fluxbb.org>
* Update administrator/components/com_menus/forms/itemadmin_alias.xml
Co-authored-by: Quy <quy@fluxbb.org>
Co-authored-by: Quy <quy@fluxbb.org>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
I hope I got the comments and discussion right and problems are fixed so we are good to merge this as an improvement and example how someone can do it.
Continuation of #31772 this time for the two cassiopeia module chromes card and nocard
With this PR the aria values are only added if the module is NOT a div ie its a section etc
Fixes issues created by #31609
* [4.0] Cassiopeia module header class
Fixes a silly little error to make the module header class work as intended.
### To test
Create a module and publish it in the sidebar-right position
In the module options give it a header class eg broken
### before
`<h3 class="brokencard-header broken "`
### After
`<hr class="card-header broken"`
* tidy
* tidy
* Add handling of menu-horizontal class to _metismenu.scss
* Simplify CSS
* Fix too much CSS simplification
* Move styling for header section
* Add a css class for menu item level
* Simplify CSS more
* SCSS CS - Fix too deep nesting
* Fix unwanted margin
* Fix dropdown toggle in header
* Distinguish two different types of dropdown toggles
* New template images
* Revert "New template images"
This reverts commit f92f6f701bb9f9170f4e384bdd6775a92d98f1ba.
* RTL fix for dropdown toggle in header
* Add styling for metismenu in footer
* No separate dropdown toggle for menu items without a link
* Remove unnecessary css change
* SCSS fixes, thanks @drmenzelit
Co-authored-by: @drmenzelit
* Fix a11y
* Fix empty titles for heading and separator menu items
* Css improvements
Add underline for button
Add margin to toggler
Add style for focus state
* Correct height of li elements in submenu
* Add underline for button on submenu (menu position)
* Don't show submenu items if they shall be hidden
* Fix underline for active menu item in sidebar
* Fix parent menu item without link in mobile view
* Fix underline on sidebar, fix height of elements
* Avoid overflow in cards
Co-authored-by: Viviana Menzel <vivianamenzel@dr-menzel-it.de>
Co-authored-by: chmst <dev@chmst.de>