Closed Bug 392264 Opened 17 years ago Closed 17 years ago

[windows] Download Manager shouldn't have margins

Categories

(Toolkit :: Downloads API, defect)

x86
All
defect
Not set
minor

Tracking

()

VERIFIED FIXED
mozilla1.9alpha8

People

(Reporter: ventnor.bugzilla, Assigned: ventnor.bugzilla)

References

Details

(Keywords: polish)

Attachments

(1 file, 3 obsolete files)

Attached patch Patch (obsolete) — Splinter Review
Notice how in the mockup, the download manager richlistbox takes up most of the window, it doesn't have any margins on the side. It also has a shading effect when going between the richlistbox and the area where the searchbox is. I don't know if I should do the same for pinstripe, their DM already has no margins so I assume its been specially styled to match Safari's DM.
Attachment #276719 - Flags: review?(sdwilsh)
Attached image Shade image (obsolete) —
This goes in toolkit/themes/winstripe/mozapps/downloads. Its just white and transparency so you won't see anything when viewing this image alone.
Assignee: nobody → ventnor.bugzilla
Status: NEW → ASSIGNED
Attached image Screenshot (obsolete) —
I might as well make a comparison screenshot. Left is without patch, right is with patch.
Comment on attachment 276719 [details] [diff] [review] Patch sure. Mano needs to look at this too (I don't trust my CSS-fu enough)
Attachment #276719 - Flags: review?(sdwilsh)
Attachment #276719 - Flags: review?(mano)
Attachment #276719 - Flags: review+
Couldn't you use border-image here?
Also, the "-moz-box-flex" rule on this hbox doesn't make sense, esp. because you specify its height.
(And, of course, how could you be sure the list background is white).
Attachment #276719 - Flags: review?(mano) → review-
(In reply to comment #4) > Couldn't you use border-image here? I don't think we support that. I looked up documentation for it and can't get it to work, even with the -moz prefix. (In reply to comment #5) > Also, the "-moz-box-flex" rule on this hbox doesn't make sense, esp. because > you specify its height. But we still need its width to be stretched by the width of the window. (In reply to comment #6) > (And, of course, how could you be sure the list background is white). background-color. Maybe background-color !important just to be sure.
(In reply to comment #7) > (In reply to comment #4) > > Couldn't you use border-image here? > > I don't think we support that. I looked up documentation for it and can't get > it to work, even with the -moz prefix. > Yeah, I didn't realize this is not yet checked in (see bug 378217). > (In reply to comment #6) > > (And, of course, how could you be sure the list background is white). > > background-color. Maybe background-color !important just to be sure. > We use system colors purposely.
(In reply to comment #8) > We use system colors purposely. If I do use the system colour, there will be no way to do that fade effect under the box that was part of the mockup. If you're really certain about this, I guess I'll have to use a solid border-bottom...
Attached patch Patch 2Splinter Review
Uses system colours, with the existing border now only used on the bottom. Needless to say, this doesn't require that shade image anymore.
Attachment #276719 - Attachment is obsolete: true
Attachment #276720 - Attachment is obsolete: true
Attachment #276721 - Attachment is obsolete: true
Attachment #276752 - Flags: review?(mano)
Comment on attachment 276752 [details] [diff] [review] Patch 2 r=mano.
Attachment #276752 - Flags: review?(mano) → review+
We can tweak this later (and may overkill it with a <canvas>), this will do for now.
Keywords: checkin-needed
Thanks! Checking in toolkit/themes/winstripe/mozapps/downloads/downloads.css; new revision: 1.20; previous revision: 1.19
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Flags: in-litmus-
Keywords: checkin-needed
Resolution: --- → FIXED
Summary: Download Manager shouldn't have margins → [windows] Download Manager shouldn't have margins
Target Milestone: --- → Firefox 3 M8
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007081510 Minefield/3.0a8pre ID:2007081510 Verified
And now also verified with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2008010104 Minefield/3.0b3pre
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: