mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-13 14:48:28 +00:00
ca28efc9c7
This restores the previously reverted patchset If5b76245bf60bfa9cf977cdbf37ee0d6bb65f9d9 Changes since original: * Added Depends-On to MobileFrontend * Uses OOUI classes for page issues rather than es6 classes - ES6 classes do not support modifications to class prior to running super so MobileFrontend's View class is not compatible without significant refactors. Depends-On: I24ad75adf8519102ca356d64d99d765ab69180cc Bug: T348807 Change-Id: I4ff82af0251254c846f2caee330af5af738f6029
73 lines
1.4 KiB
Plaintext
73 lines
1.4 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
@import 'mediawiki.mixins.less';
|
|
@import 'toc.less';
|
|
@import 'watchStar.less';
|
|
@import 'page-issues/styles.less';
|
|
@import 'Toolbar.less';
|
|
|
|
.minerva-icon--download {
|
|
.cdx-mixin-css-icon( @cdx-icon-download, #54595d );
|
|
}
|
|
|
|
.minerva-icon--listBullet {
|
|
.cdx-mixin-css-icon( @cdx-icon-list-bullet, #54595d );
|
|
}
|
|
|
|
.mw-mf-page-center__mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
opacity: 0;
|
|
bottom: 0;
|
|
background: @semiTransparent;
|
|
z-index: @z-indexAboveContent;
|
|
// don't use display: none because it's not animatable
|
|
visibility: hidden;
|
|
transition: opacity @transition-duration-base ease-in-out;
|
|
}
|
|
|
|
.navigation-enabled {
|
|
.mw-mf-page-center__mask {
|
|
visibility: visible;
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
// Last modified bar styles
|
|
.last-modified-bar.active {
|
|
background-color: @lastModifiedBarActiveBackgroundColor;
|
|
color: @color-inverted;
|
|
|
|
.last-modified-text-accent,
|
|
a {
|
|
color: @color-inverted;
|
|
}
|
|
|
|
.minerva-icon {
|
|
background-color: @color-inverted;
|
|
}
|
|
}
|
|
|
|
// Used by last modified bar and in MobileFrontend (i.e. MobileSpecialPageFeed.php, ImageCarousel.js)
|
|
.truncated-text {
|
|
.text-overflow( @visible: false );
|
|
}
|
|
|
|
@keyframes fadeInImage {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
// When the image has loaded transition background color and image opacity
|
|
// for a fade-in effect
|
|
img.image-lazy-loaded {
|
|
animation: fadeInImage 300ms ease-in;
|
|
}
|