theme: Fix editable label selection
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 May 2022 16:31:51 +0000 (12:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 May 2022 16:44:40 +0000 (12:44 -0400)
When the editable label is in editing mode,
selections should appear the same as in other
entries.

gtk/theme/Default/_common.scss

index 89aa344683434ba117734f6af5292969ecf89cb4..fc0f75c5aa270b2b1738de3d89137c61c5c3337b 100644 (file)
@@ -468,6 +468,15 @@ treeview entry {
  *******************/
 editablelabel > stack > text {
   @include entry(normal);
+
+ > selection {
+    background-color: $backdrop_selected_bg_color;
+    color: transparent;
+    &:focus-within {
+      background-color: $selected_text_bg_color;
+      color: $fg_color;
+    }
+  }
 }
 
 /***********