Blame SOURCES/0001-theme-Update-window-preview-style.patch

477568
From c68fd3c94c6debdbf11020940c5a6aaee8bc230d Mon Sep 17 00:00:00 2001
477568
From: Feichtmeier <frederik.feichtmeier@gmail.com>
477568
Date: Fri, 15 Mar 2019 14:41:55 +0100
477568
Subject: [PATCH] theme: Update window preview style
477568
477568
 - simplify the close button to use blue, lighter blue and darker blue
477568
   solid disks for normal, hover and active states
477568
477568
 - use a milky, transparent white border for the hover effect of the border
477568
477568
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/461
477568
---
477568
 data/theme/gnome-shell-sass/_common.scss | 29 ++++++++++++------------
477568
 1 file changed, 14 insertions(+), 15 deletions(-)
477568
477568
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
477568
index 9e0751c8c..8bf368f6e 100644
477568
--- a/data/theme/gnome-shell-sass/_common.scss
477568
+++ b/data/theme/gnome-shell-sass/_common.scss
477568
@@ -1164,25 +1164,23 @@ StScrollBar {
477568
 //close buttons
477568
 
477568
 .window-close {
477568
-  background-color: white;
477568
+  background-color: $selected_bg_color;
477568
+  color: white;
477568
   border-radius: 24px;
477568
-  border: 4px solid $selected_bg_color;
477568
-  box-shadow: inset 0 -4px 0 0 transparentize($selected_bg_color, 0.5);
477568
-  color: $selected_bg_color;
477568
+  border: 2px solid $selected_bg_color;
477568
   height: 24px;
477568
   width: 24px;
477568
-  -shell-close-overlap: 14px;
477568
+  -shell-close-overlap: 11px;
477568
+  box-shadow: -1px 1px 5px 0px transparentize(black, 0.5);
477568
 
477568
   &:hover {
477568
-    background-color: $selected_bg_color;
477568
-    border-color: white;
477568
-    color: white;
477568
+    background-color: lighten($selected_bg_color, 5%);
477568
+    border-color: lighten($selected_bg_color, 5%);
477568
   }
477568
 
477568
   &:active {
477568
-    background-color: mix(white, $selected_bg_color, 75%);
477568
-    border-color: $selected_bg_color;
477568
-    color: $selected_bg_color;
477568
+    background-color: darken($selected_bg_color, 5%);
477568
+    border-color: darken($selected_bg_color, 5%);
477568
   }
477568
 }
477568
 
477568
@@ -1247,13 +1245,14 @@ StScrollBar {
477568
   }
477568
 
477568
   .window-clone-border {
477568
-    border: 4px solid $selected_bg_color;
477568
-    border-radius: 4px;
477568
+    $_bg: transparentize(white, 0.65);
477568
+    border: 5px solid $_bg;
477568
+    border-radius: 6px;
477568
     // For window decorations with round corners we can't match
477568
     // the exact shape when the window is scaled. So apply a shadow
477568
     // to fix that case
477568
-    box-shadow: inset 0px 0px 0px 1px $selected_bg_color;
477568
-  }
477568
+    box-shadow: inset 0 0 0 1px $_bg;
477568
+}
477568
   .window-caption {
477568
     spacing: 25px;
477568
     color: $selected_fg_color;
477568
-- 
477568
2.31.1
477568