mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
Merge "Fix opacity on load in IE & Edge"
This commit is contained in:
commit
72e059034a
|
@ -5,7 +5,7 @@
|
|||
$.extend( DiffPage.prototype, {
|
||||
refresh: function ( revId1, revId2 ) {
|
||||
$( 'table.diff[data-mw=\'interface\']' )
|
||||
.append( '<div id="revision-slider-darkness"></div>' );
|
||||
.append( '<tr><td><div id="revision-slider-darkness"></div></td></tr>' );
|
||||
$.ajax( {
|
||||
url: mw.util.wikiScript( 'index' ),
|
||||
data: {
|
||||
|
|
|
@ -142,10 +142,12 @@
|
|||
|
||||
#revision-slider-darkness {
|
||||
background-color: white;
|
||||
filter:alpha(opacity=50); /* IE */
|
||||
opacity: 0.5; /* Safari, Opera */
|
||||
-moz-opacity:0.50; /* FireFox */
|
||||
z-index: 20;
|
||||
filter:alpha(opacity=50); /* IE 5-7 */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
|
||||
-khtml-opacity: 0.5; /* Safari 1.x */
|
||||
-moz-opacity:0.50; /* Netscape */
|
||||
opacity: 0.5; /* Good browsers */
|
||||
z-index: 200000;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-repeat:no-repeat;
|
||||
|
|
Loading…
Reference in a new issue