From b622669a9e73874564152da90beaf64934dabed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Thu, 17 Jul 2014 00:49:10 +0000 Subject: [PATCH] Size adjustments for moved-back repo icon * make Commons icon slightly larger than "use this file" icon so it seems to be the same size (since the Commons icon has more whitespace) * re-add size adjustments for dynamic icon; IIRC this was needed to make Wikipedia icons look good Change-Id: I6cc2c66beb1d270c9367446661ef14139afa814e --- resources/mmv/ui/mmv.ui.stripeButtons.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/mmv/ui/mmv.ui.stripeButtons.less b/resources/mmv/ui/mmv.ui.stripeButtons.less index 03c524195..c188baec9 100644 --- a/resources/mmv/ui/mmv.ui.stripeButtons.less +++ b/resources/mmv/ui/mmv.ui.stripeButtons.less @@ -71,10 +71,15 @@ /* @embed */ background-image: url(img/commons_gray.svg); background-position: 50% 40%; // visually it looks much better when the middle of the circle is centered + // make the Commons icon a tiny bit larger so people don't complain that the other icon is larger + padding: 1px; + top: -1px; } &-dynamic:before { // for repos other than Wikimedia Commons we manipulate :before dynamically from JS; this is a fallback .grayscale(); background-image: url(img/repo.svg); + width: 0.8em; + height: 0.8em; } }