Ticket #3989: 0001-Move-styles-from-SugarActivityIcon-to-SugarCanvasIco.patch

File 0001-Move-styles-from-SugarActivityIcon-to-SugarCanvasIco.patch, 1.5 KB (added by manuq, 10 years ago)

Artwork patch.

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

    From be9747dcc57e6c4c7f392d68919aa0fcd726f340 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Wed, 10 Oct 2012 16:26:03 -0300
    Subject: [PATCH artwork] Move styles from SugarActivityIcon to
     SugarCanvasIcon - 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>
    
    This is because of the generalization made in the toolkit that will
    allow to style other icons like the activity icons in the home
    favourites view.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 7eb159e..58c414a 100644
    a b SugarFrameWindow { 
    690690    background-color: @toolbar_grey;
    691691}
    692692
    693 /* Sugar Favorite Activity icon */
     693/* Sugar Canvas icon */
    694694
    695 SugarFavoriteActivityIcon {
     695SugarCanvasIcon {
    696696    border-color: transparent;
    697697    border-radius: $(4 * thickness)px;
    698698    border-width: 2px;
    699699    border-style: solid;
    700700}
    701701
    702 SugarFavoriteActivityIcon:prelight {
     702SugarCanvasIcon:prelight {
    703703    border-color: @zoom_views_prelight;
    704704    background-color: @zoom_views_prelight;
    705705}
    706706
    707 SugarFavoriteActivityIcon:active {
     707SugarCanvasIcon:active {
    708708    border-color: @zoom_views_active;
    709709    background-color: @zoom_views_active;
    710710}