From eaf350a20cbbe74cfb26187638157ebb63d53f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 23 May 2016 18:10:30 +0300 Subject: [PATCH] Some styling tweaks to search bar From https://gerrit.wikimedia.org/r/#/c/285593/6/resources/css/ext.uls.css --- css/jquery.uls.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/css/jquery.uls.css b/css/jquery.uls.css index 3f78ddf..6c895eb 100644 --- a/css/jquery.uls.css +++ b/css/jquery.uls.css @@ -114,6 +114,10 @@ div.uls-region { border-bottom-color: #DDD; } +.grid .uls-search { + padding-left: 0; +} + /* Make space for magnifying class on the front */ .uls-search-wrapper { position: relative; @@ -127,13 +131,14 @@ div.uls-region { background-image: -webkit-linear-gradient(transparent, transparent), url('../images/search.svg'); /* @embed */ background-image: linear-gradient(transparent, transparent), url('../images/search.svg'); - background-size: 32px; + background-size: 28px; background-position: center center; height: 32px; width: 40px; display: block; position: absolute; left: 0; + opacity: 0.8; } .uls-search-input-wrapper { @@ -146,7 +151,7 @@ div.uls-region { height: 32px; width: 100%; /* For the custom clear (X) icon */ - padding: 6px 25px 6px 6px; + padding: 6px 25px 6px 0; outline: none; border: none;