mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 10:48:29 +00:00
111757970e
As Stephen pointed out somewhere, this is a bit of a micro-optimisation Let's simplify this code by always rendering it in the HTML. MainMenu.js as a result becomes a controller that just decides when to show it. The geolocation check for Nearby is removed given the fact that all grade A browsers for mediawiki have Geolocation support Additional changes * Browser support suggests "animations" class is redundant now * `open` event no longer filed - not being used anywhere * Transparent shield is now managed by the MainMenu controller not the skin (which was confusing) * Test geolocation using a simple feature tests rather than abstracting it away inside Browser * The main menu button is always hidden under either a translucent shield and/or the main menu itself when it has been opened so so it's not possible to ever click it while the menu is open - the click handler is thus simplified removing a check for the class of the button Depends-On: I7fd243366cceae780bd46e1aef2c08dae073f647 Change-Id: I3892afb5ed3df628e2845043cf3bbc22a9928921 |
||
---|---|---|
.. | ||
ext.confirmEdit.fancyCaptcha.styles | ||
ext.echo.styles.special | ||
mediawiki.action.edit.styles | ||
mediawiki.content-json | ||
mediawiki.editfont.styles | ||
mediawiki.hlist | ||
mediawiki.page.gallery.styles | ||
mediawiki.skinning.content.parsoid | ||
mediawiki.special.search.styles | ||
mediawiki.special.userlogin.common.styles | ||
mediawiki.ui.icon | ||
mobile.languages.structured | ||
mobile.notifications.overlay | ||
mobile.special.mobilediff.styles | ||
mobile.special.mobilemenu.styles | ||
mobile.special.mobileoptions.styles | ||
mobile.special.styles | ||
mobile.startup | ||
mediawiki.action.history.styles.less | ||
mediawiki.interface.helpers.styles.less | ||
mediawiki.rcfilters.filters.ui.less | ||
mediawiki.special.changeslist.legend.less | ||
mediawiki.special.changeslist.less | ||
README.txt |
If a module introduced by MobileFrontend has Minerva specific styles they are added here and applied as part of ResourceModuleSkinStyles.