Skip to content

Commit

Permalink
fixed top menu colors after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
godfryd committed Jul 27, 2023
1 parent 14fe3bd commit deea9c1
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions ui/src/app/app.component.sass
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,44 @@
border-width: 0px

// make top level menu white
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-content .p-menuitem-link .p-menuitem-icon
color: white
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-content .p-menuitem-link .p-menuitem-text
color: white
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-content .p-menuitem-link .p-submenu-icon
color: white

// change bg color of top menu item when hovered from light to blue-ish
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:hover
background-color: #2196F3
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-menuitem-icon
background-color: #2196F3
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-submenu-icon
background-color: #2196F3

// change bg color of top menu item when activated from light to blue-ish
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link
background-color: #0d89ec
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover
background-color: #0d89ec
:host ::ng-deep .menubar.p-menubar .p-menuitem.p-highlight > .p-menuitem-content
background-color: #0d89ec

// change text color of active top menu from black to white
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text
color: #eee
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text
color: #eee
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-menuitem-icon
color: #eee
:host ::ng-deep .menubar.menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-submenu-icon
color: #eee
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-menuitem-text
color: #eee
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-menuitem-icon
color: #eee
:host ::ng-deep .menubar.p-menubar .p-menubar-root-list > .p-menuitem:not(.p-highlight):not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-link .p-submenu-icon
color: #eee


// style for error indicator in to bar menu
Expand Down

0 comments on commit deea9c1

Please sign in to comment.