From 717ede8afd24f84e12559d32dd4b99342f1c8849 Mon Sep 17 00:00:00 2001 From: Ray Schamp <ray@scratch.mit.edu> Date: Fri, 23 Oct 2015 17:07:40 -0400 Subject: [PATCH] Fix #102: Add remix and love icons --- src/components/thumbnail/thumbnail.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/components/thumbnail/thumbnail.scss b/src/components/thumbnail/thumbnail.scss index 3f0f34d96..ffaea2754 100644 --- a/src/components/thumbnail/thumbnail.scss +++ b/src/components/thumbnail/thumbnail.scss @@ -43,6 +43,29 @@ } } + .thumbnail-loves, + .thumbnail-remixes { + &:before { + display: inline-block; + margin-right: .1rem; + background-repeat: no-repeat; + background-position: center center; + background-size: contain; + width: .93rem; + height: .93rem; + vertical-align: text-top; + content: ""; + } + } + + .thumbnail-loves:before { + background-image: url("/svgs/love/love_type-gray.svg"); + } + + .thumbnail-remixes:before { + background-image: url("/svgs/remix/remix_type-gray.svg"); + } + &.project { $project-width: 144px; $project-height: 108px;