WMDE-Fisch has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/355396 )

Change subject: Adjust z-indexes to work with modern skin
......................................................................

Adjust z-indexes to work with modern skin

Bug: T166209
Change-Id: I54e7310d215c44ef3e139e940bf61dbee52bf5a8
---
M modules/ext.RevisionSlider.css
M modules/ext.RevisionSlider.lazy.css
2 files changed, 4 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionSlider 
refs/changes/96/355396/1

diff --git a/modules/ext.RevisionSlider.css b/modules/ext.RevisionSlider.css
index 32428e3..38073d2 100644
--- a/modules/ext.RevisionSlider.css
+++ b/modules/ext.RevisionSlider.css
@@ -21,6 +21,7 @@
        margin-top: 70px;
        background-color: #e3e3e3;
        border-color: #e3e3e3;
+       z-index: 1;
 }
 
 .mw-revslider-revision:hover,
@@ -79,7 +80,6 @@
 .mw-revslider-revision-wrapper {
        display: inline-block;
        cursor: pointer;
-       z-index: 10;
        height: 140px;
 }
 
@@ -177,7 +177,6 @@
 /* This is a bit hacky way, the goal being to have a framed toggle button 
widget with some styles
 of the frameless one (to fit the size of the toggle button */
 .mw-revslider-container .mw-revslider-auto-expand-button 
.oo-ui-buttonElement-button {
-       z-index: 10;
        padding: 0;
        box-sizing: border-box;
        min-height: 0;
@@ -207,7 +206,7 @@
        clear: both;
        top: 57px;
        margin: auto;
-       z-index: 10;
+       z-index: 1;
 }
 
 .mw-revslider-pointer-upper {
@@ -220,7 +219,7 @@
 
 .mw-revslider-pointer {
        position: absolute !important; /* stylelint-disable-line 
declaration-no-important */
-       z-index: 11;
+       z-index: 1;
        width: 16px;
        height: 13px;
        background-repeat: no-repeat;
@@ -281,12 +280,12 @@
        right: 0;
        bottom: 0;
        margin-right: 0;
+       z-index: 1;
 }
 
 .mw-revslider-pointer-line {
        position: absolute;
        top: 73px;
-       z-index: -1;
 }
 
 .mw-revslider-pointer-line-upper,
diff --git a/modules/ext.RevisionSlider.lazy.css 
b/modules/ext.RevisionSlider.lazy.css
index cda8428..5228b64 100644
--- a/modules/ext.RevisionSlider.lazy.css
+++ b/modules/ext.RevisionSlider.lazy.css
@@ -9,7 +9,6 @@
        /* the interface is in RTL */
        direction: ltr;
        position: relative;
-       z-index: 8;
        border: 1px solid #ccc;
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/355396
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I54e7310d215c44ef3e139e940bf61dbee52bf5a8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to