Merge lp:~larsu/ubuntu-themes/osd-totem into lp:ubuntu-themes

Proposed by Lars Karlitski
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 421
Merged at revision: 421
Proposed branch: lp:~larsu/ubuntu-themes/osd-totem
Merge into: lp:ubuntu-themes
Diff against target: 129 lines (+86/-0)
4 files modified
Ambiance/gtk-3.0/gtk-main.css (+4/-0)
Ambiance/gtk-3.0/gtk-widgets.css (+39/-0)
Radiance/gtk-3.0/gtk-main.css (+4/-0)
Radiance/gtk-3.0/gtk-widgets.css (+39/-0)
To merge this branch: bzr merge lp:~larsu/ubuntu-themes/osd-totem
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+253036@code.launchpad.net

Commit message

Style overlay widgets needed by totem

Description of the change

Style overlay widgets needed by totem

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

That looks much nicer, we should get that in vivid!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.0/gtk-main.css'
2--- Ambiance/gtk-3.0/gtk-main.css 2015-01-15 13:15:40 +0000
3+++ Ambiance/gtk-3.0/gtk-main.css 2015-03-16 12:13:21 +0000
4@@ -40,6 +40,10 @@
5
6 @define-color shadow_color alpha(black, 0.5);
7
8+@define-color osd_fg_color #eeeeec;
9+@define-color osd_bg_color alpha(#202526, 0.7);
10+@define-color osd_border_color alpha(black, 0.7);
11+
12 @import url("gtk-widgets-borders.css");
13 @import url("gtk-widgets-assets.css");
14 @import url("gtk-widgets.css");
15
16=== modified file 'Ambiance/gtk-3.0/gtk-widgets.css'
17--- Ambiance/gtk-3.0/gtk-widgets.css 2015-01-16 16:44:11 +0000
18+++ Ambiance/gtk-3.0/gtk-widgets.css 2015-03-16 12:13:21 +0000
19@@ -1924,6 +1924,45 @@
20 background: none;
21 }
22
23+
24+/* OSD overlays */
25+.osd,
26+.osd:backdrop {
27+ color: @osd_fg_color;
28+ background-color: @osd_bg_color;
29+ border-color: @osd_border_color;
30+}
31+
32+.osd.toolbar {
33+ padding: 12px;
34+ border-radius: 8px;
35+}
36+
37+.osd .button,
38+.osd .button:backdrop {
39+ color: @osd_fg_color;
40+ background: none;
41+ border: none;
42+ padding: 12px;
43+ border-radius: 8px;
44+ transition: all 100ms ease-in-out;
45+}
46+
47+.osd .button:hover {
48+ color: lighter(@osd_fg_color);
49+ icon-shadow: 0 0 3px @osd_fg_color;
50+}
51+
52+.osd .button:active {
53+ color: darker(@osd_fg_color);
54+ icon-shadow: none;
55+}
56+
57+.osd .scale {
58+ margin-left: 9px;
59+ margin-right: 9px;
60+}
61+
62 /*****************************************************************************
63 * states [please keep this section at the end of the file (CSS precedence)] *
64 *****************************************************************************/
65
66=== modified file 'Radiance/gtk-3.0/gtk-main.css'
67--- Radiance/gtk-3.0/gtk-main.css 2015-01-27 20:47:49 +0000
68+++ Radiance/gtk-3.0/gtk-main.css 2015-03-16 12:13:21 +0000
69@@ -39,6 +39,10 @@
70
71 @define-color shadow_color alpha(black, 0.5);
72
73+@define-color osd_fg_color #eeeeec;
74+@define-color osd_bg_color alpha(#202526, 0.7);
75+@define-color osd_border_color alpha(black, 0.7);
76+
77 @import url("gtk-widgets-borders.css");
78 @import url("gtk-widgets-borders-radiance.css");
79 @import url("gtk-widgets-assets.css");
80
81=== modified file 'Radiance/gtk-3.0/gtk-widgets.css'
82--- Radiance/gtk-3.0/gtk-widgets.css 2015-01-16 16:44:11 +0000
83+++ Radiance/gtk-3.0/gtk-widgets.css 2015-03-16 12:13:21 +0000
84@@ -1917,6 +1917,45 @@
85 background: none;
86 }
87
88+
89+/* OSD overlays */
90+.osd,
91+.osd:backdrop {
92+ color: @osd_fg_color;
93+ background-color: @osd_bg_color;
94+ border-color: @osd_border_color;
95+}
96+
97+.osd.toolbar {
98+ padding: 12px;
99+ border-radius: 8px;
100+}
101+
102+.osd .button,
103+.osd .button:backdrop {
104+ color: @osd_fg_color;
105+ background: none;
106+ border: none;
107+ padding: 12px;
108+ border-radius: 8px;
109+ transition: all 100ms ease-in-out;
110+}
111+
112+.osd .button:hover {
113+ color: lighter(@osd_fg_color);
114+ icon-shadow: 0 0 3px @osd_fg_color;
115+}
116+
117+.osd .button:active {
118+ color: darker(@osd_fg_color);
119+ icon-shadow: none;
120+}
121+
122+.osd .scale {
123+ margin-left: 9px;
124+ margin-right: 9px;
125+}
126+
127 /*****************************************************************************
128 * states [please keep this section at the end of the file (CSS precedence)] *
129 *****************************************************************************/

Subscribers

People subscribed via source and target branches