29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-24 22:39:31 +00:00
Commit Graph

82 Commits

Author SHA1 Message Date
Hans Kuijpers
6d209b3f6e
change "navbar navbar-expand-md" to "navbar navbar-expand-lg" (#40574) 2023-05-12 10:08:19 -04:00
Harald Leithner
e7f5cc182b Phase 1 convert CMS to PSR-12 2022-06-27 20:18:44 +02:00
ReLater
c7803633bb
Move Inline Css to HEAD (#37872) 2022-06-06 00:42:22 +02:00
Brian Teeman
5e995bb52b
[4.1] Add label to the collapsible menu (#36900)
* [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
2022-04-02 10:47:28 +02:00
Benjamin Trenkle
6dc01f5c49
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.1-dev
# Conflicts:
#	.drone.yml
#	administrator/components/com_admin/script.php
#	administrator/components/com_content/src/Model/ArticleModel.php
#	administrator/components/com_templates/src/View/Template/HtmlView.php
#	composer.lock
#	installation/sql/mysql/base.sql
#	installation/sql/postgresql/base.sql
#	layouts/plugins/editors/tinymce/field/tinymcebuilder.php
#	package-lock.json
#	package.json
#	tests/Codeception/api.suite.dist.yml
2021-12-31 16:28:26 +01:00
Sveinung Larsen
797840b717
[4.0] PHP 8.1 deprecation notices various (#36362) 2021-12-23 09:50:13 +01:00
Benjamin Trenkle
39807a496d
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.1-dev
# Conflicts:
#	.drone.yml
#	administrator/language/en-GB/install.xml
#	administrator/language/en-GB/langmetadata.xml
#	administrator/manifests/files/joomla.xml
#	administrator/manifests/packages/pkg_en-GB.xml
#	api/language/en-GB/install.xml
#	api/language/en-GB/langmetadata.xml
#	installation/language/en-GB/langmetadata.xml
#	language/en-GB/install.xml
#	language/en-GB/langmetadata.xml
#	libraries/src/Version.php
2021-12-18 15:27:04 +01:00
wilsonge
e19e420e58
Fix htmlspecialchars requires a string not null 2021-12-11 20:05:50 +00:00
Christiane Maier-Stadtherr
d99600a001
[4.x] Menu Items with icon only (#34658)
* 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>
2021-11-09 18:57:25 +01:00
Phil E. Taylor
b2f9ce9f1a
remove unused import (#35409) 2021-08-29 14:17:52 +02:00
Rick Spaan
b438be7a97
Fix Cassiopeia mobile breakpoint too small (#34780)
* Moved navbar breakpoint 1 up

* move breakpoint in css 1 up

* Fixed missing CSS custom property

* Undo breakpoint shift in Atum
2021-08-27 13:00:04 +02:00
Phil E. Taylor
67dfcebfa6
Correct FQCN (#35194) 2021-08-17 18:46:32 +01:00
Dimitris Grammatikogiannis
bdc8320d88
Align the paths for child templates (#35024) 2021-08-04 22:43:28 +01:00
Richard Fath
5385184c56
Revert "Fix metismenu caret wrapping (#34608)" (#34750)
This reverts commit 0d3efdb3b3.
2021-07-10 17:56:32 +01:00
Rick Spaan
0d3efdb3b3
Fix metismenu caret wrapping (#34608) 2021-06-27 11:19:00 +01:00
Rick Spaan
6226af3c8d
Added module ID to navbar elements (#34466) 2021-06-09 12:14:02 +02:00
Brian Teeman
aad273e703
[4.0] docblock (#34087)
Fixes the docblocks from ##33978
2021-05-21 23:56:58 +02:00
Viviana Menzel
c812f60e85
[4.0][Cassiopeia]Add new layouts to switch off Bootstrap Navbar Toggler (#33978)
* [4.0][Cassiopeia]Add parameter to switch off Bootstrap Navbar Toggler

* Change to extra layouts

* Use language string from module
2021-05-21 20:34:18 +02:00
Brian Teeman
d5508ea50a
[4.0] Fix tinymce template (#33130) 2021-05-07 09:27:26 +02:00
Dimitris Grammatikogiannis
c57cd15d1d
[4.0] Make lighthouse happy (#32141)
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.
2021-04-19 09:24:09 +02:00
Brian Teeman
3a34cf9549
[4.0] cassiopeia chrome fix [a11y] (#31821)
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
2021-01-12 11:05:06 +01:00
Phil Taylor
47e56a7a21
[4] Remove un-used imports (#31996)
Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
2021-01-10 22:04:24 +00:00
Brian Teeman
7935d489c8
[4.0] Cassiopeia module header class (#31771)
* [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
2020-12-24 08:17:40 +01:00
Hans Kuijpers
ea1c442544
change copyright year from 2019 to 2020 (#265) 2020-12-01 08:39:57 +01:00
Richard Fath
69fd3815d9 Fix default header_tag also for noCard 2020-11-28 22:05:10 +01:00
Richard Fath
21f82ee898
More copyright format
Co-authored-by: Brian Teeman <brian@teeman.net>
2020-11-28 20:47:02 +01:00
Richard Fath
ee53ef4824
Copyright format
Co-authored-by: Brian Teeman <brian@teeman.net>
2020-11-28 20:44:12 +01:00
Richard Fath
e549634138 Remove irrelevant comment 2020-11-28 20:09:14 +01:00
Richard Fath
6e5d3ebfa6 Merge branch '4.0-dev' into 4.0-dev-cassiopeia-development 2020-11-28 19:23:03 +01:00
Niels Braczek
3a5984d033
[4.0] Converted copyright statement to standard format (#31504) 2020-11-28 01:33:45 +00:00
Richard Fath
7aae42996d
[Metismenu] Horizontal metismenu at other places than the header section and other improvements (#234)
* 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
2020-11-16 11:26:00 +01:00
Richard Fath
bd6cf04f3e
[Metismenu] Rename metismenu layout and integrate js into build process (#221) 2020-11-08 19:35:28 +01:00
Richard Fath
73e0022902
Update metismenu.php 2020-10-27 17:47:47 +01:00
Richard Fath
125b3c8425
Rename to mod-menu-metismenu.js 2020-10-27 14:14:50 +01:00
Richard Fath
5cb256b7da
[Metismenu] Fix dropdown toggles and other fixes for metismenu (#195)
* 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>
2020-10-27 12:03:27 +01:00
Richard Fath
ae4c18d747 Fix appending anchor css to class 2020-10-19 14:14:44 +02:00
Christiane Maier-Stadtherr
1c3035c0f4
Fix default haeder-tag in card (#164)
Set default value for the module title tag to h3.
2020-10-02 10:16:00 +02:00
Richard Fath
027989ac83 Merge branch '4.0-dev' into development 2020-09-24 22:00:05 +02:00
Thomas Hunziker
fdb111c3c0
Remove the chrome "cardGrey". The same effect can be achieved by using the module class "card-grey" with the "card" chrome (#30734) 2020-09-24 20:40:17 +01:00
Richard Fath
36c6156b90 Merge branch '4.0-dev' into development 2020-09-24 12:50:13 +02:00
Thomas Hunziker
7a91649c19
[4.0] Cleanup cassiopeia chromes and rename "default" to "card" (#30729)
* Renaming the "default" chrome to "card" as it isn't a default chrome at all.

* There is no "xhtml" chrome anymore
2020-09-23 07:50:10 +02:00
Viviana Menzel
6911ae8787 Change dropdown toggle icon to triangle 2020-09-16 15:12:47 +02:00
Viviana Menzel
6ad05373ef New chrome noCard, shadow for cards, padding for positions 2020-09-13 12:38:00 +02:00
Richard Fath
b5fa694e96 Use button and not link as dropdown toggle 2020-09-01 12:57:12 +02:00
Benjamin Trenkle
8ed6eb5e54
Add missing class 2020-09-01 01:28:09 +02:00
Benjamin Trenkle
6f0db216a8
Fix wrong dropdown focus 2020-09-01 00:22:06 +02:00
Hans Kuijpers
fc6972b30f fix call to js 2020-08-30 20:49:26 +02:00
Hans Kuijpers
7a09eb4613 apply aria-haspopup aria-expanded on all menu types 2020-08-30 20:29:42 +02:00
Hans Kuijpers
be644ed602 call for metismenu_* alternate layouts 2020-08-30 20:28:37 +02:00
Hans Kuijpers
df0a6747a7 copy metismenu changes into default && rename default => metismenu 2020-08-30 20:16:00 +02:00