Closed Bug 423591 Opened 18 years ago Closed 18 years ago

Clean up and combine stylesheets

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jason.barnabe, Unassigned)

Details

(Whiteboard: sumo_only theme)

Attachments

(4 files)

I find it hard to make any changes to the site's design because I have to make them multiple times (one for each theme) and I don't know what is different between the themes. I think we should have a common CSS file and just have the differences in theme-specific files. This patch splits out the common elements of mozkb.css and mozfr.css into mozcommon.css. For the other themes: mozlc.css - imports mozkb.css, so no changes needed mozip.css, mozms.css, mozfh.css - not sure what each of these do or what the differences are supposed to be, so left them out for now
Attachment #310162 - Flags: review?(nelson)
Attached file mozcommoncss. —
Attachment #310163 - Flags: review?(nelson)
Great stuff. I've been wanting this for a long time! :)
Attachment #310162 - Flags: review?(nelson) → review+
Attachment #310163 - Flags: review?(nelson) → review+
this is now on support-stage. Please double check. Thanks :)
Haven't noticed any difference after browsing around (which is good).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
mozip.css is for in-product help pages. It now imports mozkb.css and makes a few changes. mozih.css (in product home), mozfh.css (forum home), mozms.css (admin pages and kb home) have their common parts in mozcommonhome.css. I also removed some empty blocks.
Attached file mozcommonhome.css —
Attachment #311265 - Flags: review?(nelson)
Attachment #311264 - Flags: review?(nelson)
I don't have all the right pages set up on my local server, so don't put it on the production server until I have time to test the staging server.
Attachment #311264 - Flags: review?(nelson)
Attachment #311265 - Flags: review?(nelson)
Checked in combination of "home-page-y" stylesheets into trunk as r13998.
mozip changes checked into trunk as r14129. Please let me know if you notice anything funky on the staging server. If everything looks fine for a couple days, I'll merge the changes to production and 1.1, because they would really make the redesign easier.
Was the site navigation bar on http://support-stage.mozilla.org/en-US/kb/Firefox+Help?style_mode=inproduct before Jason's cleanup? I don't remember. Separate bug?
Considering it's there on http://support.mozilla.com/en-US/kb/Firefox+Help?style_mode=inproduct , which doesn't have my changes, I'd say it's unrelated.
could be bug 436675.
Checked into 1.1 as r14431 and production as r14432.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Keywords: push-needed
Resolution: --- → FIXED
Because I removed the versioning info from the CSS files because it was invalid, I also had to remove turn off transition stylesheets in the "look and feel" admin panel. It was messing up the look of forum threads.
Whiteboard: sumo_only theme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: