mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Merge "Don't allow interaction while page loading"
This commit is contained in:
commit
12ec2f422d
|
@ -4,6 +4,9 @@
|
|||
|
||||
$.extend( DiffPage.prototype, {
|
||||
refresh: function ( oldId, newId ) {
|
||||
$( 'body' )
|
||||
.find( 'table.diff[data-mw=\'interface\']' )
|
||||
.append( '<div id="revision-slider-darkness"></div>' );
|
||||
$.ajax( {
|
||||
url: mw.util.wikiScript( 'index' ),
|
||||
data: {
|
||||
|
|
|
@ -94,3 +94,18 @@
|
|||
border-style: solid;
|
||||
border-width: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
#revision-slider-darkness {
|
||||
background-color: white;
|
||||
filter:alpha(opacity=50); /* IE */
|
||||
opacity: 0.5; /* Safari, Opera */
|
||||
-moz-opacity:0.50; /* FireFox */
|
||||
z-index: 20;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-repeat:no-repeat;
|
||||
background-position:center;
|
||||
position:absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue