mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.canvas.less
Aaron Arcos fedaa553b4 Fix resize issues (Part II)
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
2014-02-28 10:22:21 +01:00

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;
}