mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
6e896c05cc
Some styles got mangled when 111372 landed Change-Id: I44fa82ba0b65152b01872ba58f8a7e84c6106ca5
84 lines
1.3 KiB
Plaintext
84 lines
1.3 KiB
Plaintext
@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;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
} |