Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for menu colors #1797

Merged
merged 6 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/src/app/shared/layout/layout.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<span class="toggler-icon bottom-bar"></span>
</button>
<div class="collapse navbar-collapse my-3" id="navbarSupportedContent">
<div class="nav-overlay"></div>
<!-- <div class="nav-overlay"></div> -->
<ul class="navbar-nav mr-auto">
<li class="nav-item waves-effect waves-light" routerLinkActive="active"
[routerLinkActiveOptions]="{exact: true}">
Expand Down
4 changes: 3 additions & 1 deletion ui/src/app/shared/layout/layout.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@
.navbar .dropdown-menu {
position: static !important;
background-color: transparent !important;
border: 0px !important;
}

.nav-item .btn {
padding: 0 6px !important;
padding: 3px 6px !important;
text-align: left !important;
text-transform: none !important;
width: 100% !important;
font-weight: 300 !important;
}

/* SIDEBAR NAVBAR */
Expand Down
4 changes: 4 additions & 0 deletions ui/src/scss/themes/themes-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
border-bottom-width: 1px;
}

.nav-item .btn {
color: #ffffff;
}

.nav-overlay {
display: initial;
position: fixed;
Expand Down
4 changes: 4 additions & 0 deletions ui/src/scss/themes/themes-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
z-index: -999;
background-color: rgba(255,255,255,0.8);
}

.nav-item .btn, .navbar .dropdown-menu a:not(.active) {
color: #ffffff;
}

.sidebar {
background-color: $primary;
Expand Down
Loading