From ffa0d7861ae652eed10e4a9a778181d17a0f3751 Mon Sep 17 00:00:00 2001 From: Karl Hasselbring <karl@suma-ev.de> Date: Tue, 2 Oct 2018 09:33:55 +0200 Subject: [PATCH] Added variable for searchbar background color --- resources/assets/less/metager/searchbar.less | 5 ++--- resources/assets/less/metager/variables.less | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less index 393ab9173..295c94940 100644 --- a/resources/assets/less/metager/searchbar.less +++ b/resources/assets/less/metager/searchbar.less @@ -16,10 +16,8 @@ font-size: 16px; background-color: transparent; color: #333; - &>* { - background-color: white; - } .search-input-submit { + background-color: @searchbar-background-color; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; @@ -103,6 +101,7 @@ height: 40px; -webkit-box-shadow: none; box-shadow: none; + background-color: transparent; &:focus { outline-color: @metager-orange; -webkit-box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1); diff --git a/resources/assets/less/metager/variables.less b/resources/assets/less/metager/variables.less index e0cde9186..6a99c619e 100644 --- a/resources/assets/less/metager/variables.less +++ b/resources/assets/less/metager/variables.less @@ -54,4 +54,5 @@ sans-serif; @product-a-color: @color-strong-grey; @product-price-color: @color-strong-grey; @product-price-background-color: fade(@color-white, 90%); -@lsprev-or-lsnext-i-background-color: @color-black; \ No newline at end of file +@lsprev-or-lsnext-i-background-color: @color-black; +@searchbar-background-color: white; \ No newline at end of file -- GitLab