mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
fedaa553b4
I was going to stage this but better give you the whole enchilada, it is not that bad, ;-). This is what I am doing: - Delete things that are not used anymore. - Componentize image ui element (Canvas). Bug: 56454 Change-Id: Ib5461639a86d9f8e0a150f6d9543a20058d31e00 Mingle: 239
30 lines
400 B
Plaintext
30 lines
400 B
Plaintext
@import "mediawiki.mixins";
|
|
@import "mmv.mixins";
|
|
|
|
.mlb-image {
|
|
display: table-cell;
|
|
width: 100%;
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
.unselectable;
|
|
&.empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.mlb-image.empty img {
|
|
display: none;
|
|
}
|
|
|
|
.mlb-image img.blurred {
|
|
filter: blur(3px);
|
|
-webkit-filter: blur(3px);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.mlb-image img {
|
|
display: block;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|