From 82b1a36bb3d327620ab5f67d71f70334778e36e9 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 20 Aug 2022 18:33:31 -0300 Subject: [PATCH 1/3] Revert "appDisplay: Reduce drag overshoot timeout" This reverts commit 01e43969e812e42c7218727506474f9f1b626fa7. As per design feedback [1]. [1] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335#note_1525991 Part-of: --- js/ui/appDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 92ed05b72f..fd73bf1b71 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -44,7 +44,7 @@ const PAGE_INDICATOR_FADE_TIME = 200; const PAGE_PREVIEW_RATIO = 0.20; const OVERSHOOT_THRESHOLD = 20; -const OVERSHOOT_TIMEOUT = 300; +const OVERSHOOT_TIMEOUT = 1000; const DELAYED_MOVE_TIMEOUT = 200; -- GitLab From 279ba0f4cdc398ff4218ca05860705f95f7175ee Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 20 Aug 2022 18:36:38 -0300 Subject: [PATCH 2/3] Revert "appDisplay: Remove style of page indicators" This reverts commit 341cad764e1bb0ac36f9c711ba9cd600efdb71db. Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5738 Part-of: --- .../gnome-shell-sass/widgets/_app-grid.scss | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/data/theme/gnome-shell-sass/widgets/_app-grid.scss b/data/theme/gnome-shell-sass/widgets/_app-grid.scss index 49d3086a4f..abea753353 100644 --- a/data/theme/gnome-shell-sass/widgets/_app-grid.scss +++ b/data/theme/gnome-shell-sass/widgets/_app-grid.scss @@ -124,6 +124,28 @@ $app_icon_size: 96px; icon-size: $app_icon_size * 0.5; } +.page-navigation-hint { + &.dnd { + background: rgba(255, 255, 255, 0.1); + } + + &.next:ltr, + &.previous:rtl { + background-gradient-start: rgba(255, 255, 255, 0.05); + background-gradient-end: transparent; + background-gradient-direction: horizontal; + border-radius: $modal_radius*1.5 0px 0px $modal_radius*1.5; + } + + &.previous:ltr, + &.next:rtl { + background-gradient-start: transparent; + background-gradient-end: rgba(255, 255, 255, 0.05); + background-gradient-direction: horizontal; + border-radius: 0px $modal_radius*1.5 $modal_radius*1.5 0px; + } +} + .page-navigation-arrow { & > StIcon { margin: 6px; -- GitLab From 2f3256fe7286f64cb4c46931e92e0c96e5f3289f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 22 Aug 2022 16:37:37 -0300 Subject: [PATCH 3/3] style: Slightly increase app folder size So that it can handle the now always visible arrows without downscaling the icons. Part-of: --- data/theme/gnome-shell-sass/widgets/_app-grid.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_app-grid.scss b/data/theme/gnome-shell-sass/widgets/_app-grid.scss index abea753353..9da650cf9c 100644 --- a/data/theme/gnome-shell-sass/widgets/_app-grid.scss +++ b/data/theme/gnome-shell-sass/widgets/_app-grid.scss @@ -78,8 +78,8 @@ $app_icon_size: 96px; .app-folder-dialog-container { padding: $base_padding*2; - width: 640px; - height: 640px; + width: 720px; + height: 720px; } // Running app indicator (also shown in dash) -- GitLab