Skip to content

Commit

Permalink
added red favorite #19
Browse files Browse the repository at this point in the history
  • Loading branch information
orizens committed Aug 23, 2013
1 parent e645539 commit e8b3fd8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ iframe {
color: #333;
}

.youtube-item .icon-heart {
color: tomato;
display: none;
}

.youtube-item .is-favorite-true .icon-heart {
display: inline;
}
.youtube-item .is-favorite-true .icon-heart-empty {
display: none;
}

.youtube-item .media-thumb:hover .play-media {
opacity: 1;
}
Expand Down
1 change: 1 addition & 0 deletions templates/youtube_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<button class="pull-right btn btn-mini item-action favorite-media is-favorite-<%= isFavorite %>">
<i class="icon-heart-empty"></i>
<i class="icon-heart"></i>
</button>

<button class="pull-right btn btn-mini add-to-playlist" title="Add this video to a playlist">
Expand Down

0 comments on commit e8b3fd8

Please sign in to comment.