2014-02-18 15:25:56 +00:00
|
|
|
@import "mmv.mixins";
|
|
|
|
|
2014-02-04 23:44:36 +00:00
|
|
|
@navbutton-width: 18px;
|
|
|
|
@buttons-offset: 5px;
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close,
|
|
|
|
.mw-mmv-fullscreen,
|
|
|
|
.mw-mmv-next-image,
|
|
|
|
.mw-mmv-prev-image {
|
2014-02-10 09:04:50 +00:00
|
|
|
cursor: pointer;
|
2014-02-04 23:44:36 +00:00
|
|
|
position: fixed;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
opacity: 0.8;
|
|
|
|
border: none;
|
|
|
|
z-index: 1003;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-02-18 15:25:56 +00:00
|
|
|
|
|
|
|
.unselectable;
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close.hidden,
|
|
|
|
.mw-mmv-fullscreen.hidden,
|
|
|
|
.mw-mmv-next-image.hidden,
|
|
|
|
.mw-mmv-prev-image.hidden {
|
2014-02-18 08:25:48 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cursor-hidden {
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close, .mw-mmv-fullscreen, .mw-mmv-next-image, .mw-mmv-prev-image {
|
2014-02-18 08:25:48 +00:00
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close,
|
|
|
|
.mw-mmv-fullscreen {
|
2014-02-04 23:44:36 +00:00
|
|
|
right: @buttons-offset;
|
|
|
|
left: auto;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
background-position: center;
|
2014-02-10 09:04:50 +00:00
|
|
|
margin-top: 14px;
|
|
|
|
margin-right: 14px;
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-next-image,
|
|
|
|
.mw-mmv-prev-image {
|
2014-02-04 23:44:36 +00:00
|
|
|
top: -999px;
|
|
|
|
width: 80px;
|
|
|
|
height: 120px;
|
|
|
|
transition: opacity 0.25s, margin 0.25s;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close {
|
2014-02-04 23:44:36 +00:00
|
|
|
top: @buttons-offset;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/mw-close.svg);
|
2014-02-10 09:04:50 +00:00
|
|
|
height: 23px;
|
|
|
|
width: 23px;
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-fullscreen {
|
2014-02-04 23:44:36 +00:00
|
|
|
top: (@buttons-offset + 37px);
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/mw-fullscreen-ltr.svg);
|
2014-02-10 09:04:50 +00:00
|
|
|
width: 21px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.jq-fullscreened .mw-mmv-fullscreen {
|
2014-02-10 09:04:50 +00:00
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/mw-defullscreen-ltr.svg);
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-next-image {
|
2014-02-04 23:44:36 +00:00
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/next-ltr.svg);
|
|
|
|
background-position: right;
|
|
|
|
right: @navbutton-width;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
margin-right: -4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-prev-image {
|
2014-02-04 23:44:36 +00:00
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/prev-ltr.svg);
|
|
|
|
background-position: left;
|
|
|
|
left: @navbutton-width;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
2014-02-19 23:48:32 +00:00
|
|
|
}
|