mediawiki-skins-MinervaNeue/minerva.less/minerva.mixins.less
jdlrobson a3efca1582 Remove unnecessary skins.minerva.base.styles
* truncated-text is only used in MainMenu, last modified bar,
 a few special pages
Making this a mixin and limiting it to mobile.startup skinStyles
and mobile.special.styles thus makes sense
* cloaked-element is only ever added by Skin.js in mobile.startup
* position-fixed is only ever added by Skin.js

Change-Id: Iaf7061e9dda87eb25c963f8a281175af08f358e5
2018-07-26 01:18:00 +00:00

19 lines
424 B
Plaintext

@import 'mediawiki.mixins.less';
@import 'minerva.variables.less';
@import 'mediawiki.mixins.animation.less';
// Generic mixin for applying styles to text that accompanies/adds context to workflows
.secondary-text() {
font-size: 0.9em;
color: @grayMedium;
margin-top: 0.5em;
line-height: 1.4;
}
.truncated-text() {
white-space: nowrap;
overflow: hidden;
-webkit-text-overflow: ellipsis;
text-overflow: ellipsis;
}