mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 16:32:33 +08:00
fix(ui): Avoid the background invisible when selecting text with background color
This commit is contained in:
parent
5f2735749e
commit
729a32610a
@ -1222,6 +1222,10 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
|
|||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
background-color: var(--selection-background-color);
|
||||||
|
}
|
||||||
|
|
||||||
[data-bs-toggle="tooltip"]:not(.button-widget) span {
|
[data-bs-toggle="tooltip"]:not(.button-widget) span {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
border-bottom: 1px dotted;
|
border-bottom: 1px dotted;
|
||||||
|
@ -195,6 +195,8 @@
|
|||||||
--scrollbar-background-color: transparent;
|
--scrollbar-background-color: transparent;
|
||||||
--scrollbar-border-color: unset; /* Deprecated */
|
--scrollbar-border-color: unset; /* Deprecated */
|
||||||
|
|
||||||
|
--selection-background-color: #3399FF70;
|
||||||
|
|
||||||
--link-color: lightskyblue;
|
--link-color: lightskyblue;
|
||||||
|
|
||||||
--mermaid-theme: dark;
|
--mermaid-theme: dark;
|
||||||
|
@ -194,6 +194,8 @@
|
|||||||
--scrollbar-background-color: transparent;
|
--scrollbar-background-color: transparent;
|
||||||
--scrollbar-border-color: unset; /* Deprecated */
|
--scrollbar-border-color: unset; /* Deprecated */
|
||||||
|
|
||||||
|
--selection-background-color: #3399FF70;
|
||||||
|
|
||||||
--link-color: blue;
|
--link-color: blue;
|
||||||
|
|
||||||
--mermaid-theme: default;
|
--mermaid-theme: default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user