Ticket #3989: 0001-Style-CellRendererIcon-prelight-and-active-state-SL-.patch

File 0001-Style-CellRendererIcon-prelight-and-active-state-SL-.patch, 1.3 KB (added by manuq, 12 years ago)

New artwork patch (replaces previous) to style prelight and active state of cellrenderer icons.

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

    From b48c87bdc2773b12fdfd7bafde97f4b066b96d72 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 17 Oct 2012 09:47:15 -0300
    Subject: [PATCH artwork] Style CellRendererIcon prelight and active state -
     SL #3989
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Use the same styling as the canvas icons.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     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 2792803..bf8839f 100644
    a b SugarCanvasIcon:active { 
    741741    background-color: @zoom_views_active;
    742742}
    743743
     744/* Sugar CellRenderer Icons */
     745
     746.cell.sugar-icon-cell {
     747    background-color: transparent;
     748    border-radius: $(4 * thickness)px;
     749    border-color: @white;
     750    border-width: $(thickness)px;
     751    border-style: solid;
     752}
     753
     754.cell.sugar-icon-cell:prelight {
     755    background-color: @zoom_views_prelight;
     756}
     757
     758.cell.sugar-icon-cell:active {
     759    background-color: @zoom_views_active;
     760}
     761
    744762/* Text cursor handles */
    745763
    746764.cursor-handle.top,