mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
hygiene: Make LESS imports non-ambigious
Some LESS parsers will get confused with the lack of file extension. It's better to be explicit and in alignment with recent change in core I379334d7729e587a2a00. It was already weirdly mixed in this repo with some imports featuring extension and some not. Change-Id: If5065cf9e30289de9b4fd33315bd65b75959ecb7
This commit is contained in:
parent
a5fe72696b
commit
f2695a5bf3
|
@ -3,7 +3,7 @@
|
|||
* prepended with @noflip in a comment block.
|
||||
*
|
||||
*/
|
||||
@import 'mediawiki.mixins';
|
||||
@import 'mediawiki.mixins.less';
|
||||
|
||||
/* Framework */
|
||||
html {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@import 'mediawiki.mixins';
|
||||
@import 'personalNavigation';
|
||||
@import 'search';
|
||||
@import 'tabs';
|
||||
@import 'mediawiki.mixins.less';
|
||||
@import 'personalNavigation.less';
|
||||
@import 'search.less';
|
||||
@import 'tabs.less';
|
||||
|
||||
/* Hide, but keep accessible for screen-readers */
|
||||
#mw-navigation h2 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@import 'mediawiki.mixins';
|
||||
@import 'mediawiki.ui/variables';
|
||||
@import 'mediawiki.mixins.less';
|
||||
@import 'mediawiki.ui/variables.less';
|
||||
|
||||
/* Search */
|
||||
#p-search {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@import '../variables';
|
||||
@import 'mediawiki.mixins';
|
||||
@import '../variables.less';
|
||||
@import 'mediawiki.mixins.less';
|
||||
|
||||
/**
|
||||
* Styling for namespace tabs (page, discussion) and views (read, edit, view history, watch and other actions)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@import '../variables';
|
||||
@import 'mediawiki.mixins.rotation';
|
||||
@import '../variables.less';
|
||||
@import 'mediawiki.mixins.rotation.less';
|
||||
|
||||
/* Watch/Unwatch Icon Styling */
|
||||
/* Only use icon if the menu item is not collapsed into the "More" dropdown
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
instead of to the side of it. They also hide the logo, as there's no space
|
||||
left for it.
|
||||
*/
|
||||
@import 'mediawiki.ui/variables';
|
||||
@import 'mediawiki.ui/variables.less';
|
||||
|
||||
@media screen and ( max-width: @width-breakpoint-tablet ) {
|
||||
#mw-head {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@import 'mediawiki.ui/variables';
|
||||
@import 'mediawiki.ui/variables.less';
|
||||
@import '../variables.less';
|
||||
|
||||
/* mediawiki.notification */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@import 'mediawiki.ui/variables';
|
||||
@import 'mediawiki.ui/variables.less';
|
||||
|
||||
@font-size-root: 100%;
|
||||
@font-size-browser: 16; // Assumed browser default of `16px`
|
||||
|
|
Loading…
Reference in a new issue