[dconf-editor] Remove a CSS class.



commit 58cfa99540d210b8554c25fe8bbfbc65e682c219
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Sep 13 20:55:00 2018 +0200

    Remove a CSS class.

 editor/dconf-editor.css | 26 +++++++-------------------
 editor/pathbar.vala     |  5 -----
 2 files changed, 7 insertions(+), 24 deletions(-)
---
diff --git a/editor/dconf-editor.css b/editor/dconf-editor.css
index a72f39e..b6fd78c 100644
--- a/editor/dconf-editor.css
+++ b/editor/dconf-editor.css
@@ -283,6 +283,13 @@ list.keys-list > grid.big-popover.dim-label.vertical + grid.vertical {
   border-bottom-color:@theme_selected_bg_color;
 }
 
+.pathbar:backdrop > button.active                  > .item,
+.pathbar:backdrop > button.active:hover            > .item,
+.pathbar:backdrop > button.active.inexistent       > .item,
+.pathbar:backdrop > button.active.inexistent:hover > .item {
+  border-bottom-color:@borders;
+}
+
 /* inexistent items */
 .pathbar > label,
 .pathbar > button.inexistent:not(.active) > label.item {
@@ -293,25 +300,6 @@ list.keys-list > grid.big-popover.dim-label.vertical + grid.vertical {
   border-bottom-color:transparent;
 }
 
-/* search changes */
-.pathbar.greyed-pathbar {
-  color:@insensitive_fg_color;
-}
-
-.pathbar.greyed-pathbar          > button.active                  > .item,
-.pathbar.greyed-pathbar          > button.active:hover            > .item,
-.pathbar.greyed-pathbar          > button.active.inexistent       > .item,
-.pathbar.greyed-pathbar          > button.active.inexistent:hover > .item {
-  border-bottom-color:alpha(currentColor,0.6);
-}
-
-.pathbar.greyed-pathbar:backdrop > button.active                  > .item,
-.pathbar.greyed-pathbar:backdrop > button.active:hover            > .item,
-.pathbar.greyed-pathbar:backdrop > button.active.inexistent       > .item,
-.pathbar.greyed-pathbar:backdrop > button.active.inexistent:hover > .item {
-  border-bottom-color:alpha(currentColor,0.4);
-}
-
 /*\
 * * lists headers
 \*/
diff --git a/editor/pathbar.vala b/editor/pathbar.vala
index c20c9cc..c761e88 100644
--- a/editor/pathbar.vala
+++ b/editor/pathbar.vala
@@ -179,11 +179,6 @@ private class PathBar : Box
 
     private void update_cursors_for_search (string current_path, bool is_search)
     {
-        if (is_search)
-            get_style_context ().add_class ("greyed-pathbar");
-        else
-            get_style_context ().remove_class ("greyed-pathbar");
-
         @foreach ((child) => {
                 if (!(child is PathBarItem))
                     return;


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