mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
102 lines
1.6 KiB
Plaintext
102 lines
1.6 KiB
Plaintext
@import "mmv.mixins";
|
|
|
|
@navbutton-width: 18px;
|
|
@buttons-offset: 5px;
|
|
|
|
.mlb-close,
|
|
.mlb-fullscreen,
|
|
.mw-mlb-next-image,
|
|
.mw-mlb-prev-image {
|
|
cursor: pointer;
|
|
position: fixed;
|
|
background-repeat: no-repeat;
|
|
opacity: 0.8;
|
|
border: none;
|
|
z-index: 1003;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.unselectable;
|
|
}
|
|
|
|
.mlb-close.hidden,
|
|
.mlb-fullscreen.hidden,
|
|
.mw-mlb-next-image.hidden,
|
|
.mw-mlb-prev-image.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.cursor-hidden {
|
|
.mlb-close, .mlb-fullscreen, .mw-mlb-next-image, .mw-mlb-prev-image {
|
|
cursor: none;
|
|
}
|
|
}
|
|
|
|
.mlb-close,
|
|
.mlb-fullscreen {
|
|
right: @buttons-offset;
|
|
left: auto;
|
|
transition: opacity 0.25s;
|
|
background-position: center;
|
|
margin-top: 14px;
|
|
margin-right: 14px;
|
|
}
|
|
|
|
.mw-mlb-next-image,
|
|
.mw-mlb-prev-image {
|
|
top: -999px;
|
|
width: 80px;
|
|
height: 120px;
|
|
transition: opacity 0.25s, margin 0.25s;
|
|
|
|
&.disabled {
|
|
display: none;
|
|
cursor: none;
|
|
}
|
|
}
|
|
|
|
.mlb-close {
|
|
top: @buttons-offset;
|
|
/* @embed */
|
|
background-image: url(img/mw-close.svg);
|
|
height: 23px;
|
|
width: 23px;
|
|
}
|
|
|
|
.mlb-fullscreen {
|
|
top: (@buttons-offset + 37px);
|
|
/* @embed */
|
|
background-image: url(img/mw-fullscreen-ltr.svg);
|
|
width: 21px;
|
|
height: 22px;
|
|
}
|
|
|
|
.jq-fullscreened .mlb-fullscreen {
|
|
/* @embed */
|
|
background-image: url(img/mw-defullscreen-ltr.svg);
|
|
}
|
|
|
|
.mw-mlb-next-image {
|
|
/* @embed */
|
|
background-image: url(img/next-ltr.svg);
|
|
background-position: right;
|
|
right: @navbutton-width;
|
|
|
|
&:hover {
|
|
margin-right: -4px;
|
|
}
|
|
}
|
|
|
|
.mw-mlb-prev-image {
|
|
/* @embed */
|
|
background-image: url(img/prev-ltr.svg);
|
|
background-position: left;
|
|
left: @navbutton-width;
|
|
|
|
&:hover {
|
|
margin-left: -4px;
|
|
}
|
|
}
|