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';
|
2023-11-07 16:29:17 +00:00
|
|
|
@import 'page-issues/styles.less';
|
2023-10-30 22:41:43 +00:00
|
|
|
@import 'Toolbar.less';
|
2018-04-13 17:17:36 +00:00
|
|
|
|
2023-11-07 16:29:17 +00:00
|
|
|
.minerva-icon--download {
|
2024-09-25 00:23:04 +00:00
|
|
|
.cdx-mixin-css-icon( @cdx-icon-download, @color-subtle );
|
2023-11-07 16:29:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.minerva-icon--listBullet {
|
2024-09-25 00:23:04 +00:00
|
|
|
.cdx-mixin-css-icon( @cdx-icon-list-bullet, @color-subtle );
|
2023-11-07 16:29:17 +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;
|
2024-01-31 15:06:56 +00:00
|
|
|
background: @opaque;
|
|
|
|
z-index: @z-index-above-content;
|
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
|
2024-09-25 17:03:14 +00:00
|
|
|
a.last-modified-bar.active {
|
2024-03-15 21:10:00 +00:00
|
|
|
background-color: @background-color-progressive;
|
2024-09-25 17:03:14 +00:00
|
|
|
color: @color-inverted-fixed !important;
|
2023-07-19 11:00:13 +00:00
|
|
|
|
|
|
|
.last-modified-text-accent,
|
|
|
|
a {
|
2024-05-17 21:15:39 +00:00
|
|
|
color: @color-inverted-fixed;
|
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 {
|
2024-05-17 21:15:39 +00:00
|
|
|
background-color: @color-inverted-fixed;
|
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
|
|
|
}
|