Skip to content

Commit 9ea7da4

Browse files
committed
🍒 Added main top nav-bar border color changing option
Signed-off-by: Vildan Safin <[email protected]>
1 parent becefcd commit 9ea7da4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

theme_kit/models/theme.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ def _compute_less(self):
144144
border-color: {theme.top_panel_border};
145145
}}
146146
'''
147+
# Compatibility theme_kit and material backend theme modules
148+
code = code + '''.main-nav {{
149+
border: 1px solid {theme.top_panel_border} !important;
150+
border-left: 0 !important;
151+
border-right: 0 !important;
152+
}}
153+
'''
147154
if self.top_panel_font_active:
148155
code = code + '''.o_main_navbar > ul > li > a {{
149156
color: {theme.top_panel_font}!important;

0 commit comments

Comments
 (0)