mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 16:39:02 +01:00
style/right panel: use own background color when background effects are active
This commit is contained in:
parent
98b8e97fd9
commit
4fe3944585
@ -212,6 +212,7 @@
|
|||||||
--floating-button-hide-button-color: #ffffff63;
|
--floating-button-hide-button-color: #ffffff63;
|
||||||
|
|
||||||
--right-pane-background-color: var(--main-background-color);
|
--right-pane-background-color: var(--main-background-color);
|
||||||
|
--right-pane-background-color-bgfx: #0c0c0c24; /* Only for the vertical layout */
|
||||||
--right-pane-item-hover-background: #ffffff26;
|
--right-pane-item-hover-background: #ffffff26;
|
||||||
--right-pane-item-hover-color: white;
|
--right-pane-item-hover-color: white;
|
||||||
|
|
||||||
|
|||||||
@ -211,6 +211,7 @@
|
|||||||
--new-tab-button-hover-color: black;
|
--new-tab-button-hover-color: black;
|
||||||
|
|
||||||
--right-pane-background-color: var(--main-background-color);
|
--right-pane-background-color: var(--main-background-color);
|
||||||
|
--right-pane-background-color-bgfx: var(--center-pane-vert-layout-background-color-bgfx); /* Only for the vertical layout */
|
||||||
--right-pane-item-hover-background: #ececec;
|
--right-pane-item-hover-background: #ececec;
|
||||||
--right-pane-item-hover-color: inherit;
|
--right-pane-item-hover-color: inherit;
|
||||||
|
|
||||||
|
|||||||
@ -44,12 +44,12 @@ body.background-effects.platform-win32 {
|
|||||||
--new-tab-button-background: var(--window-background-color-bgfx);
|
--new-tab-button-background: var(--window-background-color-bgfx);
|
||||||
--active-tab-background-color: var(--launcher-pane-horiz-background-color);
|
--active-tab-background-color: var(--launcher-pane-horiz-background-color);
|
||||||
--root-background: transparent;
|
--root-background: transparent;
|
||||||
--right-pane-background-color: var(--center-pane-vert-layout-background-color-bgfx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body.background-effects.platform-win32.layout-vertical {
|
body.background-effects.platform-win32.layout-vertical {
|
||||||
--left-pane-background-color: var(--window-background-color-bgfx);
|
--left-pane-background-color: var(--window-background-color-bgfx);
|
||||||
--center-pane-background-color-bgfx: var(--center-pane-vert-layout-background-color-bgfx);
|
--center-pane-background-color-bgfx: var(--center-pane-vert-layout-background-color-bgfx);
|
||||||
|
--right-pane-background-color: var(--right-pane-background-color-bgfx);
|
||||||
--background-material: mica;
|
--background-material: mica;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user