2014-04-01 01:41:57 +00:00
|
|
|
@import "../mmv.mixins";
|
2014-02-26 20:09:37 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image {
|
2014-02-26 20:09:37 +00:00
|
|
|
display: table-cell;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
.unselectable;
|
2014-03-01 01:10:51 +00:00
|
|
|
|
2014-02-26 20:09:37 +00:00
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-03-01 01:10:51 +00:00
|
|
|
&.error {
|
2015-01-13 21:07:37 +00:00
|
|
|
background-color: #333;
|
|
|
|
|
|
|
|
a, a:visited {
|
|
|
|
cursor: pointer;
|
|
|
|
color: #3472e5;
|
|
|
|
}
|
2014-03-01 01:10:51 +00:00
|
|
|
}
|
2015-01-13 21:07:37 +00:00
|
|
|
|
|
|
|
.error-box {
|
|
|
|
/* @embed */
|
|
|
|
background: url(img/error-media-icon.svg) no-repeat 0 0;
|
|
|
|
background-size: 110px 110px;
|
|
|
|
|
2014-03-01 01:10:51 +00:00
|
|
|
position: absolute;
|
2015-01-13 21:07:37 +00:00
|
|
|
left: 50%;
|
|
|
|
margin-left: -350px;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -100px;
|
|
|
|
|
|
|
|
padding: 0 20px 0 160px;
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
max-width: 520px;
|
|
|
|
|
|
|
|
.mw-mmv-error-text {
|
|
|
|
font-size: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-error-description {
|
|
|
|
margin-top: 30px;
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
2014-03-01 01:10:51 +00:00
|
|
|
}
|
2014-02-26 20:09:37 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image.empty img {
|
2014-02-26 20:09:37 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image img.blurred {
|
2014-02-26 20:09:37 +00:00
|
|
|
filter: blur(3px);
|
|
|
|
-webkit-filter: blur(3px);
|
2014-06-17 21:11:33 +00:00
|
|
|
.opacity(0.8);
|
2014-02-26 20:09:37 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-image img {
|
2014-02-26 20:09:37 +00:00
|
|
|
display: block;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2014-09-04 21:50:14 +00:00
|
|
|
cursor: pointer;
|
|
|
|
cursor: zoom-in;
|
2014-09-12 18:05:13 +00:00
|
|
|
|
2016-04-03 09:18:26 +00:00
|
|
|
/* Whitelist file types that are potentially transparent.
|
|
|
|
We don't set it for other file types because Media Viewer plugins
|
|
|
|
can find that undesirable (eg. 3d) */
|
|
|
|
&.gif, &.png, &.svg, &.tiff, &.tif {
|
|
|
|
background: url( checker.png ) repeat;
|
|
|
|
}
|
|
|
|
|
2014-09-12 18:05:13 +00:00
|
|
|
&.mw-mmv-dialog-is-open {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2016-04-03 09:18:26 +00:00
|
|
|
|
2014-11-22 02:46:51 +00:00
|
|
|
.metadata-panel-is-open & {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-02-26 20:09:37 +00:00
|
|
|
}
|
2014-11-22 02:46:51 +00:00
|
|
|
|
|
|
|
.metadata-panel-is-open .mw-mmv-image-wrapper {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|