Skip to content

Instantly share code, notes, and snippets.

@kaishiro
Last active January 29, 2016 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaishiro/fda6d9e6cb9876944901 to your computer and use it in GitHub Desktop.
Save kaishiro/fda6d9e6cb9876944901 to your computer and use it in GitHub Desktop.
.quote {
&.quote--placeholder {
&:first-child {
display: none;
}
&:last-child {
display: none;
}
}
&.quote--editable {
&nth-child(2) {
&:after {
@include icon('pencil');
@include position(absolute, 24px 19px null null);
display: inline-block;
text-align: center;
}
}
}
@include media($palm) {
&.quote--editable {
&nth-child(2) {
&:after {
display: none;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment