Opened 11 years ago

Closed 7 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)

jquery-ui-site-printstyles.patch (519 bytes) - added by Jörn Zaefferer 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by Jörn Zaefferer

Milestone: TBD1.8

Changed 11 years ago by Jörn Zaefferer

comment:2 Changed 11 years ago by Jörn Zaefferer

Attached a patch for change media="screen" to media="all". Dunno enough about site to commit.

comment:3 Changed 10 years ago by Jörn Zaefferer

Milestone: 1.81.next

comment:4 Changed 9 years ago by Scott González

Milestone: 1.next1.9
Priority: criticalmajor

comment:5 Changed 8 years ago by Jörn Zaefferer

Status: newopen

comment:6 Changed 7 years ago by Scott González

Resolution: wontfix
Status: openclosed

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.

Note: See TracTickets for help on using tickets.