mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
93b16db1c5
This reverts commit 111757970e
.
Although I cannot replicate the performance issue, the menu doesn't seem to be rendering at all on cached HTML so this is a deal breaker. Back to the drawing board..
Bug: T234599
Change-Id: Idadc5a079340f44ec66d20a38259b6b337d2dcee
56 lines
934 B
Plaintext
56 lines
934 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
@import 'mediawiki.mixins.animation';
|
|
|
|
@animationDuration: 0.3s;
|
|
|
|
// Flip the arrow in table of contents when toggled
|
|
.toctogglecheckbox:checked ~ .toctitle .mw-ui-icon:last-child {
|
|
&:before {
|
|
.transform( rotate( -180deg ) );
|
|
}
|
|
}
|
|
|
|
// Last modified bar styles
|
|
.last-modified-bar {
|
|
&.active {
|
|
background-color: @lastModifiedBarActiveBackgroundColor;
|
|
color: #fff;
|
|
|
|
a {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Used by last modified and Main Menu items
|
|
.truncated-text {
|
|
.truncated-text();
|
|
}
|
|
|
|
@-webkit-keyframes fadeInImage {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@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 @animationDuration ease-in );
|
|
}
|