mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
Remove useless .opacity mixin
Change-Id: Icff7c01aba4a647d23bae1925b725bddc555c762
This commit is contained in:
parent
0cda0f8706
commit
f4d6c9f37e
|
@ -87,19 +87,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.jq-fullscreened {
|
.jq-fullscreened {
|
||||||
.mw-mmv-image-wrapper, // make the image occupy the whole screen
|
// make the image occupy the whole screen
|
||||||
.mw-mmv-post-image { // make sure the panel fits in the screen and does not cause scrollbars to appear
|
// make sure the panel fits in the screen and does not cause scrollbars to appear
|
||||||
|
.mw-mmv-image-wrapper,
|
||||||
|
.mw-mmv-post-image {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-mmv-post-image {
|
.mw-mmv-post-image {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
.opacity( 0 );
|
opacity: 0;
|
||||||
transition: opacity 0.25s;
|
transition: opacity 0.25s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.opacity( 1 );
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.opacity( @value ) {
|
|
||||||
opacity: @value;
|
|
||||||
}
|
|
||||||
|
|
||||||
// from http://stackoverflow.com/a/12178019/323407
|
// from http://stackoverflow.com/a/12178019/323407
|
||||||
.fade-out-vertical( @backgroundColor: white ) {
|
.fade-out-vertical( @backgroundColor: white ) {
|
||||||
@invisible: fadeout( @backgroundColor, 100% );
|
@invisible: fadeout( @backgroundColor, 100% );
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
&.blurred {
|
&.blurred {
|
||||||
filter: blur( 3px );
|
filter: blur( 3px );
|
||||||
-webkit-filter: blur( 3px );
|
-webkit-filter: blur( 3px );
|
||||||
.opacity( 0.8 );
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Whitelist file types that are potentially transparent.
|
/* Whitelist file types that are potentially transparent.
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
.opacity( 0.8 );
|
opacity: 0.8;
|
||||||
border: 0;
|
border: 0;
|
||||||
z-index: 1003;
|
z-index: 1003;
|
||||||
|
|
||||||
&.mw-mmv-dialog-open,
|
&.mw-mmv-dialog-open,
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
.opacity( 1 );
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.unselectable;
|
.unselectable;
|
||||||
|
|
Loading…
Reference in a new issue