From c17dc9c8ecba0b542aab75f13da238f7b0690031 Mon Sep 17 00:00:00 2001 From: Joonas Henriksson Date: Fri, 9 Apr 2021 18:19:11 +0300 Subject: [PATCH] theme: Rotate placeholder for horizontal workspace-thumbnails On the new horizontal workspace-thumbnails, the old placeholder from vertical dash appeared too small, and was easily hidden behind the dragged window/icon. Rotate the placeholder 90 degrees to better fill the spacing between thumbnails. Part-of: --- data/gnome-shell-theme.gresource.xml | 2 +- .../widgets/_workspace-thumbnails.scss | 2 +- data/theme/workspace-placeholder.svg | 119 ++++++++++++++++++ 3 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 data/theme/workspace-placeholder.svg diff --git a/data/gnome-shell-theme.gresource.xml b/data/gnome-shell-theme.gresource.xml index 4eb185c53..7857f4407 100644 --- a/data/gnome-shell-theme.gresource.xml +++ b/data/gnome-shell-theme.gresource.xml @@ -9,7 +9,6 @@ checkbox-off.svg checkbox.svg color-pick.svg - dash-placeholder.svg gnome-shell.css gnome-shell-high-contrast.css gnome-shell-start.svg @@ -36,5 +35,6 @@ toggle-on.svg toggle-on-dark.svg toggle-on-hc.svg + workspace-placeholder.svg diff --git a/data/theme/gnome-shell-sass/widgets/_workspace-thumbnails.scss b/data/theme/gnome-shell-sass/widgets/_workspace-thumbnails.scss index 774408bb7..508ac2536 100644 --- a/data/theme/gnome-shell-sass/widgets/_workspace-thumbnails.scss +++ b/data/theme/gnome-shell-sass/widgets/_workspace-thumbnails.scss @@ -13,7 +13,7 @@ // drag and drop indicator .placeholder { - background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg"); + background-image: url("resource:///org/gnome/shell/theme/workspace-placeholder.svg"); background-size: contain; width: 18px; } diff --git a/data/theme/workspace-placeholder.svg b/data/theme/workspace-placeholder.svg new file mode 100644 index 000000000..ff5dc92c1 --- /dev/null +++ b/data/theme/workspace-placeholder.svg @@ -0,0 +1,119 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + +