Ticket #4082: 0001-Override-color-for-slider-in-sugar-palette-window-wi.2.patch

File 0001-Override-color-for-slider-in-sugar-palette-window-wi.2.patch, 1.4 KB (added by manuq, 11 years ago)

v2, added comment in the CSS

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

    From 4762cb2826983713dba5641c8da0394ba0c25aa6 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 23 Oct 2012 09:27:26 -0300
    Subject: [PATCH artwork] Override color for slider in sugar palette window
     widgets - SL #4082
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    This was causing the slider background image to be invisible or not
    set for the palettes of kind _PaletteWindowWidget.  I filled a bug
    upstream https://bugzilla.gnome.org/show_bug.cgi?id=686703
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 7 +++++++
     1 file changed, 7 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 295c1ea..dc7b964 100644
    a b SugarPaletteWindowWidget GtkScrolledWindow * { 
    581581    -GtkRange-slider-width: $scale_slider_width;
    582582}
    583583
     584/* We have to override the color of the scale, otherwise the slider
     585   background image is invisible or not set for this palettes.
     586   Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=686703 */
     587SugarPaletteWindowWidget .scale {
     588    color: transparent;
     589}
     590
    584591.scale.trough {
    585592    background-color: @button_grey;
    586593    border-style: solid;