mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/styles.less
Volker E f0608db19a build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Updates code comments and whitespacing.

Change-Id: If7665beaa2d342881483fd7a9fc0fc880768d2ef
2018-12-12 23:26:48 +00:00

49 lines
755 B
Plaintext

@import '../../minerva.less/minerva.variables';
@import '../../minerva.less/minerva.mixins';
@import 'mediawiki.mixins.animation';
@animationDuration: 0.3s;
// 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 );
}