diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index 10f50c9b4..f9aa91101 100644 --- a/src/public/stylesheets/theme-next.css +++ b/src/public/stylesheets/theme-next.css @@ -413,7 +413,7 @@ body.layout-horizontal { } /* #region Mica */ -body.background-effects { +body.electron.platform-win32 { --launcher-pane-background-color: rgba(255, 255, 255, 0.09); --tab-background-color: transparent; --active-tab-background-color: var(--launcher-pane-background-color); @@ -421,21 +421,18 @@ body.background-effects { --native-titlebar-background: #00000000; } -body.background-effects, -body.background-effects #root-widget { - background: transparent !important; -} - -body.background-effects.layout-vertical { +body.electron.platform-win32.layout-vertical { --left-pane-background-color: transparent; --launcher-pane-background-color: rgba(255, 255, 255, 0.055); } -body.background-effects #launcher-pane .launcher-button { - background-color: transparent; +body.electron.platform-win32, +body.electron.platform-win32 #root-widget, +body.electron.platform-win32 #launcher-pane .launcher-button { + background: transparent !important; } -body.background-effects.layout-horizontal #horizontal-main-container { +body.electron.platform-win32.layout-horizontal #horizontal-main-container { background-color: var(--root-background); } /* #endregion */ diff --git a/src/routes/index.ts b/src/routes/index.ts index 5c8f39904..a37965b4c 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -37,7 +37,6 @@ function index(req: Request, res: Response) { platform: process.platform, isElectron, hasNativeTitleBar: (isElectron && options.nativeTitleBarVisible === "true"), - hasBackgroundEffects: true, // TODO: Replace with option mainFontSize: parseInt(options.mainFontSize), treeFontSize: parseInt(options.treeFontSize), detailFontSize: parseInt(options.detailFontSize), diff --git a/src/views/desktop.ejs b/src/views/desktop.ejs index 64c851b1b..29afdcfd3 100644 --- a/src/views/desktop.ejs +++ b/src/views/desktop.ejs @@ -6,7 +6,7 @@