Ticket #3983: 0002-GtkScale-set-grey-border-for-focused-white-fill-bar-.patch

File 0002-GtkScale-set-grey-border-for-focused-white-fill-bar-.patch, 1.1 KB (added by manuq, 12 years ago)
  • gtk3/theme/gtk-widgets.css.em

    From 4e10d9e300842ebdff59a6ded99fc7366af8099a Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 9 Oct 2012 21:21:58 -0300
    Subject: [PATCH artwork 2/4] GtkScale: set grey border for focused white fill
     bar - SL #3983
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Make the filled size of the bar visible in white backgrounds when the
    widget is focused.  Gets closer to the Gtk2 look.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 5 +++++
     1 file changed, 5 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 862c726..1b901ef 100644
    a b SugarPaletteWindowWidget GtkScrolledWindow * { 
    591591    background-color: @white;
    592592}
    593593
     594.scale.trough.top:focused,
     595.scale.trough.left:focused {
     596    border-color: @selection_grey;
     597}
     598
    594599.scale.slider,
    595600.scale.slider:active {
    596601    background-color: transparent;