Skip to content

Build your personal knowledge base with Trilium Notes

style(next): fix regression in horizontal mica

Elian Doranaf0db5d508b0
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index d6e72687e6..f1fbd9d43b 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -36,21 +36,19 @@ body.mobile {
/* #region Mica */
body.background-effects.platform-win32 {
+ --launcher-pane-horiz-border-color: rgba(0, 0, 0, 0.15);
+ --launcher-pane-horiz-background-color: rgba(255, 255, 255, 0.7);
+ --launcher-pane-vert-background-color: rgba(255, 255, 255, 0.055);
--tab-background-color: transparent;
--new-tab-button-background: transparent;
- --active-tab-background-color: var(--launcher-pane-background-color); /* TODO: fix */
+ --active-tab-background-color: var(--launcher-pane-horiz-background-color);
--background-material: tabbed;
}
-body.background-effects.platform-win32 #launcher-pane {
- --launcher-pane-horizontal-border-color: rgba(0, 0, 0, 0.15);
- --launcher-pane-background-color: rgba(255, 255, 255, 0.7);
-}
-
@media (prefers-color-scheme: dark) {
body.background-effects.platform-win32 #launcher-pane {
- --launcher-pane-horizontal-border-color: rgba(0, 0, 0, 0.5);
- --launcher-pane-background-color: rgba(255, 255, 255, 0.09);
+ --launcher-pane-horiz-border-color: rgba(0, 0, 0, 0.5);
+ --launcher-pane-horiz-background-color: rgba(255, 255, 255, 0.09);
}
}
@@ -60,10 +58,6 @@ body.background-effects.platform-win32.layout-vertical {
--background-material: mica;
}
-body.background-effects.platform-win32.layout-vertical #launcher-pane {
- --launcher-pane-background-color: rgba(255, 255, 255, 0.055);
-}
-
body.background-effects.platform-win32,
body.background-effects.platform-win32 #root-widget,
body.background-effects.platform-win32 #launcher-pane .launcher-button {