Merge lp:~cassidyjames/egtk/egtk-focus-styles into lp:egtk/1.0

Proposed by Cassidy James Blaede
Status: Merged
Merged at revision: 498
Proposed branch: lp:~cassidyjames/egtk/egtk-focus-styles
Merge into: lp:egtk/1.0
Diff against target: 41 lines (+27/-0)
1 file modified
gtk-3.0/button.css (+27/-0)
To merge this branch: bzr merge lp:~cassidyjames/egtk/egtk-focus-styles
Reviewer Review Type Date Requested Status
elementary UX Pending
Review via email: mp+108850@code.launchpad.net

Description of the change

Added the focus styles for normal and noundo buttons.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gtk-3.0/button.css'
2--- gtk-3.0/button.css 2012-05-15 16:31:06 +0000
3+++ gtk-3.0/button.css 2012-06-05 23:28:24 +0000
4@@ -61,6 +61,20 @@
5 to (shade (@bg_color, 0.70)));
6 }
7
8+.button:focus {
9+ color:@text_color;
10+
11+ -unico-border-gradient: -gtk-gradient (linear,
12+ left top, left bottom,
13+ from (shade (@selected_bg_color, 1.15)),
14+ to (shade (@selected_bg_color, 0.98)));
15+
16+ -unico-outer-stroke-gradient: -gtk-gradient (linear,
17+ left top, left bottom,
18+ from (alpha (@selected_bg_color, 0.0)),
19+ to (alpha (@selected_bg_color, 0.25)));
20+}
21+
22 .button:backdrop,
23 GtkSwitch.slider:backdrop {
24
25@@ -200,3 +214,16 @@
26 to (#791235));
27 }
28
29+.button.noundo:focus {
30+ background-image: -gtk-gradient (linear,
31+ left top,
32+ left bottom,
33+ from (#f67564),
34+ to (#cc3443));
35+
36+ -unico-border-gradient: -gtk-gradient (linear,
37+ left top, left bottom,
38+ from (#dd3b27),
39+ to (#791235));
40+}
41+

Subscribers

People subscribed via source and target branches

to all changes: