From 67179893813324e1d332ff615102b03ce3644286 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Fri, 4 Oct 2024 11:08:46 +0200 Subject: [PATCH] [FIX] web_company_color: Colors where not shown correctly --- web_company_color/models/res_company.py | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/web_company_color/models/res_company.py b/web_company_color/models/res_company.py index 4bd8b7403781..278e832d310e 100644 --- a/web_company_color/models/res_company.py +++ b/web_company_color/models/res_company.py @@ -45,15 +45,22 @@ class ResCompany(models.Model): } } } - a[href], - a[tabindex], - .btn-link, - .o_external_button { - color: %(color_link_text)s !important; - } + + a[href], + a[tabindex], + .btn-link, + .o_external_button { + color: %(color_link_text)s; + .o_main_navbar { + color: none; + } + } a:hover, .btn-link:hover { - color: %(color_link_text_hover)s !important; + color: %(color_link_text_hover)s; + .o_main_navbar { + color: none; + } } .btn-primary:not(.disabled), .ui-autocomplete .ui-menu-item > a.ui-state-active {