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
=== modified file 'Ambiance/gtk-3.0/apps/unity-greeter.css'
--- Ambiance/gtk-3.0/apps/unity-greeter.css 2015-01-27 20:47:49 +0000
+++ Ambiance/gtk-3.0/apps/unity-greeter.css 2015-02-19 13:20:32 +0000
@@ -76,3 +76,19 @@
76 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");76 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
77 animation: dashentry_spinner 1s infinite linear;77 animation: dashentry_spinner 1s infinite linear;
78}78}
79
80.lightdm.option-button {
81 padding: 2px;
82 background: none;
83 border: 0;
84}
85
86.lightdm.toggle-button {
87 background: none;
88 border-width: 0;
89}
90
91.lightdm.toggle-button.selected {
92 background-color: alpha (black, 0.3);
93 border-width: 1px;
94}
7995
=== modified file 'Radiance/gtk-3.0/apps/unity-greeter.css'
--- Radiance/gtk-3.0/apps/unity-greeter.css 2015-01-27 20:47:49 +0000
+++ Radiance/gtk-3.0/apps/unity-greeter.css 2015-02-19 13:20:32 +0000
@@ -76,3 +76,19 @@
76 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");76 -gtk-icon-source: -gtk-icontheme("process-working-symbolic");
77 animation: dashentry_spinner 1s infinite linear;77 animation: dashentry_spinner 1s infinite linear;
78}78}
79
80.lightdm.option-button {
81 padding: 2px;
82 background: none;
83 border: 0;
84}
85
86.lightdm.toggle-button {
87 background: none;
88 border-width: 0;
89}
90
91.lightdm.toggle-button.selected {
92 background-color: alpha (black, 0.3);
93 border-width: 1px;
94}

Subscribers

People subscribed via source and target branches