summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-01 22:01:55 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-03-01 22:01:55 +1100
commit9c1cc00965170b85146ddcdaff9eeb522e1a8d48 (patch)
tree7190907197ce94aef1d23f763935bb90bc02be0b /scss
parentlauncher: scheme autocomplete (diff)
downloadcaelestia-shell-9c1cc00965170b85146ddcdaff9eeb522e1a8d48.tar.gz
caelestia-shell-9c1cc00965170b85146ddcdaff9eeb522e1a8d48.tar.bz2
caelestia-shell-9c1cc00965170b85146ddcdaff9eeb522e1a8d48.zip
launcher: wallpaper action
Diffstat (limited to 'scss')
-rw-r--r--scss/launcher.scss32
1 files changed, 32 insertions, 0 deletions
diff --git a/scss/launcher.scss b/scss/launcher.scss
index 49f09c8..983f362 100644
--- a/scss/launcher.scss
+++ b/scss/launcher.scss
@@ -153,4 +153,36 @@
}
}
}
+
+ .wallpaper {
+ margin: lib.s(3) 0;
+
+ .thumbnail {
+ background-size: cover;
+ background-position: center;
+ }
+
+ &.compact .thumbnail {
+ @include lib.rounded(100);
+
+ min-width: lib.s(32);
+ min-height: lib.s(32);
+ }
+
+ &:not(.compact) {
+ @include lib.spacing(3, true);
+
+ .thumbnail {
+ @include lib.rounded(10);
+ }
+ }
+
+ &.medium .thumbnail {
+ min-height: lib.s(96);
+ }
+
+ &.large .thumbnail {
+ min-height: lib.s(160);
+ }
+ }
}