change background in active drop down options

Seems like the new material version came with weird coloring.
This commit is contained in:
2020-10-17 10:49:14 +02:00
parent 833f800afa
commit 2cdc9813da
2 changed files with 9 additions and 5 deletions

View File

@@ -1,8 +1,3 @@
.mat-option {
/*height: 1.5em;
line-height: 1.5em;
/**/
}
#query-autocomplete-input { #query-autocomplete-input {
border: solid 1px #ccc; border: solid 1px #ccc;

View File

@@ -79,6 +79,15 @@ button[disabled] .icon-inline {
opacity: 0.25; opacity: 0.25;
} }
mat-option.mat-option {
height: 2em;
line-height: 2em;
}
mat-option.mat-option.mat-active {
background-color: #ccc;
}
a.external-link:after { a.external-link:after {
background: transparent url('/assets/img/external-link.svg') no-repeat center bottom; background: transparent url('/assets/img/external-link.svg') no-repeat center bottom;
background-size: 0.8em; background-size: 0.8em;