VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/377379 )

Change subject: build: Remove 'no-duplicate-selectors' stylelint exception rule
......................................................................

build: Remove 'no-duplicate-selectors' stylelint exception rule

Removing 'no-duplicate-selectors' stylelint exception rule and
make pass.

Change-Id: Ia90b8fc2aa5141098e4123e8e65a6161363a6a0d
---
M .stylelintrc.json
M modules/ext.guidedTour.less
2 files changed, 11 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GuidedTour 
refs/changes/79/377379/1

diff --git a/.stylelintrc.json b/.stylelintrc.json
index 1953a5e..c0d30c6 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -2,7 +2,6 @@
        "extends": "stylelint-config-wikimedia",
        "rules": {
                "declaration-no-important": null,
-               "no-duplicate-selectors": null,
                "selector-no-id": null
        }
 }
diff --git a/modules/ext.guidedTour.less b/modules/ext.guidedTour.less
index 7c051f2..3ab4594 100644
--- a/modules/ext.guidedTour.less
+++ b/modules/ext.guidedTour.less
@@ -127,8 +127,8 @@
 .guider_arrow_inner_container {
        position: relative;
        overflow: hidden;
-       width: 100%;
-       height: 100%;
+       width: @guider_arrow_height;
+       height: @guider_arrow_height;
 }
 
 .guider_arrow_inner {
@@ -162,20 +162,6 @@
        }
 }
 
-.guider_arrow_inner_container {
-       height: @guider_arrow_height;
-       width: @guider_arrow_height;
-
-       .guider_arrow_right & {
-               /* @noflip */
-               left: -@half_guider_arrow_height;
-       }
-
-       .guider_arrow_down & {
-               top: -@half_guider_arrow_height;
-       }
-}
-
 .guider_arrow_up {
        display: block;
        top: -@half_guider_arrow_height;
@@ -185,11 +171,20 @@
        display: block;
        /* @noflip */
        right: -@half_guider_arrow_height;
+
+       & .guider_arrow_inner_container {
+               /* @noflip */
+               left: -@half_guider_arrow_height;
+       }
 }
 
 .guider_arrow_down {
        display: block;
        bottom: -@half_guider_arrow_height;
+
+       & .guider_arrow_inner_container {
+               top: -@half_guider_arrow_height;
+       }
 }
 
 .guider_arrow_left {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia90b8fc2aa5141098e4123e8e65a6161363a6a0d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GuidedTour
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to