Ticket #3389: 0004-Set-correct-border-color-for-entries-SL-3389.patch

File 0004-Set-correct-border-color-for-entries-SL-3389.patch, 1.9 KB (added by manuq, 12 years ago)

Proposed patch, based on garnacho's one

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

    From b130ea70de1fa4333b7691bd8fe5b4b92415bcd6 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Tue, 4 Sep 2012 00:36:30 -0300
    Subject: [PATCH sugar-artwork 4/4] Set correct border-color for entries - SL
     #3389
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Now the entries in the toolbar have a border color that is the same as
    the background color, looking like in GTK2.  Entries with a
    progressbar inside, like Browse activity URL entry, now have the same
    style than in GTK2, with an outline.  See images attached to the
    ticket for reference.
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 14 +++++++++++++-
     1 file changed, 13 insertions(+), 1 deletion(-)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 5606f8b..2f3e7fe 100644
    a b GtkTreeView row:nth-child(odd) { 
    219219.entry {
    220220    border-radius: $(2 * subcell_size)px;
    221221    border-width: $(thickness)px;
    222     border-color: @selection_grey;
     222    border-color: @text_field_grey;
    223223    border-style: solid;
    224224    background-color: @text_field_grey;
    225225    color: @black;
    GtkTreeView row:nth-child(odd) { 
    238238    background-color: @white;
    239239}
    240240
     241.toolbar .entry:focused {
     242    border-color: @white;
     243}
     244
    241245.entry:insensitive, .view:insensitive {
    242246    background-color: @button_grey;
    243247}
    244248
     249.entry:insensitive {
     250    border-color: @button_grey;
     251}
     252
    245253.view:selected {
    246254    background-color: @panel_grey;
    247255    color: @black;
    GtkTreeView row:nth-child(odd) { 
    253261    color: @black;
    254262}
    255263
     264.entry:selected, .entry:selected:focused {
     265    border-color: @selection_grey;
     266}
     267
    256268/* Frames */
    257269
    258270GtkScrolledWindow.frame {