Ticket #3983: 0003-GtkScale-remove-inner-radius-from-the-trough-SL-3983.patch

File 0003-GtkScale-remove-inner-radius-from-the-trough-SL-3983.patch, 1.8 KB (added by manuq, 12 years ago)
  • gtk3/theme/gtk-widgets.css.em

    From c904748e72e383937803040d49cebf337d063451 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 9 Oct 2012 21:34:36 -0300
    Subject: [PATCH artwork 3/4] GtkScale: remove inner radius from the trough -
     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>
    
    This is specially noticeable when the scale slider is not visible,
    which is the case of the current palettes.  But is good to fix it
    anyway because we cannot depend on the slider to hide it, the bug
    might be noticeable with the slider above too.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 17 ++++++++++++++++-
     1 file changed, 16 insertions(+), 1 deletion(-)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 1b901ef..e6a27b2 100644
    a b SugarPaletteWindowWidget GtkScrolledWindow * { 
    577577.scale.trough {
    578578    background-color: @button_grey;
    579579    border-style: solid;
    580     border-radius: $(2*subcell_size)px;
    581580    border-color: @button_grey;
    582581    border-width: $(thickness)px;
    583582}
    SugarPaletteWindowWidget GtkScrolledWindow * { 
    596595    border-color: @selection_grey;
    597596}
    598597
     598.scale.trough {
     599    border-radius: 0px $(2*subcell_size)px $(2*subcell_size)px 0px;
     600}
     601
     602.scale.trough.vertical {
     603    border-radius: 0px 0px $(2*subcell_size)px $(2*subcell_size)px;
     604}
     605
     606.scale.trough.top {
     607    border-radius: $(2*subcell_size)px $(2*subcell_size)px 0px 0px;
     608}
     609
     610.scale.trough.left {
     611    border-radius: $(2*subcell_size)px 0px 0px $(2*subcell_size)px;
     612}
     613
    599614.scale.slider,
    600615.scale.slider:active {
    601616    background-color: transparent;