summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 15:22:22 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 15:22:22 +1100
commitdcd914dbae039560a4ad4db4edd0264845f7024b (patch)
tree4a79a2758eef3f3f0cdd287b0c72c125652d6ada /scss
parentbar: media use identity (diff)
downloadcaelestia-shell-dcd914dbae039560a4ad4db4edd0264845f7024b.tar.gz
caelestia-shell-dcd914dbae039560a4ad4db4edd0264845f7024b.tar.bz2
caelestia-shell-dcd914dbae039560a4ad4db4edd0264845f7024b.zip
better popup window
Not manual using css, instead use a combination of css opacity and Hyprland animations
Diffstat (limited to 'scss')
-rw-r--r--scss/launcher.scss8
-rw-r--r--scss/widgets.scss9
2 files changed, 9 insertions, 8 deletions
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);