mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.buttons.less
2014-02-18 19:36:33 +00:00

88 lines
1.3 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,
.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;
}
}