From dcd914dbae039560a4ad4db4edd0264845f7024b Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:22:22 +1100 Subject: better popup window Not manual using css, instead use a combination of css opacity and Hyprland animations --- scss/launcher.scss | 8 -------- scss/widgets.scss | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'scss') diff --git a/scss/launcher.scss b/scss/launcher.scss index 543d799..f0df755 100644 --- a/scss/launcher.scss +++ b/scss/launcher.scss @@ -15,14 +15,6 @@ } } -.launcher-wrapper { - @include lib.ease-in-out; - - &.visible { - @include lib.overshot; - } -} - .launcher { @include lib.rounded(10); @include lib.border(scheme.$overlay0, 0.2); diff --git a/scss/widgets.scss b/scss/widgets.scss index 39ab490..900dd69 100644 --- a/scss/widgets.scss +++ b/scss/widgets.scss @@ -17,6 +17,15 @@ label.icon { @include font.icon; } +window.popup { + transition: opacity 300ms linear; + opacity: 0; + + &.visible { + opacity: 1; + } +} + separator, .separator { @include lib.rounded(2); -- cgit v1.2.3-freya