From 0d43c8942ef6f2a14849600855ff17bf5223ce85 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Mon, 9 Mar 2015 17:05:18 -0700 Subject: [PATCH] add discuss button to views and fix onhover issues --- public/css/main.less | 6 +++++- views/stories/hot-stories.jade | 7 ++++--- views/stories/new-stories.jade | 7 ++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/public/css/main.less b/public/css/main.less index 37fc8a39ce..14be443d72 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -751,7 +751,7 @@ iframe.iphone { margin-bottom: 50px; } -.btn-primary-ghost{ +.btn-primary-ghost { background: transparent; color: @brand-primary; @@ -833,6 +833,10 @@ iframe.iphone { font-size: 20px; } +#reply-to-main-post, #upvote { + cursor: pointer; +} + //uncomment this to see the dimensions of all elements outlined in red //* { diff --git a/views/stories/hot-stories.jade b/views/stories/hot-stories.jade index e71118b6f9..9d1ad48cb1 100644 --- a/views/stories/hot-stories.jade +++ b/views/stories/hot-stories.jade @@ -33,13 +33,14 @@ "
" + "
" + "
" + - "" - + data[i].headline + + "" + + data[i].headline + "" + "
" + "
" + "" + - rank + " points, posted " + + "discuss    " + + rank + (rank > 1 ? " points" : " point") + ", posted " + moment(data[i].timePosted).fromNow() + " by @" + data[i].author.username + " " + "" + diff --git a/views/stories/new-stories.jade b/views/stories/new-stories.jade index f89f5b5b13..0bc727af62 100644 --- a/views/stories/new-stories.jade +++ b/views/stories/new-stories.jade @@ -33,13 +33,14 @@ "
" + "
" + "
" + - "" - + data[i].headline + + "" + + data[i].headline + "" + "
" + "
" + "" + - rank + " points, posted " + + "discuss    " + + rank + (rank > 1 ? " points" : " point") + ", posted " + moment(data[i].timePosted).fromNow() + " by @" + data[i].author.username + " " + "" +