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

Artifact thumbnail hover #325

Merged
merged 2 commits into from
Dec 18, 2017
Merged

Artifact thumbnail hover #325

merged 2 commits into from
Dec 18, 2017

Conversation

lstearns86
Copy link
Collaborator

You can add the class artifact-thumbnail-hover to any element that contains an image and it will zoom 20% on hover. I also added the artifact-overlay class which will add the dark overlay and the artifact-overlay-content class which sets the text and link color to white and positions it in the middle of the container (links appear as large buttons)

New classes: .artifact-thumbnail-hover controls the image zoom level,
.artifact-overlay provides an animated background overlay, and
.artifact-overlay-content shows content over the artifact on hover.

Applied to the thumbnails on the talks page to show the pdf/pptx/etc
links.
Larger buttons rather than text in bottom left. Also removed redundant
links below talk info.
@lstearns86
Copy link
Collaborator Author

Addresses #287 and #313

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.

2 participants