Closed Bug 747608 Opened 13 years ago Closed 12 years ago

The identity-box should have a smaller font-size and a gradient end border instead of a solid line

Categories

(Firefox :: Theme, defect)

14 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 15
Tracking Status
firefox14 --- fixed

People

(Reporter: jaws, Assigned: jaws)

References

()

Details

Attachments

(2 files, 8 obsolete files)

Attached patch WIP of patch (Windows only) (obsolete) (deleted) — Splinter Review
As the mockup in the URL shows, there should be a smaller font-size for the identity-box text. The end border on the identity-box when viewing an https-ev site be a linear gradient instead of a solid line.
Attachment #617187 - Flags: feedback?(fryn)
Component: Location Bar → Theme
QA Contact: location.bar → theme
Attached image Screen shot showing w/ and w/o line (obsolete) (deleted) —
Why should there be a separator line/gradient between the site identity block and the URL in the EV case, but no separator line/gradient in the non-EV case? IMO, it is easier to read and looks good w/o any separator, and that would make the EV and non-EV cases consistent. See screenshot for comparison.
(In reply to Brian Smith (:bsmith) from comment #1) > Why should there be a separator line/gradient between the site identity > block and the URL in the EV case, but no separator line/gradient in the > non-EV case? This is because the EV case has text shown, so we want to provide a separator between the two text groups.
Attached image Emboldened text (obsolete) (deleted) —
Jared, the text should have bold font-weight as in the screenshot I just made. The font-size of 85% is what that Stephen and I came up with in-person. P.S. "embolden" is a real word. Stephen didn't believe me: https://www.google.com/search?q=define+embolden
Comment on attachment 617187 [details] [diff] [review] WIP of patch (Windows only) Review of attachment 617187 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/winstripe/browser.css @@ +1343,5 @@ > /* identity box */ > > #identity-box { > padding: 2px; > + font-size: .9em; I think .9em is fine. The .85 that I suggested in the previous comment might be a bit too small. Please embolden this. @@ +1398,5 @@ > +} > + > +#identity-box.verifiedIdentity:after { > + content: ""; > + display: block; Can you verify the height of this pseudo-element extends from the top of the identity box to the bottom of it (e.g. setting a CSS outline on it to check its dimensions, etc.)? We don't want it to be only as tall as the font-size. @@ +1401,5 @@ > + content: ""; > + display: block; > + width: 1px; > + -moz-margin-start: 2px; > + background-image: -moz-linear-gradient(to bottom, hsla(92,81%,16%,0), `to bottom, ` can be omitted.
Attachment #617187 - Flags: feedback?(fryn) → feedback+
Attached patch Patch for bug (Windows, Linux, OS X) (obsolete) (deleted) — Splinter Review
.85em looks too small for Windows, so I stuck with .9em on Windows (which will make it look the same as on Mac).
Attachment #617187 - Attachment is obsolete: true
Attachment #617667 - Flags: review?(fryn)
Can I have some context here? I vaguely remember that we used to have smaller and/or bolder text but got rid of it in an attempt to streamline this. Also note that bold text rendering is different across operating systems; this isn't going to look like attachment 617642 [details] on Windows and Linux.
Attached patch Patch for bug v2 (Windows, Linux, OS X) (obsolete) (deleted) — Splinter Review
This patch has the same font-size for the identity-box on all platforms as Frank requested offline.
Attachment #617680 - Flags: review?(fryn)
Comment on attachment 617680 [details] [diff] [review] Patch for bug v2 (Windows, Linux, OS X) Review of attachment 617680 [details] [diff] [review]: ----------------------------------------------------------------- The gradient pseudo-element's height is derived from the font-size, but I'm okay with that, since it's just a separator, sorta like a pipe character. We're gonna need a peer to r or rs this.
Attachment #617680 - Flags: review?(fryn) → feedback+
Attachment #617667 - Attachment is obsolete: true
Attachment #617667 - Flags: review?(fryn)
Attached patch Patch for bug v3 (Windows, Linux, and OS X) (obsolete) (deleted) — Splinter Review
This patch removes the bolding of the text due to platform differences and the way that bold fonts get aliased. I also lightened up the green font color so that it is not as close to black.
Attachment #617596 - Attachment is obsolete: true
Attachment #617642 - Attachment is obsolete: true
Attachment #617680 - Attachment is obsolete: true
Attachment #620917 - Flags: review?(fryn)
Attached image Screenshot of patch (deleted) —
Attachment #620918 - Flags: ui-review?(shorlander)
Comment on attachment 620917 [details] [diff] [review] Patch for bug v3 (Windows, Linux, and OS X) Please set the background on #identity-box without :after.
Attachment #620917 - Flags: review?(fryn) → review-
Attached patch Patch for bug v4 (Windows, Linux, and OS X) (obsolete) (deleted) — Splinter Review
No longer using :after for the background-image.
Attachment #620917 - Attachment is obsolete: true
Attachment #620949 - Flags: review?(dao)
Comment on attachment 620949 [details] [diff] [review] Patch for bug v4 (Windows, Linux, and OS X) You're making the text brighter on Windows on Mac but not on Linux, where it was already darker anyway -- this doesn't seem right.
Attachment #620949 - Flags: review?(dao) → review-
Attached patch Patch for bug v5 (obsolete) (deleted) — Splinter Review
Increased the brightness on the text for Linux.
Attachment #620949 - Attachment is obsolete: true
Attachment #621051 - Flags: review?(dao)
(In reply to Jared Wein [:jaws] from comment #14) > Created attachment 621051 [details] [diff] [review] > Patch for bug v5 > > Increased the brightness on the text for Linux. It's still less saturated and less bright than on Windows and Mac. Is this intentional?
Attached patch Patch for bug v6 (deleted) — Splinter Review
The colors were different before but I talked with Stephen and he said to make them all the same (color: hsl(92,100%,30%)).
Attachment #621051 - Attachment is obsolete: true
Attachment #621051 - Flags: review?(dao)
Attachment #621142 - Flags: review?(dao)
Attachment #621142 - Flags: review?(dao) → review+
Flags: in-testsuite-
Target Milestone: --- → Firefox 15
Attachment #620918 - Flags: ui-review?(shorlander)
Comment on attachment 621142 [details] [diff] [review] Patch for bug v6 [Approval Request Comment] Regression caused by (bug #): bug 742419 User impact if declined: Slightly altered look of identity-box between Fx14 & Fx15. The identity-box got a makeover for Fx14 and since this is security-sensitive UI, we want to have the ability to tell a clear message about how to use it. Testing completed (on m-c, etc.): locally, just landed on mozilla-inbound for Fx15 Risk to taking this patch (and alternatives if risky): none expected String changes made by this patch: none
Attachment #621142 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #621142 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: