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)
Tracking
()
RESOLVED
FIXED
Firefox 15
Tracking | Status | |
---|---|---|
firefox14 | --- | fixed |
People
(Reporter: jaws, Assigned: jaws)
References
()
Details
Attachments
(2 files, 8 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
dao
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | 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)
Updated•13 years ago
|
Component: Location Bar → Theme
QA Contact: location.bar → theme
Comment 1•12 years ago
|
||
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.
Assignee | ||
Comment 2•12 years ago
|
||
(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.
Comment 3•12 years ago
|
||
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 4•12 years ago
|
||
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+
Assignee | ||
Comment 5•12 years ago
|
||
.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)
Comment 6•12 years ago
|
||
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.
Assignee | ||
Comment 7•12 years ago
|
||
This patch has the same font-size for the identity-box on all platforms as Frank requested offline.
Attachment #617680 -
Flags: review?(fryn)
Comment 8•12 years ago
|
||
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+
Updated•12 years ago
|
Attachment #617667 -
Attachment is obsolete: true
Attachment #617667 -
Flags: review?(fryn)
Assignee | ||
Comment 9•12 years ago
|
||
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)
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #620918 -
Flags: ui-review?(shorlander)
Comment 11•12 years ago
|
||
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-
Assignee | ||
Comment 12•12 years ago
|
||
No longer using :after for the background-image.
Attachment #620917 -
Attachment is obsolete: true
Attachment #620949 -
Flags: review?(dao)
Comment 13•12 years ago
|
||
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-
Assignee | ||
Comment 14•12 years ago
|
||
Increased the brightness on the text for Linux.
Attachment #620949 -
Attachment is obsolete: true
Attachment #621051 -
Flags: review?(dao)
Comment 15•12 years ago
|
||
(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?
Assignee | ||
Comment 16•12 years ago
|
||
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)
Updated•12 years ago
|
Attachment #621142 -
Flags: review?(dao) → review+
Assignee | ||
Comment 17•12 years ago
|
||
Flags: in-testsuite-
Target Milestone: --- → Firefox 15
Assignee | ||
Updated•12 years ago
|
Attachment #620918 -
Flags: ui-review?(shorlander)
Assignee | ||
Comment 18•12 years ago
|
||
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?
Comment 19•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #621142 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 20•12 years ago
|
||
status-firefox14:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•