2018-05-19 18:17:31 +00:00
|
|
|
@import '../../minerva.less/minerva.variables';
|
2018-07-05 22:51:27 +00:00
|
|
|
@import '../../minerva.less/minerva.mixins';
|
2018-07-05 22:46:53 +00:00
|
|
|
@import 'mediawiki.mixins.animation';
|
2018-04-13 17:17:36 +00:00
|
|
|
|
2018-07-05 22:46:53 +00:00
|
|
|
@animationDuration: 0.3s;
|
|
|
|
|
|
|
|
// Last modified bar styles
|
2018-04-13 17:17:36 +00:00
|
|
|
.last-modified-bar {
|
|
|
|
&.active {
|
2018-07-05 22:40:51 +00:00
|
|
|
background-color: @lastModifiedBarActiveBackgroundColor;
|
2018-04-13 17:17:36 +00:00
|
|
|
color: #fff;
|
2018-07-05 22:46:53 +00:00
|
|
|
|
2018-04-13 17:17:36 +00:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-05 22:46:53 +00:00
|
|
|
|
2018-07-05 22:51:27 +00:00
|
|
|
// Used by last modified and Main Menu items
|
|
|
|
.truncated-text {
|
|
|
|
.truncated-text();
|
|
|
|
}
|
|
|
|
|
2018-07-05 22:46:53 +00:00
|
|
|
@-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 );
|
|
|
|
}
|