[Pkg-sugar-commit] [sugar-artwork] 03/05: Don't change background color on active button at prelight

Jonas Smedegaard dr at jones.dk
Mon Jun 15 00:01:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v0.105.2
in repository sugar-artwork.

commit 17b1ecd964c524ac985696507be469b1cb06055a
Author: Gonzalo Odiard <godiard at gmail.com>
Date:   Wed May 27 15:17:59 2015 -0300

    Don't change background color on active button at prelight
    
    When the user move the mouse over a active toolbar button
    with grey background, the background should not change to black.
    This is visible on systems with Gtk >=  3.14, in the top right
    buttons in the Home View in Sugar.
---
 gtk3/theme/gtk-widgets.css.em | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 55c3995..e2d8037 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -615,6 +615,20 @@ SugarPaletteWindowWidget SugarToggleToolButton *:checked {
     border-radius: $(toolbutton_padding)px;
 }
 
+.toolbar SugarRadioToolButton *:checked:prelight,
+.toolbar SugarRadioToolButton *:checked:prelight GtkBox,
+SugarPaletteWindowWidget SugarRadioToolButton *:checked:prelight,
+.toolbar SugarToggleToolButton *:checked:prelight,
+.toolbar SugarToggleToolButton *:checked:prelight GtkBox,
+SugarPaletteWindowWidget SugarToggleToolButton *:checked:prelight {
+    background-color: @button_grey;
+}
+
+SugarPaletteWindowWidget SugarRadioToolButton *:checked:prelight,
+SugarPaletteWindowWidget SugarToggleToolButton *:checked:prelight {
+    border-color: @button_grey;
+}
+
 SugarPaletteWindowWidget GtkToolButton .button:active {
     background-color: @button_grey;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-artwork.git



More information about the pkg-sugar-commit mailing list