Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Header gallery styles#4272

Merged
weerd merged 4 commits intoDoSomethingArchive:devfrom
weerd:header-gallery-styles
Mar 20, 2015
Merged

Header gallery styles#4272
weerd merged 4 commits intoDoSomethingArchive:devfrom
weerd:header-gallery-styles

Conversation

@weerd
Copy link
Contributor

@weerd weerd commented Mar 20, 2015

Fixes #4188

Fixes #4186

This should wrap up the styles for the new showcase gallery in the header. Adds some modified patterns which will need to be moved into Neue. Also pulled out the .photo pattern and placed into /patterns directory for easier reference when moving to Neue.

The rotation with nth-child aims to rotate odd and even gallery items plus a could extra nth-child definitions to add some variety in between 💃

The .-hidden class is only temporary and will be used for easy Optimizely tests to toggle between showing or not showing the showcase gallery.

@DoSomething/front-end

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aaronschachter I made a quick change here cause returning FALSE apparently is no good if using isset() in template cause it sees it as the variable having a value (which makes sense). So I changed it to return NULL so the conditional in template works correctly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@DFurnes
Copy link
Contributor

DFurnes commented Mar 20, 2015

Really nice! 🚢 Few teeeny tiny comments, but otherwise all good!

weerd added a commit that referenced this pull request Mar 20, 2015
@weerd weerd merged commit 0b5687e into DoSomethingArchive:dev Mar 20, 2015
@weerd weerd deleted the header-gallery-styles branch March 20, 2015 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Style header gallery images RB header gallery default to off

3 participants