Closed
Bug 630621
Opened 15 years ago
Closed 15 years ago
Cleanup about:home with relative font-sizes and cleaner Session Restore icon scaling.
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 4.0b12
People
(Reporter: limi, Assigned: shorlander)
References
()
Details
(Whiteboard: [about-home])
Attachments
(4 files, 4 obsolete files)
44.80 KB,
image/jpeg
|
Details | |
236.76 KB,
image/jpeg
|
Details | |
144.18 KB,
image/jpeg
|
Details | |
12.43 KB,
patch
|
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
The new home page design implemented in bug 627301 has text that is too small (at least on OS X and Windows).
Assuming bug 630059 removes Preferences + About links, the most important font sizes to fix are:
1. Search input box + Search button
2. Snippet text
Making the "About Mozilla" text bigger isn't as important, IMO, but wouldn't hurt.
In general, if you go to about:home and hit Cmd-+ (Zoom) once, it looks about right. I'll let Stephen make the call on the exact font sizes (if he wants to), since it's his design.
![]() |
||
Comment 1•15 years ago
|
||
Cloning this bug artificially picked up blocking2.0 - moving back to a nom
blocking2.0: final+ → ?
![]() |
Reporter | |
Comment 2•15 years ago
|
||
Also, using UI font (Lucida Grande on OS X?) in a web page feels a bit weird, but that's secondary.
(Sorry about the cloning making it blocking, I always forget :P )
![]() |
||
Comment 3•15 years ago
|
||
(In reply to comment #0)
> In general, if you go to about:home and hit Cmd-+ (Zoom) once, it looks about
> right. I'll let Stephen make the call on the exact font sizes (if he wants to),
> since it's his design.
I think the number of zooms required to make it look right is dependent on your screen size and resolution. I have a laptop with a 15 inch lcd display with resolution of 1920x1200. I need to zoom 3 times to get it to look what I would consider to be right, but with zooming twice it is legible.
I have another laptop with a 1024x768 screen and zooming it 3 times on that makes it way too big.
Comment 4•15 years ago
|
||
Some additional cleanup related to the Restore Previous Session button:
* the text (on Windows at least) can be made to overlap the image
* the button feels like it should have a hand pointer
* the font looks bad (feels wrong there)
Summary: Font size is too small on about:home → Cleanup about:home
Comment 5•15 years ago
|
||
This is on Windows 7, with default Aero Theme (Architecture) and with custom DPI 115% (my screen resolution is just too high). Anyway the default home page should have font size similar to the system default font size.
Comment 6•15 years ago
|
||
ugh, the search button looks bad aligned with your settings
![]() |
Assignee | |
Comment 7•15 years ago
|
||
This patch:
- Sets a relative font-size that should scale based on "Fonts & Colors" prefs
- Changes the font to sans-serif
- Adds a small session restore icon and just snaps between the large and small size based on media queries
- Also adds a <div> for the session restore icon instead of using a background-image
- And a -moz-transform: scaleX(-1) instead of a separate icon
Mihai does this approach look ok to you?
Attachment #509277 -
Flags: feedback?(mihai.sucan)
![]() |
Assignee | |
Comment 8•15 years ago
|
||
![]() |
Assignee | |
Comment 9•15 years ago
|
||
![]() |
Assignee | |
Comment 10•15 years ago
|
||
(In reply to comment #7)
> Created attachment 509277 [details] [diff] [review]
> Cleanup About:Home - 01
>
> This patch:
>
> - Sets a relative font-size that should scale based on "Fonts & Colors" prefs
> - Changes the font to sans-serif
> - Adds a small session restore icon and just snaps between the large and small
> size based on media queries
> - Also adds a <div> for the session restore icon instead of using a
> background-image
> - And a -moz-transform: scaleX(-1) instead of a separate icon
>
> Mihai does this approach look ok to you?
Forgot to mention it also changes the cursor to a pointer on the Search button and the Session Restore button.
Comment 11•15 years ago
|
||
(In reply to comment #7)
> - Adds a small session restore icon and just snaps between the large and small
> size based on media queries
> - Also adds a <div> for the session restore icon instead of using a
> background-image
> - And a -moz-transform: scaleX(-1) instead of a separate icon
This is what I was trying to do with :before, but it was not possible due to the fact the icon was "fluid" and before does not allow relative sizes... since you set a fixed size for it, I bet now you can kill the div and use a
#restorePreviousSession:before with content: url("chrome://browser/content/aboutHome-restore-icon.png") (or the small one with media queries)
![]() |
Assignee | |
Comment 12•15 years ago
|
||
Use ::before thanks to mak (comment 11)
Attachment #509277 -
Attachment is obsolete: true
Attachment #509315 -
Flags: feedback?(mihai.sucan)
Attachment #509277 -
Flags: feedback?(mihai.sucan)
![]() |
||
Comment 13•15 years ago
|
||
Comment on attachment 509315 [details] [diff] [review]
Cleanup About:Home - 02
The patch looks fine, and the result does as well. Feedback+!
The fonts look quite big, but I like that, actually. It's better than the older versions - easier to read. ;)
Attachment #509315 -
Flags: feedback?(mihai.sucan) → feedback+
Comment 14•15 years ago
|
||
Comment on attachment 509315 [details] [diff] [review]
Cleanup About:Home - 02
> #restorePreviousSession {
>- -moz-padding-start: 7.5%;
>- -moz-padding-end: 10px;
>- height: 100%;
hm, if you remove this height (makes sense since now we don't use a background) you could maybe get rid of
#sessionRestoreContainer {
padding-top: 1.5%;
height: 33%; <--
unless this is needed for positioning but looks liks a strange way to achieve it since we can use padding/margin
![]() |
||
Comment 15•15 years ago
|
||
(In reply to comment #12)
> Created attachment 509315 [details] [diff] [review]
> Cleanup About:Home - 02
This looks much better except that the text for the "advanced Search" and Preferences" links is still to small. Shouldn't the font-size for searchEngineLinks be changed form 10px to .8em as well as the other changes?
Comment 16•15 years ago
|
||
I don't want to pile up changes, but some of the issues in Bug 631257 could be addressed easily (actually at least the stying for the non-default snippets)
![]() |
Assignee | |
Comment 17•15 years ago
|
||
(In reply to comment #14)
> unless this is needed for positioning but looks liks a strange way to achieve
> it since we can use padding/margin
Yeah removing "height: 33%;" doesn't seem to have any effect on the layout.
(In reply to comment #15)
> This looks much better except that the text for the "advanced Search" and
> Preferences" links is still to small. Shouldn't the font-size for
> searchEngineLinks be changed form 10px to .8em as well as the other changes?
You are right. I missed that because I was running with it removed for a while. Thanks!
(In reply to comment #16)
> I don't want to pile up changes, but some of the issues in Bug 631257 could be
> addressed easily (actually at least the stying for the non-default snippets)
I am not sure I entirely understand bug 631257 so I would rather not conflate them.
![]() |
Assignee | |
Updated•15 years ago
|
Assignee: nobody → shorlander
![]() |
Assignee | |
Comment 18•15 years ago
|
||
- Removed the height on #sessionRestoreContainer
- Made the font-size on search links relative
- Added a height to the session restore icon to fix some strange blank space
Attachment #509315 -
Attachment is obsolete: true
Attachment #509464 -
Flags: review?(gavin.sharp)
Updated•15 years ago
|
Attachment #509464 -
Flags: review?(gavin.sharp) → review+
![]() |
Assignee | |
Comment 19•15 years ago
|
||
Minor update to add a comment
Attachment #509464 -
Attachment is obsolete: true
Attachment #509503 -
Flags: review?(gavin.sharp)
![]() |
Assignee | |
Comment 20•15 years ago
|
||
Updated to clarify comment, has r+ from previous patch.
Attachment #509503 -
Attachment is obsolete: true
Attachment #509509 -
Flags: approval2.0?
Attachment #509503 -
Flags: review?(gavin.sharp)
Updated•15 years ago
|
Attachment #509509 -
Flags: approval2.0? → approval2.0+
Comment 21•15 years ago
|
||
wooops, the comment in the patch was missing bug numer, I missed that :(
http://hg.mozilla.org/mozilla-central/rev/b50320be8d3a
Status: ASSIGNED → RESOLVED
blocking2.0: ? → ---
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b12
Updated•15 years ago
|
Summary: Cleanup about:home → Cleanup about:home with relative font-sizes and cleaner Session Restore icon scaling.
Updated•15 years ago
|
Whiteboard: [about-home]
![]() |
||
Comment 22•15 years ago
|
||
Verified using Mozilla/5.0 (Windows NT 6.1; rv:2.0b12) Gecko/20100101 Firefox/4.0b12.
![]() |
||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•