Skip to content

Instantly share code, notes, and snippets.

@benknight
Created February 8, 2014 01:30
Show Gist options
  • Save benknight/8875270 to your computer and use it in GitHub Desktop.
Save benknight/8875270 to your computer and use it in GitHub Desktop.
"See all photos" tweaks
// ----
// Sass (v3.3.0.rc.3)
// Compass (v1.0.0.alpha.18)
// ----
@import "compass/css3/images";
.showcase .show-all-overlay {
text-shadow:
1px 1px 0 black,
0 0 20px black,
0 0 20px black,
0 0 20px black;
&, &:hover {
@include background(linear-gradient(to bottom, transparent, rgba(0, 0, 0, .75) 58%, rgba(0,0,0,.1)));
}
}
.showcase .show-all-overlay {
text-shadow: 1px 1px 0 black, 0 0 20px black, 0 0 20px black, 0 0 20px black;
}
.showcase .show-all-overlay, .showcase .show-all-overlay:hover {
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1));
background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1));
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment