2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2022-05-16 16:55:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2023-07-24 18:16:09 +00:00
|
|
|
@import 'toc.less';
|
2023-08-08 23:33:28 +00:00
|
|
|
@import 'watchStar.less';
|
2018-04-13 17:17:36 +00:00
|
|
|
|
2019-10-04 15:05:37 +00:00
|
|
|
.mw-mf-page-center__mask {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
opacity: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: @semiTransparent;
|
2023-05-26 15:29:03 +00:00
|
|
|
z-index: @z-indexAboveContent;
|
2019-10-04 15:05:37 +00:00
|
|
|
// don't use display: none because it's not animatable
|
|
|
|
visibility: hidden;
|
2022-05-16 16:55:54 +00:00
|
|
|
transition: opacity @transition-duration-base ease-in-out;
|
2019-10-04 15:05:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-enabled {
|
|
|
|
.mw-mf-page-center__mask {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-05 22:46:53 +00:00
|
|
|
// Last modified bar styles
|
2023-07-19 11:00:13 +00:00
|
|
|
.last-modified-bar.active {
|
|
|
|
background-color: @lastModifiedBarActiveBackgroundColor;
|
|
|
|
color: @color-inverted;
|
|
|
|
|
|
|
|
.last-modified-text-accent,
|
|
|
|
a {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-inverted;
|
2023-07-19 11:00:13 +00:00
|
|
|
}
|
2018-07-05 22:46:53 +00:00
|
|
|
|
2023-08-09 21:49:19 +00:00
|
|
|
.minerva-icon {
|
2023-07-19 11:00:13 +00:00
|
|
|
background-color: @color-inverted;
|
2018-04-13 17:17:36 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-05 22:46:53 +00:00
|
|
|
|
2021-11-03 17:09:33 +00:00
|
|
|
// Used by last modified bar and in MobileFrontend (i.e. MobileSpecialPageFeed.php, ImageCarousel.js)
|
2018-07-05 22:51:27 +00:00
|
|
|
.truncated-text {
|
2020-04-17 22:30:06 +00:00
|
|
|
.text-overflow( @visible: false );
|
2018-07-05 22:51:27 +00:00
|
|
|
}
|
|
|
|
|
2018-07-05 22:46:53 +00:00
|
|
|
@keyframes fadeInImage {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2018-07-05 22:46:53 +00:00
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// When the image has loaded transition background color and image opacity
|
|
|
|
// for a fade-in effect
|
|
|
|
img.image-lazy-loaded {
|
2023-04-09 13:49:29 +00:00
|
|
|
animation: fadeInImage 300ms ease-in;
|
2018-07-05 22:46:53 +00:00
|
|
|
}
|