2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv.variables.less';
|
|
|
|
@import '../mmv.mixins.less';
|
2014-02-18 15:25:56 +00:00
|
|
|
|
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-07-23 23:00:37 +00:00
|
|
|
.mw-mmv-options-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;
|
2017-03-18 06:38:33 +00:00
|
|
|
background-color: transparent;
|
2014-02-04 23:44:36 +00:00
|
|
|
background-repeat: no-repeat;
|
2019-07-29 16:56:43 +00:00
|
|
|
opacity: 0.8;
|
2016-07-18 14:24:02 +00:00
|
|
|
border: 0;
|
2014-02-04 23:44:36 +00:00
|
|
|
z-index: 1003;
|
|
|
|
|
2014-09-12 18:05:13 +00:00
|
|
|
&.mw-mmv-dialog-open,
|
2014-02-04 23:44:36 +00:00
|
|
|
&:hover {
|
2016-08-05 10:44:07 +00:00
|
|
|
text-decoration: none;
|
2019-07-29 16:56:43 +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-07-23 23:00:37 +00:00
|
|
|
.mw-mmv-options-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 {
|
2022-05-19 22:58:01 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
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-07-23 23:00:37 +00:00
|
|
|
.mw-mmv-options-button,
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close,
|
2014-05-15 20:24:40 +00:00
|
|
|
.mw-mmv-fullscreen {
|
2014-07-23 23:00:37 +00:00
|
|
|
right: @buttons-offset-right;
|
2014-02-04 23:44:36 +00:00
|
|
|
left: auto;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
background-position: center;
|
2014-02-10 09:04:50 +00:00
|
|
|
margin-top: 14px;
|
2019-05-19 17:11:51 +00:00
|
|
|
width: 24px + 2 * 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;
|
2022-05-19 22:58:01 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
2014-05-15 20:24:40 +00:00
|
|
|
cursor: none;
|
|
|
|
}
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-close {
|
2014-07-23 23:00:37 +00:00
|
|
|
top: @buttons-offset-right;
|
2014-02-04 23:44:36 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/mw-close.svg );
|
2014-02-10 09:04:50 +00:00
|
|
|
height: 23px;
|
2014-02-04 23:44:36 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-fullscreen {
|
2019-05-19 17:11:51 +00:00
|
|
|
right: @buttons-offset-right - 2px;
|
2016-07-18 14:24:02 +00:00
|
|
|
top: ( @buttons-offset-right + ( @buttons-offset-each-top ) );
|
2014-02-04 23:44:36 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/mw-fullscreen-ltr.svg );
|
2014-02-10 09:04:50 +00:00
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
2014-07-23 23:00:37 +00:00
|
|
|
.mw-mmv-options-button {
|
2016-07-18 14:24:02 +00:00
|
|
|
top: ( @buttons-offset-right + ( 2 * @buttons-offset-each-top ) );
|
2014-07-23 23:00:37 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/gear.svg );
|
2014-07-23 23:00:37 +00:00
|
|
|
height: 23px;
|
|
|
|
}
|
|
|
|
|
2014-06-10 20:39:10 +00:00
|
|
|
.jq-fullscreened {
|
|
|
|
.mw-mmv-fullscreen {
|
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/mw-defullscreen-ltr.svg );
|
2014-06-10 20:39:10 +00:00
|
|
|
}
|
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 */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/next-ltr.svg );
|
2014-02-04 23:44:36 +00:00
|
|
|
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 */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/prev-ltr.svg );
|
2014-02-04 23:44:36 +00:00
|
|
|
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 {
|
2014-07-23 23:00:37 +00:00
|
|
|
right: @buttons-offset-right - 2px;
|
|
|
|
bottom: @buttons-offset-right + @metadatabar-above-fold-height + @progress-bar-height;
|
2014-09-12 18:05:13 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/use-ltr.svg );
|
2014-09-12 18:05:13 +00:00
|
|
|
height: 24px;
|
|
|
|
}
|
2014-09-16 20:33:05 +00:00
|
|
|
|
|
|
|
.mw-mmv-download-button {
|
2014-07-23 23:00:37 +00:00
|
|
|
bottom: @buttons-offset-right + @metadatabar-above-fold-height + @progress-bar-height + 37px;
|
2014-09-16 20:33:05 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/mw-download.svg );
|
2014-09-16 20:33:05 +00:00
|
|
|
height: 24px;
|
|
|
|
}
|