Commit 757c817b by Tom Giannattasio

tweaked comment styles

parent 5267f03b
...@@ -39,6 +39,7 @@ $(document).ready(function() { ...@@ -39,6 +39,7 @@ $(document).ready(function() {
$formTopicDropBtn.bind('click', showFormTopicDrop); $formTopicDropBtn.bind('click', showFormTopicDrop);
$formTopicDropMenu.bind('click', setFormTopic); $formTopicDropMenu.bind('click', setFormTopic);
$('.new-post-btn').bind('click', newPost); $('.new-post-btn').bind('click', newPost);
$('.new-post-cancel').bind('click', closeNewPost);
$('[data-tooltip]').bind({ $('[data-tooltip]').bind({
'mouseover': showTooltip, 'mouseover': showTooltip,
...@@ -159,6 +160,10 @@ function newPost(e) { ...@@ -159,6 +160,10 @@ function newPost(e) {
$newPost.slideDown(300); $newPost.slideDown(300);
} }
function closeNewPost(e) {
$newPost.slideUp(300);
}
function showFormTopicDrop(e) { function showFormTopicDrop(e) {
$formTopicDropBtn.addClass('is-dropped'); $formTopicDropBtn.addClass('is-dropped');
$formTopicDropMenu.show(); $formTopicDropMenu.show();
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
padding: 0 15px; padding: 0 15px;
border-radius: 3px; border-radius: 3px;
border: 1px solid #444; border: 1px solid #444;
background: -webkit-linear-gradient(top, #eee, #ccc); @include linear-gradient(top, #eee, #ccc);
font-size: 13px; font-size: 13px;
font-weight: 700; font-weight: 700;
line-height: 32px; line-height: 32px;
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 1px rgba(0, 0, 0, .15); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 1px rgba(0, 0, 0, .15);
&:hover { &:hover {
background: -webkit-linear-gradient(top, #fff, #ddd); @include linear-gradient(top, #fff, #ddd);
} }
} }
...@@ -705,6 +705,7 @@ body.discussion { ...@@ -705,6 +705,7 @@ body.discussion {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 28px; font-size: 28px;
font-weight: 700; font-weight: 700;
letter-spacing: 0;
line-height: 1.2; line-height: 1.2;
} }
...@@ -868,9 +869,15 @@ body.discussion { ...@@ -868,9 +869,15 @@ body.discussion {
li { li {
background: #f6f6f6; background: #f6f6f6;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
}
.comment-form {
background: #eee;
&.new-comment-form { .comment-form-input {
background: #eee; padding: 5px 10px;
background-color: #fff;
font-size: 14px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment