Debian Codegraph @

skins/MinervaNeue/resources/skins.minerva.scripts/styles.less

raw
1 @import '../../minerva.less/minerva.variables.less';
2 @import '../../minerva.less/minerva.mixins.less';
3 @import 'mediawiki.mixins.less';
4 @import 'toc.less';
5 @import 'page-issues/styles.less';
6 @import 'Toolbar.less';
7
8 .minerva-icon--download {
9 .cdx-mixin-css-icon( @cdx-icon-download, @color-subtle );
10 }
11
12 .minerva-icon--listBullet {
13 .cdx-mixin-css-icon( @cdx-icon-list-bullet, @color-subtle );
14 }
15
16 .mw-mf-page-center__mask {
17 position: absolute;
18 top: 0;
19 left: 0;
20 right: 0;
21 opacity: 0;
22 bottom: 0;
23 background: @opaque;
24 z-index: @z-index-above-content;
25 // don't use display: none because it's not animatable
26 visibility: hidden;
27 transition: opacity @transition-duration-base ease-in-out;
28 }
29
30 .navigation-enabled {
31 .mw-mf-page-center__mask {
32 visibility: visible;
33 opacity: 0.5;
34 }
35 }
36
37 // Last modified bar styles
38 a.last-modified-bar.active {
39 background-color: @background-color-progressive;
40 color: @color-inverted-fixed !important;
41
42 .last-modified-text-accent,
43 a {
44 color: @color-inverted-fixed;
45 }
46
47 .minerva-icon {
48 background-color: @color-inverted-fixed;
49 }
50 }
51
52 // Used by last modified bar and in MobileFrontend (i.e. MobileSpecialPageFeed.php, ImageCarousel.js)
53 .truncated-text {
54 .text-overflow( @visible: false );
55 }
56
57 @keyframes fadeInImage {
58 from {
59 opacity: 0;
60 }
61
62 to {
63 opacity: 1;
64 }
65 }
66
67 // When the image has loaded transition background color and image opacity
68 // for a fade-in effect
69 img.image-lazy-loaded {
70 animation: fadeInImage 300ms ease-in;
71 }