From 8d54c3faf720ef961b4d00eb6e829a19da664c9b Mon Sep 17 00:00:00 2001 From: Volker E Date: Mon, 2 Nov 2020 06:53:32 -0800 Subject: [PATCH] Amend compact links icon to use latest WikimediaUI version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also amending `color` & `padding` to be closer to button standard appearance and increase `margin-bottom` to make “Edit links” link not stick to button. Bug: T170137 Change-Id: Iabb6abfdb8fa69c9f2634b190cb5fa6c005eb17c --- resources/css/ext.uls.compactlinks.less | 14 +++++++------- resources/images/compact-links-trigger.svg | 4 ---- resources/images/language-base20.svg | 7 +++++++ 3 files changed, 14 insertions(+), 11 deletions(-) delete mode 100644 resources/images/compact-links-trigger.svg create mode 100644 resources/images/language-base20.svg diff --git a/resources/css/ext.uls.compactlinks.less b/resources/css/ext.uls.compactlinks.less index 342922f1..48d2047b 100644 --- a/resources/css/ext.uls.compactlinks.less +++ b/resources/css/ext.uls.compactlinks.less @@ -11,16 +11,16 @@ .mw-interlanguage-selector, .mw-interlanguage-selector:active { - cursor: pointer; - padding: 4px 6px 4px 25px; + background-image: url( ../images/language-base20.svg ); + background-position: left 4px center; + background-repeat: no-repeat; + background-size: 16px; + margin: 4px 0 8px; + padding: 4px 8px 4px 26px; font-size: 13px; font-weight: normal; - background-image: url( ../images/compact-links-trigger.svg ); - background-size: 18px; - background-repeat: no-repeat; - background-position: left 4px center; - margin: 4px 0; text-align: left; + cursor: pointer; } .mw-interlanguage-selector:active, diff --git a/resources/images/compact-links-trigger.svg b/resources/images/compact-links-trigger.svg deleted file mode 100644 index 3a62fe8c..00000000 --- a/resources/images/compact-links-trigger.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/resources/images/language-base20.svg b/resources/images/language-base20.svg new file mode 100644 index 00000000..4567fbba --- /dev/null +++ b/resources/images/language-base20.svg @@ -0,0 +1,7 @@ + + + + language + + +