mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.canvas.less
Gergő Tisza 95111d2b73 Use mw-mmv CSS prefix consistently for all things
With apologies to anyone who gets a hundred merge conflicts
because of this :)

We had several different prefix styles (mlb-, mw-mlb-, mw-mmv-,
mw-mmv-mmv-, a few unprefixed), which was getting annoying,
and will be confusing to wiki editors who are trying to figure out
where a given style comes from. Such changes are better done before
going live because it breaks all local CSS tweaks on the wiki,
so I am renaming things now (also removing some stuff which wasnt
used anywhere).

Change-Id: I00447a25f0028e234169c6db941bedc99622eb8d
2014-03-31 21:33:12 +00:00

50 lines
825 B
Plaintext

@import "mmv.mixins";
.mw-mmv-image {
display: table-cell;
width: 100%;
height: 100%;
vertical-align: middle;
.unselectable;
&.empty {
display: none;
}
&.error {
/* @embed */
background-image: url(img/error.svg);
background-repeat: no-repeat;
background-position: 50% 50%;
}
.mw-mmv-error-text {
position: absolute;
left: 10%;
right: 10%;
top: 20%;
padding: 6px 20px;
.box-round(15px);
background-color: #ff4f4d;
text-align: center;
font-size: normal;
color: #000;
}
}
.mw-mmv-image.empty img {
display: none;
}
.mw-mmv-image img.blurred {
filter: blur(3px);
-webkit-filter: blur(3px);
opacity: 0.8;
}
.mw-mmv-image img {
display: block;
margin-right: auto;
margin-left: auto;
background: url('//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png') repeat;
}