mediawiki-skins-Vector/resources/skins.vector.styles/index.less
jdlrobson 9f2ca0d072 Refactor: Portal is also a Menu
To complete the refactor, the Portal is also refactored
as a Menu using the getMenu function.

An old code path supporting portals outputted by hooks with
strings is marked as deprecated to simplify this code in future.

array-portals-first -> data-portals-first (the value is not
an array)

Changes:
* $this->getLanguages and  $this->getToolbox() always returns an array (see BaseTemplate)
but we previously supported portals made using raw HTML. Let's move away from that
behaviour and deprecate it.
* Hooks are moved into buildSidebarProps and marked as deprecated where possible
(SkinTemplateToolboxEnd). SidebarBeforeOutput can be used instead.

Bug: T249372
Change-Id: I2549af3e24e5d51c09e9a88ca50a0d9b2e154c3f
2020-05-07 16:56:59 -07:00

35 lines
803 B
Plaintext

// Modern Vector stylesheets
@import '../../variables.less';
@import 'mediawiki.mixins.less';
@media screen {
@import 'layout.less';
// FIXME: Will be removed with new header.
@import 'legacy/background-gradient.less';
@import 'common/content.less';
@import 'common/typography.less';
// Components
@import 'Logo.less';
@import 'Indicators.less';
@import 'SiteNotice.less';
@import 'Menu.less';
@import 'SearchBox.less';
@import 'MenuTabs.less';
@import 'TabWatchstarLink.less';
@import 'MenuDropdown.less';
@import 'MenuPortal.less';
@import 'Sidebar.less';
@import 'SidebarLogo.less';
@import 'Footer.less';
@import 'EmphasizedSidebarAction.less';
}
// Support: IE8
// Media query hack required.
@import 'TabWatchstarLink-ie8.less';
// Media: Print
@import 'common/print.less';