Merge lp:~muktupavels/ubuntu-themes/lp1423542 into lp:ubuntu-themes

Proposed by Alberts Muktupāvels
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 424
Merged at revision: 424
Proposed branch: lp:~muktupavels/ubuntu-themes/lp1423542
Merge into: lp:ubuntu-themes
Diff against target: 47 lines (+32/-0)
2 files modified
Ambiance/gtk-3.0/apps/unity-greeter.css (+16/-0)
Radiance/gtk-3.0/apps/unity-greeter.css (+16/-0)
To merge this branch: bzr merge lp:~muktupavels/ubuntu-themes/lp1423542
Reviewer Review Type Date Requested Status
Lars Karlitski (community) Approve
Dmitry Shachnev Approve
Ubuntu Artwork Packagers Pending
Review via email: mp+250302@code.launchpad.net

Commit message

Add some style info for unity-greeter buttons. (LP: #1423542)

Description of the change

Add some style info for unity-greeter buttons. (LP: #1423542)

To post a comment you must log in.
424. By Alberts Muktupāvels

Fix indentation one more time

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Minor nitpick: you use "border: 0" for option-button, but "border-width: 0" for toggle-button. Please use border-width everywhere for consistency.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Also can you use some color from the theme palette instead of black?

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

> Minor nitpick: you use "border: 0" for option-button, but "border-width: 0"
> for toggle-button. Please use border-width everywhere for consistency.

option-button: I am removing border completely, it is not needed for this button.
toogle-button: I am settings border-width only because for this button we need border when it is selected. This way I don't need set color and style.

I think 'border: 0' is better when removing it completely, but I can change it if needed.

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

> Also can you use some color from the theme palette instead of black?

I am using same background-color rule that is already in apps/unity-greeter.css file...

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

OK. I can land this when Robert approves your unity-greeter branch.

review: Approve
Revision history for this message
Lars Karlitski (larsu) wrote :

I agree. 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/apps/unity-greeter.css'
2--- Ambiance/gtk-3.0/apps/unity-greeter.css 2015-01-27 20:47:49 +0000
3+++ Ambiance/gtk-3.0/apps/unity-greeter.css 2015-02-19 13:20:32 +0000
4@@ -76,3 +76,19 @@
5 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
6 animation: dashentry_spinner 1s infinite linear;
7 }
8+
9+.lightdm.option-button {
10+ padding: 2px;
11+ background: none;
12+ border: 0;
13+}
14+
15+.lightdm.toggle-button {
16+ background: none;
17+ border-width: 0;
18+}
19+
20+.lightdm.toggle-button.selected {
21+ background-color: alpha (black, 0.3);
22+ border-width: 1px;
23+}
24
25=== modified file 'Radiance/gtk-3.0/apps/unity-greeter.css'
26--- Radiance/gtk-3.0/apps/unity-greeter.css 2015-01-27 20:47:49 +0000
27+++ Radiance/gtk-3.0/apps/unity-greeter.css 2015-02-19 13:20:32 +0000
28@@ -76,3 +76,19 @@
29 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
30 animation: dashentry_spinner 1s infinite linear;
31 }
32+
33+.lightdm.option-button {
34+ padding: 2px;
35+ background: none;
36+ border: 0;
37+}
38+
39+.lightdm.toggle-button {
40+ background: none;
41+ border-width: 0;
42+}
43+
44+.lightdm.toggle-button.selected {
45+ background-color: alpha (black, 0.3);
46+ border-width: 1px;
47+}

Subscribers

People subscribed via source and target branches