From 4d3cd6c912e440d9bf892287e0c4d7b7d05cb989 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 23 Apr 2024 16:17:42 +0200 Subject: [PATCH] [FIX] website: restore "odoo" mega menu title underline's colors Those were broken by the theme update for 17.0, in particular at [1]. Indeed the underline colors were defined using `text-XXX` classes to use the theme colors, relying on the fact that the default color of HR elements used the `currentColor`. Now they use the `currentColor` but very faded... making those underline colors uglier and for one of them, basically invisible. As a stable fix, this updates the XML to make the border use the `currentColor` as before in new mega menus... although they do not work as well in 17.0 as they did in 16.0. This will be reviewed in master to use better colors and a more reliable and beautiful way. [1]: https://github.com/odoo/odoo/commit/fad514ebdc25b9de03fd387a0c07dbbc274c364e closes odoo/odoo#163011 Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/snippets/s_mega_menu_odoo_menu.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website/views/snippets/s_mega_menu_odoo_menu.xml b/addons/website/views/snippets/s_mega_menu_odoo_menu.xml index b39e017e150..b6a4693d6ae 100644 --- a/addons/website/views/snippets/s_mega_menu_odoo_menu.xml +++ b/addons/website/views/snippets/s_mega_menu_odoo_menu.xml @@ -7,7 +7,7 @@

Computers & Devices

-
+

Monitors

-
+

Electronics

-
+

Promotions

-
+