mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
style/quick search results: customize the highlight color
This commit is contained in:
parent
620b57bfa6
commit
e2cd357319
@ -122,6 +122,7 @@
|
|||||||
--quick-search-focus-background: #ffffff1f;
|
--quick-search-focus-background: #ffffff1f;
|
||||||
--quick-search-focus-color: white;
|
--quick-search-focus-color: white;
|
||||||
--quick-search-result-content-background: #0000004d;
|
--quick-search-result-content-background: #0000004d;
|
||||||
|
--quick-search-result-highlight-color: #a4d995;
|
||||||
|
|
||||||
--left-pane-collapsed-border-color: #0009;
|
--left-pane-collapsed-border-color: #0009;
|
||||||
--left-pane-background-color: #1f1f1f;
|
--left-pane-background-color: #1f1f1f;
|
||||||
|
@ -116,6 +116,7 @@
|
|||||||
--quick-search-focus-background: #ffffff80;
|
--quick-search-focus-background: #ffffff80;
|
||||||
--quick-search-focus-color: #000;
|
--quick-search-focus-color: #000;
|
||||||
--quick-search-result-content-background: #00000017;
|
--quick-search-result-content-background: #00000017;
|
||||||
|
--quick-search-result-highlight-color: #c65050;
|
||||||
|
|
||||||
--left-pane-collapsed-border-color: #0000000d;
|
--left-pane-collapsed-border-color: #0000000d;
|
||||||
--left-pane-background-color: #f2f2f2;
|
--left-pane-background-color: #f2f2f2;
|
||||||
|
@ -614,6 +614,14 @@ div.quick-search .search-button.show {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Highlighted search terms */
|
||||||
|
:root .quick-search .search-result-title b,
|
||||||
|
:root .quick-search .search-result-content b,
|
||||||
|
:root .quick-search .search-result-attributes b {
|
||||||
|
color: var(--quick-search-result-highlight-color);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
/* Divider line */
|
/* Divider line */
|
||||||
.quick-search .dropdown-item::after {
|
.quick-search .dropdown-item::after {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user