2014-06-10 20:39:10 +00:00
|
|
|
@import "../mmv.globals";
|
2014-04-01 01:41:57 +00:00
|
|
|
@import "../mmv.mixins";
|
2014-02-18 15:25:56 +00:00
|
|
|
|
2014-02-04 23:44:36 +00:00
|
|
|
@navbutton-width: 18px;
|
|
|
|
@buttons-offset: 5px;
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-button,
|
2014-09-12 18:05:13 +00:00
|
|
|
.mw-mmv-reuse-button,
|
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;
|
2014-06-17 21:11:33 +00:00
|
|
|
.opacity(0.8);
|
2014-02-04 23:44:36 +00:00
|
|
|
border: none;
|
|
|
|
z-index: 1003;
|
|
|
|
|
2014-09-12 18:05:13 +00:00
|
|
|
&.mw-mmv-dialog-open,
|
2014-02-04 23:44:36 +00:00
|
|
|
&:hover {
|
2014-06-17 21:11:33 +00:00
|
|
|
.opacity(1);
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
2014-02-18 15:25:56 +00:00
|
|
|
|
|
|
|
.unselectable;
|
2014-05-15 20:24:40 +00:00
|
|
|
}
|
2014-02-04 23:44:36 +00:00
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-button.hidden,
|
2014-09-12 18:05:13 +00:00
|
|
|
.mw-mmv-reuse-button.hidden,
|
2014-05-15 20:24:40 +00:00
|
|
|
.mw-mmv-close.hidden,
|
|
|
|
.mw-mmv-fullscreen.hidden,
|
|
|
|
.mw-mmv-next-image.hidden,
|
|
|
|
.mw-mmv-prev-image.hidden {
|
|
|
|
display: none;
|
2014-02-18 08:25:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.cursor-hidden {
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-button,
|
2014-09-12 18:05:13 +00:00
|
|
|
.mw-mmv-reuse-button,
|
2014-06-10 20:39:10 +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-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-download-button,
|
2014-09-12 18:05:13 +00:00
|
|
|
.mw-mmv-reuse-button,
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close,
|
2014-05-15 20:24:40 +00:00
|
|
|
.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;
|
2014-05-15 20:24:40 +00:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
cursor: none;
|
|
|
|
}
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
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-06-10 20:39:10 +00:00
|
|
|
.jq-fullscreened {
|
|
|
|
.mw-mmv-fullscreen {
|
|
|
|
/* @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
|
|
|
}
|
2014-09-12 18:05:13 +00:00
|
|
|
|
|
|
|
.mw-mmv-reuse-button {
|
|
|
|
bottom: @buttons-offset + @metadatabar-above-fold-height + @progress-bar-height;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/use-ltr.svg);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
2014-09-16 20:33:05 +00:00
|
|
|
|
|
|
|
.mw-mmv-download-button {
|
|
|
|
bottom: @buttons-offset + @metadatabar-above-fold-height + @progress-bar-height + 37px;
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(img/mw-download.svg);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|