update the stories view to have ghost discuss button and update chat instructions

This commit is contained in:
Michael Q Larson
2015-03-09 22:10:09 -07:00
parent d224fda65f
commit 47507471ff
5 changed files with 12 additions and 7 deletions

View File

@@ -842,6 +842,11 @@ iframe.iphone {
cursor: pointer; cursor: pointer;
} }
.btn-no-shadow {
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
//uncomment this to see the dimensions of all elements outlined in red //uncomment this to see the dimensions of all elements outlined in red
//* { //* {

View File

@@ -5,7 +5,7 @@ block content
li Create a GitHub Account  li Create a GitHub Account 
a(href="http://github.com/join", target='_blank') here a(href="http://github.com/join", target='_blank') here
| . | .
li Download the chat room app on   li Click "Login with GitHub" in the chat window below or download the chat room app for  
a(href="https://update.gitter.im/win/latest") Windows a(href="https://update.gitter.im/win/latest") Windows
| ,  | , 
a(href="https://update.gitter.im/osx/latest") Mac a(href="https://update.gitter.im/osx/latest") Mac

View File

@@ -39,8 +39,8 @@
"</div>" + "</div>" +
"<div class='col-xs-12'>" + "<div class='col-xs-12'>" +
"<span>" + "<span>" +
"<a class='btn btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a>&nbsp;&nbsp;&nbsp;&nbsp;" + "<a class='btn btn-no-shadow btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a>&nbsp;&nbsp;&#8226;&nbsp;&nbsp;" +
rank + (rank > 1 ? " points" : " point") + ", posted " + rank + (rank > 1 ? " points" : " point") + "&nbsp;&nbsp;&#8226;&nbsp;&nbsp; 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>" +

View File

@@ -39,10 +39,10 @@
"</div>" + "</div>" +
"<div class='col-xs-12'>" + "<div class='col-xs-12'>" +
"<span>" + "<span>" +
"<a class='btn btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a>&nbsp;&nbsp;&nbsp;&nbsp;" + "<a class='btn btn-no-shadow btn-primary btn-xs btn-primary-ghost' href='/stories/" + linkedName + "'>discuss</a>&nbsp;&nbsp;&#8226;&nbsp;&nbsp;" +
rank + (rank > 1 ? " points" : " point") + ", posted " + rank + (rank > 1 ? " points" : " point") + "&nbsp;&nbsp;&#8226;&nbsp;&nbsp; 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> " +"</a> " +
"</span>" + "</span>" +
"</div>" + "</div>" +
"</div>" + "</div>" +

View File

@@ -4,7 +4,7 @@
.input-group .input-group
input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our stories', autofocus) input#searchArea.big-text-field.field-responsive.form-control(type='text', placeholder='Search our stories', autofocus)
span.input-group-btn span.input-group-btn
button#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search button.disabled#searchbutton.btn.btn-big.btn-primary.btn-responsive(type='button') Search
.spacer .spacer
#story-list #story-list