Merge lp:~3v1n0/ubuntu-themes/popover-tip-fix into lp:ubuntu-themes

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 610
Merged at revision: 610
Proposed branch: lp:~3v1n0/ubuntu-themes/popover-tip-fix
Merge into: lp:ubuntu-themes
Diff against target: 62 lines (+8/-6)
2 files modified
Ambiance/gtk-3.20/gtk-widgets.css (+4/-3)
Radiance/gtk-3.20/gtk-widgets.css (+4/-3)
To merge this branch: bzr merge lp:~3v1n0/ubuntu-themes/popover-tip-fix
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Review via email: mp+341916@code.launchpad.net

Commit message

Ambiance, Radiance: Remove the gap between the popover and tip, add border

Margin value is now matching Adwaita.

To post a comment you must log in.
610. By Marco Trevisan (Treviño)

Ambiance, Radiance: add slight border around popovers

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Per above.

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Although ideally if we start to use something that's the same as Adwaita then we should be able to just delete it from Ambiance/Radiance, and we'll get the Adwaita definition.

I'm not sure that would work here, but it's a suggestion to keep in mind in future.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

> I'm not sure that would work here, but it's a suggestion to keep in mind in
> future.

Yes, sure, but in this case the value was defined somewhere else inside our theme.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.20/gtk-widgets.css'
2--- Ambiance/gtk-3.20/gtk-widgets.css 2018-03-22 08:26:49 +0000
3+++ Ambiance/gtk-3.20/gtk-widgets.css 2018-03-22 16:38:44 +0000
4@@ -2560,7 +2560,7 @@
5 /* FIXME: we can't reuse the default shadow definition as increasing marging
6 * would break the tip
7 */
8- margin: 13px;
9+ margin: 4px;
10 box-shadow: 1px 3px 6px @inactive_shadow_color;
11 }
12
13@@ -3426,7 +3426,8 @@
14 shade (@bg_color, 0.93),
15 shade (@bg_color, 0.98));
16 border-radius: 5px;
17- border: none;
18+ border: 1px solid shade (@bg_color, 0.85);
19+ border-image: none;
20 padding: 2px;
21 }
22
23@@ -3434,7 +3435,7 @@
24 background-image: none;
25 background-color: shade (@bg_color, 0.95);
26 border-radius: 5px;
27- border: none;
28+ border-color: shade (@bg_color, 0.88);
29 padding: 2px;
30 }
31
32
33=== modified file 'Radiance/gtk-3.20/gtk-widgets.css'
34--- Radiance/gtk-3.20/gtk-widgets.css 2018-03-22 08:26:49 +0000
35+++ Radiance/gtk-3.20/gtk-widgets.css 2018-03-22 16:38:44 +0000
36@@ -2556,7 +2556,7 @@
37 /* FIXME: we can't reuse the default shadow definition as increasing marging
38 * would break the tip
39 */
40- margin: 13px;
41+ margin: 4px;
42 box-shadow: 1px 3px 6px @inactive_shadow_color;
43 }
44
45@@ -3423,7 +3423,8 @@
46 shade (@bg_color, 0.93),
47 shade (@bg_color, 0.98));
48 border-radius: 5px;
49- border: none;
50+ border: 1px solid shade (@bg_color, 0.85);
51+ border-image: none;
52 padding: 2px;
53 }
54
55@@ -3431,7 +3432,7 @@
56 background-image: none;
57 background-color: shade (@bg_color, 0.95);
58 border-radius: 5px;
59- border: none;
60+ border-color: shade (@bg_color, 0.88);
61 padding: 2px;
62 }
63

Subscribers

People subscribed via source and target branches