Merge lp:~matzipan/egtk/egtk into lp:~elementary-design/egtk/trunk

Proposed by Zisu Andrei
Status: Rejected
Rejected by: Danielle Foré
Proposed branch: lp:~matzipan/egtk/egtk
Merge into: lp:~elementary-design/egtk/trunk
Diff against target: 35 lines (+25/-0)
1 file modified
gtk-3.0/apps.css (+25/-0)
To merge this branch: bzr merge lp:~matzipan/egtk/egtk
Reviewer Review Type Date Requested Status
Danielle Foré Disapprove
Zisu Andrei (community) fixed Needs Resubmitting
Review via email: mp+287398@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Danielle Foré (danrabbit) wrote :

in .fingerprint:
* instead of using a solid border color, you should probably use a box shadow here (semi-transparent black) as we do with window frames. This ensures that you won't get a blurry border effect on the element.

in .fingerprint-label:
* We don't use rgba typically. Please use alpha instead
* Instead of defining a new text style, it would be preferable to use one of the header classes from gtk-widgets.css. Specifically, the "h3" class is an 11px style.

review: Needs Fixing
lp:~matzipan/egtk/egtk updated
642. By Zisu Andrei

Review fixes

Revision history for this message
Zisu Andrei (matzipan) wrote :

> * instead of using a solid border color, you should probably use a box shadow here (semi-transparent black) as we do with window frames. This ensures that you won't get a blurry border effect on the element.

I just copied the CSS from the avatar. I have removed it now.

> * Instead of defining a new text style, it would be preferable to use one of the header classes from gtk-widgets.css. Specifically, the "h3" class is an 11px style.

Done.

review: Needs Resubmitting (fixed)
Revision history for this message
Danielle Foré (danrabbit) wrote :
review: Disapprove

Unmerged revisions

642. By Zisu Andrei

Review fixes

641. By Zisu Andrei

Add style for greeter fingerprint prompt

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gtk-3.0/apps.css'
2--- gtk-3.0/apps.css 2016-03-07 04:02:53 +0000
3+++ gtk-3.0/apps.css 2016-03-07 12:04:16 +0000
4@@ -184,6 +184,31 @@
5 0 2px 6px alpha (#000, 0.10);
6 }
7
8+PantheonGreeter .fingerprint {
9+ background-image: linear-gradient(to bottom,
10+ shade (#666, 1.30),
11+ #666
12+ );
13+ border-radius: 50%;
14+ box-shadow: inset 0 0 0 1px alpha (#999, 0.05),
15+ inset 0 1px 0 0 alpha (#999, 0.45),
16+ inset 0 -1px 0 0 alpha (#999, 0.15),
17+ 0 1px 2px alpha (#000, 0.15),
18+ 0 2px 6px alpha (#000, 0.10);
19+}
20+
21+PantheonGreeter .fingerprint-label {
22+ text-shadow: 0 0 3px alpha (#000, 0.4);
23+}
24+
25+PantheonGreeter .fingerprint-label.info {
26+ color: alpha (#fff,0.8);
27+}
28+
29+PantheonGreeter .fingerprint-label.error {
30+ color: lighter(@error_color);
31+}
32+
33 PantheonGreeter .entry,
34 PantheonGreeter .entry:focus {
35 border-radius: 3.5px;

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: