Aude has uploaded a new change for review.

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

Change subject: Remove .wbc-editpage in css
......................................................................

Remove .wbc-editpage in css

.wb-langlinks-link is present everywhere now and is sufficient
as a selector for adding the pencil.

.wbc-editpage additionally exists as a separate link (to wikidata!,
since the item is connected, but has no site links except enwiki).
This causes double pencil.

Iac189e7 does empty() on the parent element of the links, so
the link and extra pencil goes away, but might as well not
have double pencil and legacy css.

one pencil remains on span .wb-langlinks-link in all cases.

Bug: 65001
Change-Id: Ib96e6aa8c16cf6f6db9dd121bf3a0afcffa9e285
---
M client/resources/wikibase.client.css
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/37/132137/1

diff --git a/client/resources/wikibase.client.css 
b/client/resources/wikibase.client.css
index e685115..6cb93a9 100644
--- a/client/resources/wikibase.client.css
+++ b/client/resources/wikibase.client.css
@@ -4,27 +4,23 @@
        float: right;
 }
 
-.wbc-editpage,
 .wb-langlinks-link {
        list-style: none none;
        text-align: right;
        padding-right: .5em !important;
 }
 
-.wbc-editpage > a,
 .wb-langlinks-link > a {
        padding-left: 11px;
        background: no-repeat left center;
 }
 
-.wbc-editpage > a:link, .wbc-editpage > a:visited,
 .wb-langlinks-link > a:link, .wb-langlinks-link > a:visited {
        /* @embed */
        background-image: url(images/WBC-Asset-Pencil.png);
        color: #797979 !important;
 }
 
-.wbc-editpage > a:hover,
 .wb-langlinks-link > a:hover {
        /* @embed */
        background-image: url(images/WBC-Asset-Pencil-Hover.png);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib96e6aa8c16cf6f6db9dd121bf3a0afcffa9e285
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>

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

Reply via email to