Skip to content

Commit

Permalink
Fixed #1557 - Items in PanelMenu are highlighted wrongly with Materia…
Browse files Browse the repository at this point in the history
…l dark themes
  • Loading branch information
mertsincan committed Sep 8, 2020
1 parent 51dbd5f commit 0c9b8bf
Show file tree
Hide file tree
Showing 32 changed files with 132 additions and 4 deletions.
4 changes: 4 additions & 0 deletions public/themes/arya-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #93cbf9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/arya-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #a7d8a9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/arya-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #ffe284; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/arya-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #cf95d9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/bootstrap4-dark-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #e3f3fe; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1.5rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/bootstrap4-dark-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #f0e6f5; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1.5rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/bootstrap4-light-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem rgba(38, 143, 255, 0.5); }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1.5rem;
color: #212529;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #212529;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/bootstrap4-light-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem rgba(136, 60, 174, 0.5); }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1.5rem;
color: #212529;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #212529;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/luna-amber/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem white; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #dedede;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #dedede;
background: #4c4c4c; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/luna-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem white; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #dedede;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #dedede;
background: #4c4c4c; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/luna-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem white; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #dedede;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #dedede;
background: #4c4c4c; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/luna-pink/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem white; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #dedede;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #dedede;
background: #4c4c4c; }
Expand Down
6 changes: 5 additions & 1 deletion public/themes/md-dark-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 1rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down Expand Up @@ -4002,7 +4006,7 @@
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled .p-panelmenu-header-link > * {
opacity: 0.38; }
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header:not(.p-highlight) .p-panelmenu-header-link:focus {
background: #f6f6f6; }
background: rgba(255, 255, 255, 0.04); }

.p-progressbar {
border-radius: 0; }
Expand Down
6 changes: 5 additions & 1 deletion public/themes/md-dark-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 1rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down Expand Up @@ -4002,7 +4006,7 @@
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled .p-panelmenu-header-link > * {
opacity: 0.38; }
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header:not(.p-highlight) .p-panelmenu-header-link:focus {
background: #f6f6f6; }
background: rgba(255, 255, 255, 0.04); }

.p-progressbar {
border-radius: 0; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/md-light-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 1rem 1rem;
color: rgba(0, 0, 0, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(0, 0, 0, 0.87);
background: rgba(0, 0, 0, 0.04); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/md-light-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 1rem 1rem;
color: rgba(0, 0, 0, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(0, 0, 0, 0.87);
background: rgba(0, 0, 0, 0.04); }
Expand Down
6 changes: 5 additions & 1 deletion public/themes/mdc-dark-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.75rem 0.75rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down Expand Up @@ -4002,7 +4006,7 @@
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled .p-panelmenu-header-link > * {
opacity: 0.38; }
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header:not(.p-highlight) .p-panelmenu-header-link:focus {
background: #f6f6f6; }
background: rgba(255, 255, 255, 0.04); }

.p-progressbar {
border-radius: 0; }
Expand Down
6 changes: 5 additions & 1 deletion public/themes/mdc-dark-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.75rem 0.75rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.04); }
Expand Down Expand Up @@ -4002,7 +4006,7 @@
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header.p-disabled .p-panelmenu-header-link > * {
opacity: 0.38; }
.p-panelmenu .p-panelmenu-panel .p-panelmenu-header:not(.p-highlight) .p-panelmenu-header-link:focus {
background: #f6f6f6; }
background: rgba(255, 255, 255, 0.04); }

.p-progressbar {
border-radius: 0; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/mdc-light-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.75rem 0.75rem;
color: rgba(0, 0, 0, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(0, 0, 0, 0.87);
background: rgba(0, 0, 0, 0.04); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/mdc-light-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: none; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.75rem 0.75rem;
color: rgba(0, 0, 0, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(0, 0, 0, 0.87);
background: rgba(0, 0, 0, 0.04); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/nova-accent/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem #8dcdff; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #333333;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #333333;
background: #eaeaea; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/nova-alt/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem #8dcdff; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #333333;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #333333;
background: #eaeaea; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/nova/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem #8dcdff; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #333333;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #333333;
background: #eaeaea; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/rhea/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.2rem #e4e9ec; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.429rem 0.857rem;
color: #666666;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #666666;
background: #f4f4f4; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/saga-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #a6d5fa; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: #495057;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #495057;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/saga-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #b7e0b8; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: #495057;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #495057;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/saga-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #ffe69c; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: #495057;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #495057;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/saga-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.15rem #df9eea; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: #495057;
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: #495057;
background: #e9ecef; }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/vela-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #93cbf9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/vela-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #a7d8a9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/vela-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #ffe284; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down
4 changes: 4 additions & 0 deletions public/themes/vela-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 1px #cf95d9; }
.p-listbox .p-listbox-list .p-listbox-empty-message {
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.87);
background: transparent; }
.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.03); }
Expand Down

0 comments on commit 0c9b8bf

Please sign in to comment.