pulibrary / special_collections

Deprecated - Special Collections ( formerly RBSC) Drupal 7 Project
https://library.princeton.edu/special-collections/
GNU General Public License v2.0
2 stars 0 forks source link

Card Flip Animation #459

Closed kevinreiss closed 8 years ago

kevinreiss commented 8 years ago

Add flip animation to the card grids on pages like http://rbsc.princeton.edu/exhibitions. The flip side can be a more detailed description.

swiftg commented 8 years ago

Front side only includes exhibition title (not subtitle) and text is below image as seen on pom dev. Image square is not dimmed. If we provide short-title captions, can also apply to http://rbsc.princeton.edu/digital-highlights (eventually spotlight replaces digital highlights).

kevinreiss commented 8 years ago

@axamei I think this was one of Gabriel's top choices to update.

axamei commented 8 years ago

We might have to adjust the markup from views, but this shouldn't be difficult to implement.

axamei commented 8 years ago

Looking at the exhibitions grid/page, not all items have subtitles. What should display as the "back" portion of the card flip @swiftg @kevinreiss ?

kevinreiss commented 8 years ago

Where do the values for those that have them come from?

axamei commented 8 years ago

Right now the view is pulling a cover image, title and subtitle. They're all coming from the exhibition content type (for exhibitions).

kevinreiss commented 8 years ago

I think for those that are empty we should should just populate them. Let's keep it consistent.

axamei commented 8 years ago

Should Digitial Humanities also get the same card flip treatment? http://rbsc.princeton.edu/projects

kevinreiss commented 8 years ago

Yes, @swiftg how many places in the site does this pattern appear?

axamei commented 8 years ago

@swiftg Is this what you had in mind for the card flip? http://rbsc-dev.princeton.edu/exhibitions

I'll work on refactoring the other views (digital highlights and digital humanities) now. Let me know if there are other parts of the site that have a gallery display that should have the card flip animation.

axamei commented 8 years ago

it looks like http://rbsc.princeton.edu/collections also has the gallery layout. Should this also have the flip card animation?