Highlight color
This commit is contained in:
+1
-3
@@ -15,7 +15,6 @@ import {UserService} from '../../../../settings/user-management/user.service';
|
|||||||
import {MagicShelf} from '../../../../magic-shelf/service/magic-shelf.service';
|
import {MagicShelf} from '../../../../magic-shelf/service/magic-shelf.service';
|
||||||
import {BookRuleEvaluatorService} from '../../../../magic-shelf/service/book-rule-evaluator.service';
|
import {BookRuleEvaluatorService} from '../../../../magic-shelf/service/book-rule-evaluator.service';
|
||||||
import {GroupRule} from '../../../../magic-shelf/component/magic-shelf-component';
|
import {GroupRule} from '../../../../magic-shelf/component/magic-shelf-component';
|
||||||
import {Tooltip} from 'primeng/tooltip';
|
|
||||||
|
|
||||||
type Filter<T> = { value: T; bookCount: number };
|
type Filter<T> = { value: T; bookCount: number };
|
||||||
|
|
||||||
@@ -152,8 +151,7 @@ function getReadStatusName(status?: ReadStatus | null): string {
|
|||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
TitleCasePipe,
|
TitleCasePipe,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
SelectButton,
|
SelectButton
|
||||||
Tooltip,
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class BookFilterComponent implements OnInit, OnDestroy {
|
export class BookFilterComponent implements OnInit, OnDestroy {
|
||||||
|
|||||||
@@ -49,13 +49,13 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--p-surface-700);
|
background-color: var(--p-surface-800);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:host(.active-menuitem) .menu-item-container {
|
:host(.active-menuitem) .menu-item-container {
|
||||||
background-color: var(--p-surface-800);
|
background-color: color-mix(in srgb, var(--p-primary-300), transparent 92%);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user