mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-03 19:57:19 +00:00
fe03bb50ef
New menu items can be added via ``` var node = mw.util.addPortletLink('p-dock-bottom', '#', 'hello' ) if (node) { node.querySelector('a').classList.add( 'mw-ui-icon', 'mw-ui-icon-element', 'mw-ui-button' ) } ``` Bug: T336431 Change-Id: I8c5c5414cda9d268631ba0fade90e1a44c104ff1
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
/**
|
|
* Vector modern stylesheets
|
|
* See '../common/common.less' for common screen and print Vector stylesheets.
|
|
*/
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
@import '../common/variables.less';
|
|
@import '../common/mixins.less';
|
|
|
|
@media screen {
|
|
.vector-feature-zebra-design-disabled {
|
|
// Layouts
|
|
@import './layouts/screen.less';
|
|
@import './layouts/preZebra.less';
|
|
@import './layouts/grid.less';
|
|
@import './layouts/toc/pinned.less';
|
|
@import './layouts/toc/unpinned.less';
|
|
// Components
|
|
@import './components/Dropdown.less';
|
|
@import './components/MainMenu.less';
|
|
@import './components/PinnableElement.less';
|
|
@import './components/PinnableHeader.less';
|
|
@import './components/PageTools.less';
|
|
@import './components/StickyHeader.less';
|
|
@import './components/TableOfContents.less';
|
|
}
|
|
}
|
|
|
|
@media screen {
|
|
// Components
|
|
@import './components/Button.less';
|
|
@import './components/LanguageDropdown.less';
|
|
@import './components/UserLinks.less';
|
|
@import './components/Header.less';
|
|
@import './components/Icon.less';
|
|
@import './components/Footer.less';
|
|
@import './components/Menu.less';
|
|
@import './components/MenuTabs.less';
|
|
@import './components/PageTitlebar.less';
|
|
@import './components/PageToolbar.less';
|
|
@import './components/PopupNotification.less';
|
|
@import './components/SearchBox.less';
|
|
@import './components/Watchstar.less';
|
|
@import './components/BottomDock.less';
|
|
}
|
|
|
|
@media all {
|
|
// Component styles that should apply in all media.
|
|
@import './components/Logo.less';
|
|
}
|
|
|
|
@media print {
|
|
@import './layouts/print.less';
|
|
}
|
|
|
|
@import './layouts/gradeC.less';
|