mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
fix(ui): Avoid the background invisible when selecting text with background color
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user