Opened 14 years ago
Closed 10 years ago
#4448 closed feature (wontfix)
Need print CSS for site, especially demos and docs
Reported by: | fgTodd | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | [meta] ui.site | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Right now, if you try to print a page it looks terrible (broken layout, no themes on widgets, etc.). The main issue is that all our CSS imports are set to media="screen" so they are ignored by the printer.
The quick fix is to simply set all the CSS to media="all" (including CSS files imported via the theme switcher). This will make pages print normally.
For the demos & docs pages, we should consider writing a custom print css that displays all the content in a flat page instead of just the tabbed section being viewed. Also, each section should be expanded when printed. This would make the print version of each demo page more like a complete developer doc.
If some people wouldn't want to print everything, this might be a hassle but I have a feeling people want to print the whole thing since it's a reference doc.
Attachments (1)
Change History (7)
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.8 |
---|
Changed 14 years ago by
Attachment: | jquery-ui-site-printstyles.patch added |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 13 years ago by
Milestone: | 1.8 → 1.next |
---|
comment:4 Changed 12 years ago by
Milestone: | 1.next → 1.9 |
---|---|
Priority: | critical → major |
comment:5 Changed 11 years ago by
Status: | new → open |
---|
comment:6 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | open → closed |
Closing as wontfix. We should just apply the styles to all in the new site (we're already doing this) and the docs aren't going to be included on the main site anymore.
Attached a patch for change media="screen" to media="all". Dunno enough about site to commit.