add discuss button to views and fix onhover issues
This commit is contained in:
@ -751,7 +751,7 @@ iframe.iphone {
|
|||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary-ghost{
|
.btn-primary-ghost {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @brand-primary;
|
color: @brand-primary;
|
||||||
|
|
||||||
@ -833,6 +833,10 @@ iframe.iphone {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#reply-to-main-post, #upvote {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//uncomment this to see the dimensions of all elements outlined in red
|
//uncomment this to see the dimensions of all elements outlined in red
|
||||||
//* {
|
//* {
|
||||||
|
@ -33,13 +33,14 @@
|
|||||||
"<div class='col-xs-9 col-sm-10'>" +
|
"<div class='col-xs-9 col-sm-10'>" +
|
||||||
"<div class='row'>" +
|
"<div class='row'>" +
|
||||||
"<div class='story-headline col-xs-12'>" +
|
"<div class='story-headline col-xs-12'>" +
|
||||||
"<a href='/stories/" + linkedName + "'>"
|
"<a href='" + data[i].link + "'>" +
|
||||||
+ data[i].headline +
|
data[i].headline +
|
||||||
"</a>" +
|
"</a>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class='col-xs-12'>" +
|
"<div class='col-xs-12'>" +
|
||||||
"<span>" +
|
"<span>" +
|
||||||
rank + " points, posted " +
|
"<a class='btn btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a> " +
|
||||||
|
rank + (rank > 1 ? " points" : " point") + ", posted " +
|
||||||
moment(data[i].timePosted).fromNow() +
|
moment(data[i].timePosted).fromNow() +
|
||||||
" by <a href='/" + data[i].author.username + "'>@" + data[i].author.username + "</a> " +
|
" by <a href='/" + data[i].author.username + "'>@" + data[i].author.username + "</a> " +
|
||||||
"</span>" +
|
"</span>" +
|
||||||
|
@ -33,13 +33,14 @@
|
|||||||
"<div class='col-xs-9 col-sm-10'>" +
|
"<div class='col-xs-9 col-sm-10'>" +
|
||||||
"<div class='row'>" +
|
"<div class='row'>" +
|
||||||
"<div class='story-headline col-xs-12'>" +
|
"<div class='story-headline col-xs-12'>" +
|
||||||
"<a href='/stories/" + linkedName + "'>"
|
"<a href='" + data[i].link + "'>" +
|
||||||
+ data[i].headline +
|
data[i].headline +
|
||||||
"</a>" +
|
"</a>" +
|
||||||
"</div>" +
|
"</div>" +
|
||||||
"<div class='col-xs-12'>" +
|
"<div class='col-xs-12'>" +
|
||||||
"<span>" +
|
"<span>" +
|
||||||
rank + " points, posted " +
|
"<a class='btn btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a> " +
|
||||||
|
rank + (rank > 1 ? " points" : " point") + ", posted " +
|
||||||
moment(data[i].timePosted).fromNow() +
|
moment(data[i].timePosted).fromNow() +
|
||||||
" by <a href='/" + data[i].author.username + "'>@" + data[i].author.username + "</a> " +
|
" by <a href='/" + data[i].author.username + "'>@" + data[i].author.username + "</a> " +
|
||||||
"</span>" +
|
"</span>" +
|
||||||
|
Reference in New Issue
Block a user