Closed Bug 553775 Opened 15 years ago Closed 15 years ago

Make plugins.css use sane colors

Categories

(Camino Graveyard :: General, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: phiw2)

Details

(Whiteboard: [cm192test])

Attachments

(3 files, 3 obsolete files)

philor reminded me today that bug 377325 has gone nowhere in the three years since I filed it. We should just make plugins.css sane on our own.
Note to self: when we land this in cm192test, the pinstripe manifest needs to put the file in content, because this file is dumb (see bug 328678 comment 4 for why it's dumb).
Attached patch make about:plugins pretty v1 (obsolete) — Splinter Review
Assignee: nobody → phiw
Status: NEW → ASSIGNED
Attachment #433881 - Flags: review?(alqahira)
Comment on attachment 433881 [details] [diff] [review] make about:plugins pretty v1 A couple of things here: 1) I don't think we can land this on 1.9.0 as-is because of the word-wrap issue; having that run into the other column is worse than the ugly colors on 1.9.0. 1a) To land this on 1.9.0, it would need to live at embed-replacements/content/global/plugins.css for the same reason as comment 1; otherwise we inherit some ugly styles (e.g. the title font) from the core file. 2) I'd really like to see the extra spacing between "Version" ("Name" in 1.9.0, since "Version" is missing) and the line/paragraph of descriptive text that follows; that seems to be missing in this patch.
Attachment #433881 - Flags: review?(alqahira) → review-
(In reply to comment #3) > 1) I don't think we can land this on 1.9.0 as-is because of the word-wrap > issue; having that run into the other column is worse than the ugly colors on > 1.9.0. Without the word-break property, those long strings won't wrap. I can make the table expand as needed in that case; however, at narrow window width (< 700px), the QuickTime table will overflow the body. http://dev.l-c-n.com/camino/qtoverflow.png Two options for 1.9.0: 1. let the table expand as needed and overflow the border. 2. do without some of the 'about' styling (mostly: frame around body) http://dev.l-c-n.com/camino/plugins-css-1.9.0.png > 1a) To land this on 1.9.0, it would need to live at > embed-replacements/content/global/plugins.css for the same reason as comment 1; > otherwise we inherit some ugly styles (e.g. the title font) from the core file. Ok, my bad, I misunderstood how the whole thing passes through the build scripts. Moved. > 2) I'd really like to see the extra spacing between "Version" ("Name" in 1.9.0, > since "Version" is missing) and the line/paragraph of descriptive text that > follows; that seems to be missing in this patch. Uh, it should have been there. Stupid typo. Fixed
Per IRC discussion, going option 1. in comment 4. I've add a little hack in the stylesheet to give Camino-Gecko 1.9.0 users a decent experience while having a more optimal look for Camino-Gecko 1.9.2. Basically: Camino-Gecko 1.9.0 users will have a border on the table cells (to compensate for lack of nth-child() support), and will have to do with an expanding table on narrow windows. A media query (not supported by Gecko 1.9.0) is used as filter to give Gecko 1.9.2 users a better experience. This litte hack can be removed once we're safely on Camino-Gecko 1.9.2 - and is noted in a comment in the stylesheet. (Once we're safely on Camino-Gecko 1.9.2, I'd like to do some small polish surgery on all those about-* stylesheets anyway - something that cannot be done while sharing with 1.9.0)
Attached patch make about:plugins pretty v2 (obsolete) — Splinter Review
v2 - fixes the stupid typo, moves the file to /camino/embed-replacements/content/global and fixes the display issues for Camino-Gecko1.9.0
Attachment #433881 - Attachment is obsolete: true
Attachment #434178 - Flags: review?(alqahira)
Attached patch make about:plugins pretty v2.1 (obsolete) — Splinter Review
correcting an oopsie. Sorry about that.
Attachment #434178 - Attachment is obsolete: true
Attachment #434428 - Flags: review?(alqahira)
Attachment #434178 - Flags: review?(alqahira)
Comment on attachment 434428 [details] [diff] [review] make about:plugins pretty v2.1 r=ardissone about:plugins looks MUCH better!
Attachment #434428 - Flags: superreview?(stuart.morgan+bugzilla)
Attachment #434428 - Flags: review?(alqahira)
Attachment #434428 - Flags: review+
Stuart, this is the packaging change we'll need on 1.9.2 to pack the file.
Attachment #434432 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 434432 [details] [diff] [review] 1.9.2 packaging change Eh, there's a missing 's' in that comment; fixed locally.
Screenshot? Also, is there a reason we don't just do different 1.9.2 and 1.9.0 patches?
(In reply to comment #11) > Screenshot? http://dev.l-c-n.com/camino/g19x/plugins-camino1.9.0.png http://dev.l-c-n.com/camino/g19x/plugins-camino1.9.2.png > Also, is there a reason we don't just do different 1.9.2 and 1.9.0 patches? I understood smokey prefers one patch (?).
> > Also, is there a reason we don't just do different 1.9.2 and 1.9.0 patches? > > I understood smokey prefers one patch (?). I guess at this point we're treating the 1.9.2 test repo as a "real" repo, so we could do that. In terms of keeping what we land on cvs easily mergeable with the stuff in Hg during this period, though, generally speaking, it's saner the other way, though in this particular case (adding a new file), I guess it doesn't matter.
patch for Camino -gecko1.9.2
Attachment #434466 - Flags: superreview?(stuart.morgan+bugzilla)
for Camino Gecko 1.9.0
Attachment #434467 - Flags: superreview?(stuart.morgan+bugzilla)
Attachment #434428 - Attachment is obsolete: true
Attachment #434428 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 434466 [details] [diff] [review] plugins.css for Gecko 1.9.2 sr=smorgan. This is at least 700% better than the current look.
Attachment #434466 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Attachment #434467 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Comment on attachment 434432 [details] [diff] [review] 1.9.2 packaging change sr=smorgan
Attachment #434432 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [cm192test]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: