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 {
|
||||
.mw-mmv-image-wrapper, // 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 the image occupy the whole screen
|
||||
// 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;
|
||||
}
|
||||
|
||||
.mw-mmv-post-image {
|
||||
position: fixed;
|
||||
min-height: 0;
|
||||
.opacity( 0 );
|
||||
opacity: 0;
|
||||
transition: opacity 0.25s;
|
||||
|
||||
&:hover {
|
||||
.opacity( 1 );
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
.opacity( @value ) {
|
||||
opacity: @value;
|
||||
}
|
||||
|
||||
// from http://stackoverflow.com/a/12178019/323407
|
||||
.fade-out-vertical( @backgroundColor: white ) {
|
||||
@invisible: fadeout( @backgroundColor, 100% );
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
&.blurred {
|
||||
filter: blur( 3px );
|
||||
-webkit-filter: blur( 3px );
|
||||
.opacity( 0.8 );
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Whitelist file types that are potentially transparent.
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
position: fixed;
|
||||
background-color: transparent;
|
||||
background-repeat: no-repeat;
|
||||
.opacity( 0.8 );
|
||||
opacity: 0.8;
|
||||
border: 0;
|
||||
z-index: 1003;
|
||||
|
||||
&.mw-mmv-dialog-open,
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
.opacity( 1 );
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.unselectable;
|
||||
|
|
Loading…
Reference in a new issue