[gtk/wip/jimmac/lists-that-are-grids] Adwaita: grid lists



commit e0e6e4be14bd98cab828bef6e77338b4850b06b0
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Jul 20 12:36:39 2020 +0200

    Adwaita: grid lists
    
    - this would be nice to have a semantic name for. setting-grid?
    
    See https://gitlab.gnome.org/GNOME/gtk/-/issues/2929

 gtk/theme/Adwaita/_common.scss | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 104f09d707..01b5058047 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3065,6 +3065,24 @@ row {
   }
 }
 
+  /********************************************
+  * Treeview like editable lists with columns *
+  ********************************************/
+
+  listview row:not(:selected) cell editablelabel:not(.editing):focus-within {
+    outline: 2px solid $focus_border_color;
+  }
+
+  listview row:not(:selected) cell editablelabel.editing:focus-within {
+    outline: 2px solid $selected_bg_color;
+  }
+
+  listview row:not(:selected) cell editablelabel.editing text selection {
+    color: $selected_fg_color;
+    background-color: $selected_bg_color;
+  }
+
+
 
 /*********************
  * App Notifications *


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