From a10382b144434948dc9d931ac8f01c46ba2fc286 Mon Sep 17 00:00:00 2001 From: Volker E Date: Wed, 2 Oct 2019 00:24:25 -0700 Subject: [PATCH] Lighten up search input background slightly Increasing contrast by ligthened search input background and moving properties to search input alone. Bug: T225331 Change-Id: If888d32b829b01b2457f3f5c727fb59a6219f940 --- components/search.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/search.less b/components/search.less index 31c31db..a75709a 100644 --- a/components/search.less +++ b/components/search.less @@ -29,17 +29,16 @@ // Styles for both the search input and the button. input { - // Support IE6-8: Fallback for browsers, which don't support `rgba()`. - background-color: @background-color-base; - background-color: rgba( 0, 0, 0, 0 ); - color: @color-base--emphasized; margin: 0; } } // The search input. - #searchInput { + // Support IE6-8: Fallback for browsers, which don't support `rgba()`. + background-color: @background-color-base; + background-color: rgba( 255, 255, 255, 0.5 ); + color: @color-base--emphasized; width: 100%; .box-sizing( border-box ); border: @border-width-base @border-style-base @colorGray10; @@ -105,6 +104,7 @@ } #searchButton { + background-color: transparent; .background-image-svg( 'images/search.svg', 'images/search.png' ); background-position: center center; background-repeat: no-repeat;