From a5c146dc19872c8d3ff92e67c4feb3ac3e9a0420 Mon Sep 17 00:00:00 2001 From: Pau Giner Date: Wed, 9 Apr 2014 14:52:54 +0200 Subject: [PATCH] Adjustments to the Commons icon in Media Viewer To achieve consistency with the icons in the Media Viewer panel, the following has been adjusted: - Colors onf the "share" icon to match the rest of the icons (updated to the new gray values of Agora). - Size of the Commons icon has been adjusted both in the SVG file and when it is added in the LESS/CSS. Due to the different aspect ratio of this icon, extra spacing has been added to make it visually fit. Change-Id: Ic14a869ea96ea1a8202c9988f0c5d330ba3e9a70 --- resources/mmv/ui/img/commons_gray.svg | 62 +++++++++++----------- resources/mmv/ui/img/use-ltr.svg | 35 ++---------- resources/mmv/ui/img/use-rtl.svg | 34 ++---------- resources/mmv/ui/mmv.ui.stripeButtons.less | 2 + 4 files changed, 40 insertions(+), 93 deletions(-) diff --git a/resources/mmv/ui/img/commons_gray.svg b/resources/mmv/ui/img/commons_gray.svg index 958c687a9..da700fa2d 100644 --- a/resources/mmv/ui/img/commons_gray.svg +++ b/resources/mmv/ui/img/commons_gray.svg @@ -1,32 +1,30 @@ - - - - - - - - - + +image/svg+xml + + + + + \ No newline at end of file diff --git a/resources/mmv/ui/img/use-ltr.svg b/resources/mmv/ui/img/use-ltr.svg index 69948c851..436ebbb94 100644 --- a/resources/mmv/ui/img/use-ltr.svg +++ b/resources/mmv/ui/img/use-ltr.svg @@ -1,44 +1,19 @@ - - image/svg+xml @@ -48,10 +23,8 @@ id="g3794"> + style="fill:#777777;fill-opacity:1" /> \ No newline at end of file diff --git a/resources/mmv/ui/img/use-rtl.svg b/resources/mmv/ui/img/use-rtl.svg index ebfe97f41..349c79935 100644 --- a/resources/mmv/ui/img/use-rtl.svg +++ b/resources/mmv/ui/img/use-rtl.svg @@ -1,5 +1,4 @@ - image/svg+xml \ No newline at end of file + style="fill:#777777;fill-opacity:1" /> \ No newline at end of file diff --git a/resources/mmv/ui/mmv.ui.stripeButtons.less b/resources/mmv/ui/mmv.ui.stripeButtons.less index 9bc0383a2..cf8eb7b2f 100644 --- a/resources/mmv/ui/mmv.ui.stripeButtons.less +++ b/resources/mmv/ui/mmv.ui.stripeButtons.less @@ -69,6 +69,8 @@ .mw-mmv-stripe-button-commons:before { /* @embed */ background-image: url(img/commons_gray.svg); + padding: 1px; + top: -1px; } // for othe repos than Wikimedia Commons we manipulate :before dynamically from JS