Closed Bug 734899 Opened 14 years ago Closed 12 years ago

Update Style Editor UI

Categories

(DevTools :: Style Editor, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cedricv, Assigned: cedricv)

References

Details

(Whiteboard: [styleeditor])

Attachments

(2 files, 2 obsolete files)

Update Style Editor UI to improve the overall UX: A) Remove the empty toolbar on top of the text editor, gain some vertical space. B) Use icon buttons instead of text buttons This is consistent with the direction of other devtools and this also fixes minimum width issue with some locales when the Style Editor is in portrait orientation. C) Replace the non-Fitts-friendly textual "Save" link with a Save icon button that has the same position and size in all modes/localizations. D) In landscape orientation, enable resizing on the whole height between the list and the editor, rather than just on the 'resizer grippy'. E) Fix contrast issue with enabled/disabled style sheet toggle "eye" icon. The constrast between enabled and disabled was too low to be visible in bad conditions (low quality screen, ...). If the style sheet is disabled, the "eye" is not visible, use the translucent "eye" as a hover since it conveys the behavior correctly in both directions (enabling/disabling).
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #604978 - Flags: review?(paul)
Attachment #604978 - Attachment is obsolete: true
Attachment #604982 - Flags: review?
Attachment #604978 - Flags: review?(paul)
Attachment #604982 - Flags: review? → review?(paul)
Blocks: 715293
This also fixes bug 715293.
Attachment #604982 - Attachment is obsolete: true
Attachment #605000 - Flags: review?(paul)
Attachment #604982 - Flags: review?(paul)
Blocks: 734901
The save button doesn't look right: see attachment 605045 [details] Do we have a mockup to refer to? The border and the shadow seem wrong. I guess we want a uniform light background (with no border). Shorlander, can you take a look?
Cedric, I won't have the time to review the patch in its current state before tomorrow's merge. If you want to get some of this work part of Firefox 13, please split it in different bugs. Otherwise, I'll take a look later this week.
Comment on attachment 605000 [details] [diff] [review] patch v1.2 - fix conflict due to recent commits update the DTD according to your changes. Also, make sure to make the buttons reachable with the tab key.
Attachment #605000 - Flags: review?(paul) → review-
Plain background Save button tentative: http://i.imgur.com/VQZsM.png
Tentative 2, closer in spirit to the textual mockup [1] : http://i.imgur.com/mSgKT.png [1] https://bug709006.bugzilla.mozilla.org/attachment.cgi?id=580358
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: