Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72551


Change subject: Tweaks to cleanup templates
......................................................................

Tweaks to cleanup templates

According to beta labs it is possible to have cleanup template messages
where a link is a first child

Instead limit display block a tags to clickable lists
remove redundant text decoration rule

Change-Id: I8ce827d3f6172d8fdd67ed2637612828d003b35a
---
M less/common/overlays.less
M stylesheets/common/overlays.css
2 files changed, 23 insertions(+), 23 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/51/72551/1

diff --git a/less/common/overlays.less b/less/common/overlays.less
index 73e8f82..ea3c902 100644
--- a/less/common/overlays.less
+++ b/less/common/overlays.less
@@ -152,6 +152,18 @@
                        &:hover {
                                background-color: #ACD1E9;
                        }
+                       > a {
+                               display: block;
+                               text-decoration: none;
+                               color: #666;
+
+                               &:active,
+                               &:hover,
+                               &:visited {
+                                       text-decoration: none;
+                                       color: #666;
+                               }
+                       }
                }
        }
 }
@@ -172,17 +184,5 @@
                border-bottom: solid 1px #eee;
                padding: @searchResultPaddingVertical @searchBarPaddingLeft;
                font-size: 0.9em;
-               > a {
-                       display: block;
-                       text-decoration: none;
-                       color: #666;
-
-                       &:active,
-                       &:hover,
-                       &:visited {
-                               text-decoration: none;
-                               color: #666;
-                       }
-               }
        }
 }
diff --git a/stylesheets/common/overlays.css b/stylesheets/common/overlays.css
index f6fe562..70ccf75 100644
--- a/stylesheets/common/overlays.css
+++ b/stylesheets/common/overlays.css
@@ -115,6 +115,17 @@
 .mw-mf-overlay ul.actionable li:hover {
   background-color: #ACD1E9;
 }
+.mw-mf-overlay ul.actionable li > a {
+  display: block;
+  text-decoration: none;
+  color: #666;
+}
+.mw-mf-overlay ul.actionable li > a:active,
+.mw-mf-overlay ul.actionable li > a:hover,
+.mw-mf-overlay ul.actionable li > a:visited {
+  text-decoration: none;
+  color: #666;
+}
 .mw-mf-overlay > ul {
   padding: 0;
   position: relative;
@@ -131,15 +142,4 @@
   border-bottom: solid 1px #eee;
   padding: 12px 40px;
   font-size: 0.9em;
-}
-.mw-mf-overlay > ul li > a {
-  display: block;
-  text-decoration: none;
-  color: #666;
-}
-.mw-mf-overlay > ul li > a:active,
-.mw-mf-overlay > ul li > a:hover,
-.mw-mf-overlay > ul li > a:visited {
-  text-decoration: none;
-  color: #666;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ce827d3f6172d8fdd67ed2637612828d003b35a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to