Closed Bug 572472 Opened 14 years ago Closed 14 years ago

Adjust theme styles for touch-enabled css rules

Categories

(Firefox :: Theme, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b1

People

(Reporter: Felipe, Assigned: Felipe)

References

Details

Attachments

(2 files)

Alex, Shorlander,

last year we introduced some theme styles on windows that are only applied for computers with touchscreens (via the -moz-touch-enabled css selector), to increase the clickable area and visual affordance of some elements. We haven't revisited these styles yet for the new theme, and some things looks a bit out of proportion, so I'm posting here a proposed patch + some screenshots to adjust them.

The most significant part is the tab height, which looks too big at the moment(5px higher than default theme).  I've reduced it to what I think looks better, and also due to some shadow+border changes on the new theme, we have a bigger clickable area than 3.6 but with a smaller appearance! win.

Other change I did was to reduce a bit the close button, from 18x18 goes to 17x17. This loses 35px of clickable area, but looks much more compatible with the size, and those pixels hopefully won't be needed after bug 547997.

Things I looked but didn't change because they seem fine are the width of the new tab button and the tab dropdown button. Also, there's the distance between the URL bar dropdown button and the Go arrow.

Of course, these are all my personal opinions, and we can make further changes or drop these styles entirely, depending on your thoughts on it.
Attached image Screenshots
How is this related to bug 458100?
Sorry, meant to write bug 548100
Blocks: 548100
No longer blocks: 458100
Stephen is a better person to make the call on different proportions, but in general it kind of feels off if only some parts of the UI get larger.  For instance I kind of expect to see a larger location bar (and toolbar buttons that share the same height) if the tab strip gets taller, etc.
Comment on attachment 451644 [details] [diff] [review]
Tab-height and close-button changes

I talked with Stephen on IRC, and these changes look fine for beta1
Attachment #451644 - Flags: review?(dao)
Attachment #451644 - Flags: review?(dao) → review+
http://hg.mozilla.org/mozilla-central/rev/86c5fe134b6c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: