Merge lp:~danrabbit/egtk/content-header into lp:egtk/1.0

Proposed by Danielle Foré
Status: Merged
Approved by: Cassidy James Blaede
Approved revision: 508
Merged at revision: 508
Proposed branch: lp:~danrabbit/egtk/content-header
Merge into: lp:egtk/1.0
Diff against target: 96 lines (+34/-2)
3 files modified
gtk-3.0/content-view.css (+22/-0)
gtk-3.0/gtk-widgets.css (+10/-2)
gtk-3.0/progressbar.css (+2/-0)
To merge this branch: bzr merge lp:~danrabbit/egtk/content-header
Reviewer Review Type Date Requested Status
Cassidy James Blaede Approve
Review via email: mp+110635@code.launchpad.net

Description of the change

Styles content-view headers such as the one found in Noise's info pane.

To post a comment you must log in.
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

It this like the song name bit, the "Similar Media" bit, or something else? I'm having a hard time seeing anything different in this branch. :-/ Screenshot, perhaps?

Revision history for this message
Cassidy James Blaede (cassidyjames) :
review: Needs Information
Revision history for this message
Danielle Foré (danrabbit) wrote :

It's the "Similar Media" part. There's no style at all in trunk. This adds a style.

For some reason I can't get similar songs to show though, so I can't screenshot it.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Hrm, okay I'll take another look. I wasn't seeing anything different in
that area, though.
On Jun 19, 2012 3:03 PM, "Daniel Fore" <email address hidden> wrote:

> It's the "Similar Media" part. There's no style at all in trunk. This adds
> a style.
>
> For some reason I can't get similar songs to show though, so I can't
> screenshot it.
> --
> https://code.launchpad.net/~danrabbit/egtk/content-header/+merge/110635
> You are reviewing the proposed merge of lp:~danrabbit/egtk/content-header
> into lp:egtk.
>

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Derp, I see it now. Looks good to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gtk-3.0/content-view.css'
2--- gtk-3.0/content-view.css 2012-06-13 21:52:27 +0000
3+++ gtk-3.0/content-view.css 2012-06-15 22:07:21 +0000
4@@ -37,6 +37,28 @@
5
6 }
7
8+.content-view column-header .button {
9+ border-width: 0 0 1px 1px;
10+
11+ -unico-outer-stroke-style: none;
12+
13+ background-image: -gtk-gradient (linear,
14+ left top,
15+ left bottom,
16+ from (shade (@base_color, 0.98)),
17+ to (shade (@base_color, 0.92)));
18+
19+ -unico-border-gradient: -gtk-gradient (linear,
20+ left top, left bottom,
21+ from (shade (@base_color, 0.86)),
22+ to (shade (@base_color, 0.70)));
23+
24+}
25+
26+.content-view column-header .button * {
27+ color: #666;
28+}
29+
30 .content-view .entry {
31
32 background-image: -gtk-gradient (linear,
33
34=== modified file 'gtk-3.0/gtk-widgets.css'
35--- gtk-3.0/gtk-widgets.css 2012-06-13 21:52:27 +0000
36+++ gtk-3.0/gtk-widgets.css 2012-06-15 22:07:21 +0000
37@@ -162,7 +162,8 @@
38 .spinbutton .button:focus,
39 .view,
40 GtkTreeView .entry,
41-column-header .button {
42+column-header .button,
43+.content-view column-header .button {
44 border-radius: 0;
45 }
46
47@@ -207,6 +208,8 @@
48 .sidebar,
49 .sidebar.view,
50 .toolbar,
51+.trough row:selected,
52+.trough row:selected:focused,
53 GraniteWidgetsStatusBar,
54 GtkSwitch {
55 text-shadow: 0 1 alpha (#fff, 0.4);
56@@ -224,6 +227,8 @@
57 .menubar *:prelight,
58 .menu *:active,
59 .menu *:prelight,
60+.progressbar row:selected,
61+.progressbar row:selected:focused,
62 .sidebar.view:selected,
63 .tooltip *,
64 GtkInfoBar *,
65@@ -236,6 +241,8 @@
66 .menubar.menuitem:prelight,
67 .menu *:active,
68 .menu *:prelight,
69+.progressbar row:selected,
70+.progressbar row:selected:focused,
71 .sidebar.view:selected,
72 .tooltip,
73 GtkInfoBar,
74@@ -1171,7 +1178,8 @@
75 column-header {
76 }
77
78-column-header:nth-child(first) .button {
79+column-header:nth-child(first) .button,
80+.content-view column-header:nth-child(first) .button {
81 border-width: 0 0 1px 0;
82 }
83
84
85=== modified file 'gtk-3.0/progressbar.css'
86--- gtk-3.0/progressbar.css 2012-06-13 21:52:27 +0000
87+++ gtk-3.0/progressbar.css 2012-06-15 22:07:21 +0000
88@@ -135,6 +135,8 @@
89 .trough row:selected,
90 .trough row:selected:focused {
91
92+ color: @text_color;
93+
94 -unico-border-gradient: -gtk-gradient (linear,
95 left top, left bottom,
96 from (shade (@selected_bg_color, 0.87)),

Subscribers

People subscribed via source and target branches

to all changes: