From d0940ae7d0c584f099b3e9e1b2e6c1e5253e1405 Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Wed, 31 May 2023 09:03:45 +0000 Subject: [PATCH] [FIX] web: revamp superuser navbar This commit introduces a revamp of the superuser navbar. The element was using some unnecessary styling that could be removed. Instead of using a gradient as background, we now use a transparent box with a gradient as border. task-3337789 part of task-332626 closes odoo/odoo#123613 X-original-commit: 98183ae2e9e3207a64f6438edf1027b6a708dbdd Related: odoo/enterprise#41916 Signed-off-by: Pierre Paridans (app) --- addons/web/static/src/webclient/navbar/navbar.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/webclient/navbar/navbar.scss b/addons/web/static/src/webclient/navbar/navbar.scss index f2b373c8e43..4705bd09b38 100644 --- a/addons/web/static/src/webclient/navbar/navbar.scss +++ b/addons/web/static/src/webclient/navbar/navbar.scss @@ -124,13 +124,7 @@ // = SuperUser Design // ============================================================================ body.o_is_superuser .o_menu_systray { - position: relative; - background: repeating-linear-gradient(135deg, #d9b904, #d9b904 10px, #373435 10px, #373435 20px); - - &:before { - content: ""; - @include o-position-absolute(2px, 2px, 2px, 2px); - background-color: $o-brand-odoo; - } + border-image: repeating-linear-gradient(135deg, #d9b904, #d9b904 10px, #373435 10px, #373435 20px) 2; + border-image-width: map-get($border-widths, 2); }