From 1642cf5f7d7b3d1b8129b66d4e9bc228d813e852 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 21 Feb 2014 06:26:34 +0530 Subject: [PATCH] Remove *:active styling --- gtk-3.0/gtk-widgets.css | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css index d63ff55..613fba0 100644 --- a/gtk-3.0/gtk-widgets.css +++ b/gtk-3.0/gtk-widgets.css @@ -63,10 +63,6 @@ color: @theme_selected_fg_color; } -*:active { - background-color: shade(@theme_bg_color, 0.85); -} - *:insensitive, *:insensitive:insensitive { color: mix(@theme_fg_color, @theme_bg_color, 0.5); @@ -106,6 +102,17 @@ color: @theme_selected_fg_color; } +GtkImage, +GtkImage:insensitive, +GtkLabel, +GtkLabel:insensitive, +GtkBox, +GtkBox:insensitive, +GtkGrid, +GtkGrid:insensitive { + background-color: transparent; +} + /****************** * visual effects * ******************/ @@ -551,24 +558,6 @@ GtkIconView.view.cell:selected:focus { background-color: alpha(@theme_selected_bg_color, 0.3); } -/********* - * image * - *********/ -GtkImage, -GtkImage:active, -GtkImage:insensitive { - background-color: transparent; -} - -/********* - * label * - *********/ -GtkLabel, -GtkLabel:active, -GtkLabel:insensitive { - background-color: transparent; -} - /*********** * infobar * ***********/