[gnome-builder] greeter: improve template selection style



commit b8edbe93bc622110f4882cc3de585a8184316be1
Author: Christian Hergert <chergert redhat com>
Date:   Mon Mar 7 13:02:10 2022 -0800

    greeter: improve template selection style
    
    Using the background for selecting the theme results in very poor alpha
    blending of the template icons which looks out of place on both light and
    dark styles.
    
    Just use a border for now until we address the design in 43 altogether.

 src/plugins/create-project/themes/shared.css | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/create-project/themes/shared.css b/src/plugins/create-project/themes/shared.css
index 4442ae40b..435e88835 100644
--- a/src/plugins/create-project/themes/shared.css
+++ b/src/plugins/create-project/themes/shared.css
@@ -1,11 +1,17 @@
 .greeter flowboxchild {
   border-radius: 11px;
-  outline-offset: -3px;
-  -gtk-outline-radius: 9px;
-  min-width: 164px;
-  min-height: 164px;
+  border: 3px solid transparent;
+  outline-offset: -6px;
+  -gtk-outline-radius: 7px;
+  min-width: 160px;
+  min-height: 160px;
+  background: transparent;
+}
+
+.greeter flowboxchild:selected {
+  border-color: @theme_selected_bg_color;
 }
 
 .greeter flowboxchild:selected label {
-  color: @theme_selected_fg_color;
+  color: @theme_text_color;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]