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

File 0001-Style-CellRendererIcon-prelight-state-SL-3989.patch, 1.2 KB (added by manuq, 10 years ago)

Artwork patch, style CellRendererIcon prelight state

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

    From 75243af60b13c7b21c26954ed177f8f5f97f14c2 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 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, light grey background for
    prelight.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 14 ++++++++++++++
     1 file changed, 14 insertions(+)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 2792803..e343378 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
    744758/* Text cursor handles */
    745759
    746760.cursor-handle.top,