Ticket #3387: 0001-Improve-theming-of-share-buttons.patch

File 0001-Improve-theming-of-share-buttons.patch, 1.2 KB (added by garnacho, 12 years ago)

Partial fix, improve theming of share buttons

  • gtk3/theme/gtk-widgets.css.em

    From cc0affa4fe4f05ad30a13734006bc537cac0aa3c Mon Sep 17 00:00:00 2001
    From: Carlos Garnacho <carlosg@gnome.org>
    Date: Fri, 11 May 2012 14:18:38 +0200
    Subject: [PATCH] Improve theming of "share" buttons
    
    Partially fixes http://bugs.sugarlabs.org/ticket/3387, set proper
    background/border to the different states
    ---
     gtk3/theme/gtk-widgets.css.em |   18 ++++++++++++++++++
     1 file changed, 18 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index efbf638..042a885 100644
    a b SugarPaletteWindowWidget GtkToggleButton.button:active { 
    275275    background-color: @button_grey;
    276276}
    277277
     278SugarPaletteWindowWidget SugarRadioToolButton * {
     279    margin: 0px;
     280    padding: 3px;
     281    border-radius: 3px;
     282    border: 2px solid transparent;
     283    background-color: transparent;
     284}
     285
     286SugarPaletteWindowWidget SugarRadioToolButton *:active {
     287    background-color: @button_grey;
     288}
     289
     290SugarPaletteWindowWidget SugarRadioToolButton *:hover {
     291    border-radius: 3px;
     292    border: 2px solid @white;
     293    background-color: transparent;
     294}
     295
    278296/* Notebooks */
    279297
    280298.notebook {