[IMP] website: search button color
Prior to this commit, the button with the search icon, inside the search bar, was `primary, which is not consistent with the filters that are `light`. Part-of: odoo/odoo#137729
This commit is contained in:
@@ -2585,8 +2585,8 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
|
||||
<template id="website_search_box" name="Website Searchbox">
|
||||
<div t-attf-class="input-group #{_classes}" role="search">
|
||||
<t t-set="search_placeholder">Search...</t>
|
||||
<input type="search" name="search" t-att-class="'search-query form-control oe_search_box %s' % _input_classes" t-att-placeholder="placeholder if placeholder else search_placeholder" t-att-value="search"/>
|
||||
<button type="submit" t-att-class="'btn oe_search_button %s' % (_submit_classes or 'btn-primary')" aria-label="Search" title="Search">
|
||||
<input type="search" name="search" t-att-class="'search-query form-control oe_search_box border-0 bg-light %s' % _input_classes" t-att-placeholder="placeholder if placeholder else search_placeholder" t-att-value="search"/>
|
||||
<button type="submit" t-att-class="'btn oe_search_button %s' % (_submit_classes or 'btn-light')" aria-label="Search" title="Search">
|
||||
<i class="oi oi-search"/>
|
||||
<span t-if="search" class="oe_search_found">
|
||||
<small>(<t t-out="search_count or 0"/> found)</small>
|
||||
|
||||
Reference in New Issue
Block a user