mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-12 08:58:25 +00:00
a3efca1582
* 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
19 lines
424 B
Plaintext
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;
|
|
}
|