Skip to content

Commit

Permalink
[#1176] Fixed submenu colors
Browse files Browse the repository at this point in the history
  • Loading branch information
msiodelski committed Oct 5, 2023
1 parent a42b57d commit d5669bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui/src/app/app.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
// Apply the below changes only if the hamburger menu is not used.
&:not(.p-menubar-mobile-active)
.p-menuitem
.p-menuitem-text
.p-menuitem-text,.p-submenu-icon
// Use white text for better contrast on the blue background.
color: white !important
&:hover
.p-menuitem-text
.p-menuitem-text,.p-submenu-icon
// On hover the background is white, so use black text.
color: black !important
&.p-menuitem-active
.p-menuitem-text
.p-menuitem-text,.p-submenu-icon
// If the menu is open, the background is white, so use black text.
color: black !important

Expand Down

0 comments on commit d5669bd

Please sign in to comment.