Closed Bug 712930 Opened 13 years ago Closed 11 years ago

Improve the look of the Style Editor (CSS nits)

Categories

(DevTools :: Style Editor, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: paul, Assigned: paul)

References

Details

Attachments

(4 files)

1. Increase the height of the toolbar 4px for better overall proportions.
2. Find style sheet search box should flex with sidebar
3. Align left and right half of toolbar and adjust top and bottom border to be less prominent.
4. Increase the width of the line number gutter by 2px to comfortably accommodate three digit line numbers.
5. Fix the highlighted style sheet item in blue to fill all the way to the top of the box
6. Push the chrome out one pixel on all sides to kill Aero Glass bevel.
7. De-emphasize the resizer handle in main toolbar.
8. Move line one down a pixel so the highlight doesn't touch the toolbar
9. Fix highlight in text area to fill the full width all the way to the scrollbar.
10. Remove the button keyboard shortcut underlines.
Blocks: 708257
(In reply to Paul Rouget [:paul] from comment #0)
> Created attachment 583776 [details]
> Description of the imperfections of the UI

> 2. Find style sheet search box should flex with sidebar 

It should probably have an max-width so that it doesn't expand indefinitely

> 3. Align left and right half of toolbar and adjust top and bottom border to be less prominent.

Fixed alignment would be good :) I am ok with the current border appearance

> 6. Push the chrome out one pixel on all sides to kill Aero Glass bevel.

We do this on the main browser window, I seem to recall a -moz property for this

> 7. De-emphasize the resizer handle in main toolbar.

The example looks a little washed out. I would be ok with removing the grippy entirely and just leaving the line as it is now.
Priority: -- → P2
Whiteboard: [addToFirefox11]
Attached patch Item 3 - v1Splinter Review
Comment on attachment 592101 [details] [diff] [review]
Item 3 - v1

On Windows, the first toolbar is forced to `border-top-width:0`:

http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/winstripe/global/toolbar.css#67

So the second part of the toolbar (which is another <toolbar> tag) still has the 1px border. This explains alignment problem.

So I remove the border-top from the toolbars in splitviews.
Attachment #592101 - Flags: review?(dao)
Attached patch Item 1 - v1Splinter Review
Attached patch Item 4 - v1Splinter Review
Attachment #592111 - Flags: review?(mihai.sucan)
Attachment #592111 - Flags: review?(mihai.sucan) → review+
(In reply to Paul Rouget [:paul] from comment #0)
> 6. Push the chrome out one pixel on all sides to kill Aero Glass bevel.

We do this in the browser window so that tabs can connect with the border. There's no similar reason here, as far as I can see, so you let the OS handle this.

> 10. Remove the button keyboard shortcut underlines.

Don't do this.
Attachment #592101 - Flags: review?(dao) → review+
(In reply to Dão Gottwald [:dao] from comment #6)
> so you let the OS handle this.

Err, you *should* let the OS handle this.
Whiteboard: [addToFirefox11]
Fixed since :harth's rewrite.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: