From 08197f56d01482705fcde9a50619e9867a192c7e Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 2 Nov 2025 18:22:07 +0200 Subject: [PATCH] style/zen mode/fixed formatting toolbar: add entrance animation --- .../client/src/stylesheets/theme-next/shell.css | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css index 9860c1c2f..dc6aa9022 100644 --- a/apps/client/src/stylesheets/theme-next/shell.css +++ b/apps/client/src/stylesheets/theme-next/shell.css @@ -94,9 +94,20 @@ body.layout-vertical #horizontal-main-container.left-pane-hidden #launcher-pane. border-inline-end: 2px solid var(--left-pane-collapsed-border-color); } -body.background-effects.zen #root-widget { - --main-background-color: transparent; - --root-background: transparent; +/* + * Zen mode + */ + +@keyframes zen-formatting-toolbar-entrance { + from { + transform: translateY(200%); + } to { + transform: translateY(0); + } +} + +body.zen .note-split .ribbon-container .classic-toolbar-widget { + animation: zen-formatting-toolbar-entrance 300ms ease-out; } /*