diff --git a/www/sass/_likers.scss b/www/sass/_likers.scss new file mode 100644 index 00000000..af4f173b --- /dev/null +++ b/www/sass/_likers.scss @@ -0,0 +1,4 @@ +.likers { + font-size: 12px; + color: $dark-grey; +} diff --git a/www/sass/blocks/_mini-like.scss b/www/sass/blocks/_mini-like.scss index 1997ecd6..3eecf8c8 100644 --- a/www/sass/blocks/_mini-like.scss +++ b/www/sass/blocks/_mini-like.scss @@ -4,14 +4,10 @@ } } -.like-button { - @include border-radius(9px); - @include badge(); - padding: 2px 9px; - color: white; - background-color: lighten($like-color, 30%); +.like-icon { + color: $dark-grey; } -.like-button-liked { - background-color: $like-color; +.like-button { + color: $dark-grey; } diff --git a/www/sass/main.scss b/www/sass/main.scss index 01293214..d4b126d4 100644 --- a/www/sass/main.scss +++ b/www/sass/main.scss @@ -57,3 +57,4 @@ @import 'feed/item'; @import 'comment'; +@import 'likers'; diff --git a/www/templates/like.html b/www/templates/like.html index 76a08d7e..6b0eef91 100644 --- a/www/templates/like.html +++ b/www/templates/like.html @@ -1,18 +1,10 @@ -<% if (obj.list.length || !my) { %> - <% if (currentUser && !my) { %> - <% if (meGusta) { %> - <% } else { %> - <% } %><% } %> - - <%= list.length %> - <% if (currentUser && !my) { %> - <% } %> + +<% if (currentUser && !my) { %> + • + <% if (_.contains(list,currentUser)) { %> + Unlike + <% } else { %> + Like + <% } %> <% } %> + \ No newline at end of file diff --git a/www/templates/partials.html b/www/templates/partials.html index f46a29a0..ff88f1db 100644 --- a/www/templates/partials.html +++ b/www/templates/partials.html @@ -5,6 +5,30 @@ + +