Merge lp:~larsu/ubuntu-themes/style-overshoot into lp:ubuntu-themes

Proposed by Lars Karlitski
Status: Merged
Approved by: Iain Lane
Approved revision: 435
Merged at revision: 436
Proposed branch: lp:~larsu/ubuntu-themes/style-overshoot
Merge into: lp:ubuntu-themes
Diff against target: 73 lines (+52/-0)
2 files modified
Ambiance/gtk-3.0/gtk-widgets.css (+26/-0)
Radiance/gtk-3.0/gtk-widgets.css (+26/-0)
To merge this branch: bzr merge lp:~larsu/ubuntu-themes/style-overshoot
Reviewer Review Type Date Requested Status
Iain Lane Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+260280@code.launchpad.net

Commit message

Style under- and overshoot

Style overshoot with a subtle radial gradient. Use a color which is derived from a normal window's background color, as most scrolled windows will be embedded "on" a background like this.

Hide undershoot completelty. In most cases it is clear that more content is available.

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
Iain Lane (laney) wrote :

it looks good and simpler than adwaita's, thanks!

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-widgets.css'
2--- Ambiance/gtk-3.0/gtk-widgets.css 2015-04-10 10:57:46 +0000
3+++ Ambiance/gtk-3.0/gtk-widgets.css 2015-05-27 12:15:42 +0000
4@@ -2016,6 +2016,32 @@
5 margin-right: 9px;
6 }
7
8+/*************
9+ * overshoot *
10+ *************/
11+.overshoot.top {
12+ background: -gtk-gradient(radial, center top, 0, center top, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
13+}
14+
15+.overshoot.right {
16+ background: -gtk-gradient(radial, right center, 0, right center, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
17+}
18+
19+.overshoot.bottom {
20+ background: -gtk-gradient(radial, center bottom, 0, center bottom, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
21+}
22+
23+.overshoot.left {
24+ background: -gtk-gradient(radial, left center, 0, left center, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
25+}
26+
27+/**************
28+ * undershoot *
29+ **************/
30+.undershoot {
31+ background: none;
32+}
33+
34 /*****************************************************************************
35 * states [please keep this section at the end of the file (CSS precedence)] *
36 *****************************************************************************/
37
38=== modified file 'Radiance/gtk-3.0/gtk-widgets.css'
39--- Radiance/gtk-3.0/gtk-widgets.css 2015-04-10 10:57:46 +0000
40+++ Radiance/gtk-3.0/gtk-widgets.css 2015-05-27 12:15:42 +0000
41@@ -2008,6 +2008,32 @@
42 margin-right: 9px;
43 }
44
45+/*************
46+ * overshoot *
47+ *************/
48+.overshoot.top {
49+ background: -gtk-gradient(radial, center top, 0, center top, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
50+}
51+
52+.overshoot.right {
53+ background: -gtk-gradient(radial, right center, 0, right center, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
54+}
55+
56+.overshoot.bottom {
57+ background: -gtk-gradient(radial, center bottom, 0, center bottom, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
58+}
59+
60+.overshoot.left {
61+ background: -gtk-gradient(radial, left center, 0, left center, 0.7, from(shade(@bg_color, 0.92)), to(alpha(@bg_color, 0.0)));
62+}
63+
64+/**************
65+ * undershoot *
66+ **************/
67+.undershoot {
68+ background: none;
69+}
70+
71 /*****************************************************************************
72 * states [please keep this section at the end of the file (CSS precedence)] *
73 *****************************************************************************/

Subscribers

People subscribed via source and target branches