From c3a8c0a39863f4520807944eaf88ac1b688fac7a Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Mon, 23 Dec 2013 03:11:10 +0530 Subject: [PATCH] Fixed insensitive buttons in inline-toolbar --- gtk-3.0/gtk-widgets.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css index c27ea38..45ee616 100644 --- a/gtk-3.0/gtk-widgets.css +++ b/gtk-3.0/gtk-widgets.css @@ -2108,13 +2108,20 @@ GtkColorButton.button { border-color: shade(@theme_bg_color, 0.7); } -.inline-toolbar.toolbar .button *:insensitive, +.inline-toolbar.toolbar .button:insensitive, .inline-toolbar.toolbar GtkToolButton .button:insensitive { border-color: shade(@theme_bg_color, 0.85); background-color: shade(@theme_bg_color, 0.9); background-image: none; } +.inline-toolbar.toolbar .button:active *:insensitive +.inline-toolbar.toolbar GtkToolButton .button:active *:insensitive { + border-color: shade(@theme_bg_color, 0.75); + background-color: shade(@theme_bg_color, 0.80); + background-image: none; +} + /****************** * linked buttons * *****************/ @@ -2140,7 +2147,7 @@ GtkColorButton.button { .inline-toolbar.toolbar .button:insensitive, .inline-toolbar.toolbar GtkToolButton .button:insensitive, .inline-toolbar.toolbar GtkToolButton > .button:insensitive { - box-shadow: inset -1px 0 shade(@theme_bg_color, 0.9); + box-shadow: inset -1px 0 shade(@theme_bg_color, 0.85); } /* remove box shadow from last-child and only-child */ @@ -2268,7 +2275,7 @@ GtkColorButton.button { .linked.vertical .button:insensitive, .inline-toolbar.toolbar.vertical .button:insensitive, .inline-toolbar.toolbar.vertical GtkToolButton > .button:insensitive { - box-shadow: inset 0 -1px shade(@theme_bg_color, 0.9); + box-shadow: inset 0 -1px shade(@theme_bg_color, 0.85); } /* remove box shadow from last-child and only-child */ @@ -2387,7 +2394,7 @@ GtkColorButton.button { .header-bar .button.raised.linked:insensitive, .header-bar .raised.linked .button:insensitive, .header-bar .linked .button:insensitive { - box-shadow: inset -1px 0 shade(@toolbar_bg_color, 0.9); + box-shadow: inset -1px 0 shade(@toolbar_bg_color, 0.85); } /* remove box shadow from last-child and only-child */