2021-02-02 10:04:37 +00:00
|
|
|
/**
|
|
|
|
* Vector modern stylesheets
|
|
|
|
* See '../common/common.less' for common screen and print Vector stylesheets.
|
|
|
|
*/
|
2020-04-09 19:16:36 +00:00
|
|
|
|
2021-02-02 10:04:37 +00:00
|
|
|
@import '../common/variables.less';
|
2020-04-28 01:44:16 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2020-03-10 21:01:09 +00:00
|
|
|
|
2020-03-10 19:13:42 +00:00
|
|
|
@media screen {
|
2021-02-02 10:04:37 +00:00
|
|
|
// Layouts
|
|
|
|
@import './layouts/screen.less';
|
2020-04-09 19:16:36 +00:00
|
|
|
|
|
|
|
// Components
|
2022-04-27 19:32:19 +00:00
|
|
|
@import './components/ArticleToolbar.less';
|
2021-02-02 10:04:37 +00:00
|
|
|
@import './components/SearchBoxLoader.less';
|
|
|
|
@import './components/VueEnhancedSearchBox.less';
|
|
|
|
@import './components/Sidebar.less';
|
|
|
|
@import './components/LanguageButton.less';
|
2021-05-24 22:02:26 +00:00
|
|
|
@import './components/UserLinks.less';
|
2021-09-09 21:03:15 +00:00
|
|
|
@import './components/Header.less';
|
2021-08-30 22:44:00 +00:00
|
|
|
@import './components/StickyHeader.less';
|
2022-01-11 19:52:26 +00:00
|
|
|
@import './components/TableOfContents.less';
|
2020-03-10 19:13:42 +00:00
|
|
|
}
|
|
|
|
|
2020-07-29 18:15:08 +00:00
|
|
|
@media all {
|
2021-02-02 10:04:37 +00:00
|
|
|
// Component styles that should apply in all media.
|
|
|
|
@import './components/Logo.less';
|
2020-07-29 18:15:08 +00:00
|
|
|
}
|
|
|
|
|
2020-07-23 17:43:10 +00:00
|
|
|
@media print {
|
2021-02-02 10:04:37 +00:00
|
|
|
@import './layouts/print.less';
|
2020-07-23 17:43:10 +00:00
|
|
|
}
|
2022-04-19 21:56:29 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Respect users who prefer reduced motion.
|
|
|
|
* This code can be removed if and when it is upstreamed to ResourceLoaderSkinModule
|
|
|
|
* (see T254399).
|
|
|
|
*/
|
|
|
|
/* stylelint-disable declaration-no-important, time-min-milliseconds */
|
|
|
|
@media ( prefers-reduced-motion: reduce ) {
|
|
|
|
*,
|
|
|
|
:before,
|
|
|
|
:after {
|
|
|
|
animation-delay: -1ms !important; /* 1 */
|
|
|
|
animation-duration: 1ms !important; /* 1 */
|
|
|
|
animation-iteration-count: 1 !important; /* 1 */
|
|
|
|
background-attachment: initial !important; /* 2 */
|
|
|
|
scroll-behavior: auto !important; /* 3 */
|
|
|
|
transition-delay: 0s !important; /* 4 */
|
|
|
|
transition-duration: 0s !important; /* 4 */
|
|
|
|
}
|
|
|
|
}
|