Skip to content

Commit

Permalink
🍒 Added main top nav-bar border color changing option
Browse files Browse the repository at this point in the history
Signed-off-by: Vildan Safin <[email protected]>
  • Loading branch information
Enigma228322 committed Sep 2, 2020
1 parent becefcd commit 9ea7da4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions theme_kit/models/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ def _compute_less(self):
border-color: {theme.top_panel_border};
}}
'''
# Compatibility theme_kit and material backend theme modules
code = code + '''.main-nav {{
border: 1px solid {theme.top_panel_border} !important;
border-left: 0 !important;
border-right: 0 !important;
}}
'''
if self.top_panel_font_active:
code = code + '''.o_main_navbar > ul > li > a {{
color: {theme.top_panel_font}!important;
Expand Down

0 comments on commit 9ea7da4

Please sign in to comment.