mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles
Stephen Niedzielski 815f3386e3 Update: add secondary page actions submenu in AMC mode
When advanced mobile contributions mode is enabled and
`$wgMinervaOverflowInPageActions` is set, show a secondary overflow menu
on main namespace articles and user namespace pages. The menu content
varies for each namespace. The new submenu is *disabled* by default,
even when AMC is active. This feature should not be deployed until
instrumentation is available.

The secondary menu is rendered in PHP using the existing menu system
with some changes to the template. The checkbox hack is needed for no-
JavaScript keyboard navigation until :focus-within is supported. CSS
additions are documented in the source.

All client side toolbar execution occurs in Toolbar.js. Enhancements are
documented in the source.

Minor changes to the existing download button:
- Move download and edit button initialization to Toolbar.
- Update copy (not visible) from "Download" to "Download PDF".
- When the overflow menu is present, use the "hasText" / label style.

Wikimedia UI icons are copied from OOUI at d00a0ac and seem useful to
expose as HTTP URIs (not data URIs).

The overflow menu does not show for pages provided by the content proxy
since its entries depend on $tpl->data['nav_urls'] being populated.

Bug: T216418
Depends-On: I0781151a8232b6a7b52f79a34298afcecb8e4271
Change-Id: I4b50a0e519024a7ab91dae6ab40b23cf14a03861
2019-04-19 14:51:17 +00:00
..
print build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
common.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
footer.less Cleanup: Last modified active color should be loaded via JS 2018-07-10 22:45:24 +00:00
images.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
pageactions.less Update: add secondary page actions submenu in AMC mode 2019-04-19 14:51:17 +00:00
reset.less Move html and body styles to 'ui.less' 2019-03-05 16:38:20 -08:00
ui.less Merge "Provide focus styles only in overlay" 2019-04-04 10:17:46 +00:00