mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 14:23:53 +00:00
Restore Minerva specific userpage styles for all user pages
In T182162 these were removed incorrectly. They should only have been partially removed. Bug: T187222 Change-Id: Ia3fb34250714fe4ccb10c32a7027fda167e06a16
This commit is contained in:
parent
22104a41a2
commit
196fb20836
|
@ -1452,6 +1452,9 @@ class SkinMinerva extends SkinTemplate implements ICustomizableSkin {
|
|||
];
|
||||
if ( $title->isMainPage() ) {
|
||||
$styles[] = 'skins.minerva.mainPage.styles';
|
||||
} elseif ( $this->getUserPageHelper()->isUserPage() ) {
|
||||
$styles[] = 'skins.minerva.userpage.styles';
|
||||
$styles[] = 'skins.minerva.userpage.icons';
|
||||
}
|
||||
|
||||
return $styles;
|
||||
|
|
|
@ -1,17 +1,6 @@
|
|||
/*
|
||||
FIXME: Remove file and module (and skins.minerva.userpage.icons)
|
||||
when mobile.userpage.icons everywhere (T182162)
|
||||
*/
|
||||
|
||||
@import 'minerva.variables';
|
||||
@import 'minerva.mixins';
|
||||
|
||||
.tagline {
|
||||
color: @colorGray5;
|
||||
font-size: 0.8em;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.user-links {
|
||||
margin: 15px 0 0 0;
|
||||
li {
|
||||
|
@ -32,32 +21,3 @@ when mobile.userpage.icons everywhere (T182162)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cta-holder {
|
||||
background-color: @colorGray14;
|
||||
.box-sizing( border-box );
|
||||
padding: 30px 20px;
|
||||
text-align: center;
|
||||
border-radius: @borderRadius;
|
||||
|
||||
.icon {
|
||||
margin: 0 auto 20px;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
// be specific in order to override default padding
|
||||
.content & h3 {
|
||||
font-size: 1em;
|
||||
font-family: sans-serif;
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
color: @colorGray7;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -184,8 +184,7 @@
|
|||
"class": "ResourceLoaderImageModule",
|
||||
"selector": ".mw-ui-icon-mf-{name}:before, .mw-ui-icon-{name}:before",
|
||||
"images": {
|
||||
"talk": "resources/skins.minerva.userpage.icons/talk.svg",
|
||||
"userpage": "resources/skins.minerva.userpage.icons/userpage.svg"
|
||||
"talk": "resources/skins.minerva.userpage.icons/talk.svg"
|
||||
}
|
||||
},
|
||||
"skins.minerva.userpage.styles": {
|
||||
|
|
Loading…
Reference in a new issue