Ticket #4294: 0001-Style-GtkProgressBar-SL-4249.patch

File 0001-Style-GtkProgressBar-SL-4249.patch, 1.6 KB (added by manuq, 11 years ago)

Patch

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

    From 823411da280f152ba6ede382783636a2100e6810 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Mon, 3 Dec 2012 11:48:01 -0300
    Subject: [PATCH artwork] Style GtkProgressBar - SL #4249
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    - add dark grey border
    - use grey background fill for common progressbars
    - use black background fill for progressbars in palettes or toolbars
    - remove hardcoded values
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 17 +++++++++++------
     1 file changed, 11 insertions(+), 6 deletions(-)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index d398d31..b6baaf5 100644
    a b SugarPaletteHeaderSeparator.menuitem.separator { 
    525525
    526526GtkProgressBar.progressbar {
    527527    background-color: @white;
    528     border-color: @white;
    529     border-radius: 10px;
     528    border-color: @button_grey;
     529    border-radius: $(subcell_size)px;
    530530    border-style: solid;
    531     border-width: 0px;
     531    border-width: $(thickness)px;
    532532}
    533533
    534534GtkProgressBar.trough {
    535     background-color: alpha (@black, 0.0);
     535    background-color: @selection_grey;
    536536    border-style: solid;
    537     border-radius: 10px;
     537    border-radius: $(subcell_size)px;
    538538    border-color: @button_grey;
    539     border-width: 2px;
     539    border-width: $(thickness)px;
     540}
     541
     542.toolbar GtkProgressBar.trough,
     543SugarPaletteWindowWidget GtkProgressBar.trough {
     544    background-color: @black;
    540545}
    541546
    542547/* Separators */