mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 05:01:25 +00:00
bd83398659
Creates a new skins.vector.search module that replaces the searchSuggest module from MediaWiki core. This module creates a new Vue app using the WVUI search widget for the new search experience. The legacy search input form is still retains on pageload, and the new search kicks on search input focus. In order to manage that transition, the legacy search input is styled to resemble the new WVUI input, and the new input is manually focused after the component mounts. Vue is also added as a dev-dependency to help with type-checking. Other changes: * the entry in skin.json is reordered alphabetically after skins.vector.js Bug: T264355 Change-Id: Ibb9561a77a14734297cb4d0ddcd415fc0750b45d
35 lines
737 B
Plaintext
35 lines
737 B
Plaintext
// Modern Vector stylesheets
|
|
|
|
@import '../../variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
@media screen {
|
|
@import 'common/normalize.less';
|
|
@import 'layout.less';
|
|
@import 'common/typography.less';
|
|
|
|
// Components
|
|
@import 'Indicators.less';
|
|
@import 'SiteNotice.less';
|
|
@import 'Menu.less';
|
|
@import 'VueEnhancedSearchBox.less';
|
|
@import 'SearchBoxLoader.less';
|
|
@import 'MenuTabs.less';
|
|
@import 'TabWatchstarLink.less';
|
|
@import 'MenuDropdown.less';
|
|
@import 'MenuPortal.less';
|
|
@import 'Sidebar.less';
|
|
@import 'SidebarLogo.less';
|
|
@import 'Footer.less';
|
|
}
|
|
|
|
@media all {
|
|
// Component styles that should apply in all modes.
|
|
@import 'Logo.less';
|
|
}
|
|
|
|
@media print {
|
|
@import 'common/print.less';
|
|
@import 'layout-print.less';
|
|
}
|