Skip to content

Build your personal knowledge base with Trilium Notes

style/note splits: highlight the active split only in a multi-split view

Adorian Doran0c1859dc43df
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index cd016eee12..f81e8fcf72 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1260,13 +1260,15 @@ body.layout-horizontal #rest-pane > .classic-toolbar-widget {
padding-top: 2px;
background-color: var(--note-split-background-color, var(--main-background-color));
transition: border-color 250ms ease-in;
- border: 1px solid transparent;
+ border: 2px solid transparent;
+}
- &.active {
- border-color: var(--link-selection-outline-color);
- }
+/* The active split in a multi-split view */
+#center-pane > .split-note-container-widget:has(> .note-split.visible ~ .note-split.visible) > .note-split.active {
+ border-color: var(--link-selection-outline-color);
}
+
body:not(.background-effects) #center-pane .note-split {
animation: note-entrance 100ms linear;
}