Skip to content

Commit 47d5eb2

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

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

theme_kit/models/theme.py

Lines changed: 8 additions & 1 deletion
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;
@@ -422,7 +429,7 @@ def _compute_less(self):
422429
)
423430
if self.left_panel_right_border_active:
424431
code = code + '''#app-sidebar{{
425-
border: 3px solid {theme.left_panel_right_border};
432+
border: 1px solid {theme.left_panel_right_border};
426433
border-top: 0;
427434
border-bottom: 0;
428435
border-left: 0;

0 commit comments

Comments
 (0)