mediawiki-skins-MinervaNeue/resources/skins.minerva.userpage.styles/userpage.less
jdlrobson c5d09c0288 Prefix icons in Minerva
Changes:
* MinervaUI will now prefix any icons with `minerva`
* Update definitions in skin.json, retaining selectors for cached
HTML for icons that are rendered via PHP.
* In I9021c53c2c04bdd7ce395eed33d89986acbfea6d watch and watched
and arrow are moved to MobileFrontend so are removed from the RL module
skins.minerva.icons.images.scripts as they are not
used directly in this repo. user and anonymous are no longer used
so also removed.
* Presentation of userpage now belongs to MobileFrontend. Icons
are styles were moved there in depends on. They are retained in
skin.json to support cached HTML as user pages are subject to
cache. They can be removed in a week.
* In code review we noticed the anonymous icon was badly named. We
rename to login. No caching implications.
* Main menu icons are now prefixed with minerva rather than mf to
reflect where they come from.

Depends-On: I9021c53c2c04bdd7ce395eed33d89986acbfea6d
Bug: T182162
Change-Id: I93264024f4915fc910c792b1905b89cdc6b8b546
2018-01-19 15:30:03 -08:00

64 lines
977 B
Plaintext

/*
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 {
display: inline-block;
& + li {
margin-left: 4px;
&:before {
content: '·';
right: 2px;
position: relative;
}
}
}
.mw-ui-icon-talk {
&:before {
// FIXME: this shouldn't be necessary
margin-right: 0.5em;
}
}
}
.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;
}
}