Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds print stylesheets #729

Merged
merged 1 commit into from
Aug 14, 2014
Merged

adds print stylesheets #729

merged 1 commit into from
Aug 14, 2014

Conversation

mejackreed
Copy link
Contributor

Closes #651

So one thing about this is, we are essentially loading the styles twice. I haven't been able to figure out a better way to do this. I think this should be fine when minified and concat'd in prod.

Record page - 493515

screen shot 2014-08-14 at 1 13 19 pm

Results page - ?utf8=✓&search_field=search&q=cats

screen shot 2014-08-14 at 1 11 52 pm

Gallery results - ?utf8=✓&search_field=search&q=cats&view=gallery

screen shot 2014-08-14 at 1 14 17 pm

Brief results - ?utf8=✓&search_field=search&q=cats&view=brief

screen shot 2014-08-14 at 1 15 28 pm

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 719115e on print-stylez into 6162013 on master.

@jchristo4
Copy link
Contributor

@mejackreed

When printing gallery view page, view URLs (/view/<id>) are displayed between title and date (screenshot attached).

CSS selector/class to hide in print stylesheet -
"#documents div.item-thumb div.cover-image-wrapper a"

image

@mejackreed
Copy link
Contributor Author

@jchristo4 Per @jvine in the ticket "Suppress the exposed URLs: EXCEPT for h3 titles in results (which show as /view/12345)"

@jvine
Copy link
Contributor

jvine commented Aug 14, 2014

Yup.

@jchristo4
Copy link
Contributor

@mejackreed Looks good 👍

jchristo4 added a commit that referenced this pull request Aug 14, 2014
@jchristo4 jchristo4 merged commit 176a507 into master Aug 14, 2014
@jchristo4 jchristo4 deleted the print-stylez branch August 14, 2014 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print stylesheets!!
4 participants