Commit 49840933 by Brittany Cheng

error handling

parent dbb46736
......@@ -11,7 +11,8 @@ Discussion = @Discussion
<ul class="discussion-errors new-post-form-error"></ul>
<input type="text" class="new-post-title title-input" placeholder="Title"/>
<div class="new-post-similar-posts-wrapper" style="display: none">
Similar Posts: <a class="hide-similar-posts" href="javascript:void(0)">These are not what I want</a>
Similar Posts:
<a class="hide-similar-posts" href="javascript:void(0)">Hide</a>
<div class="new-post-similar-posts"></div>
</div>
<div class="new-post-body body-input"></div>
......
......@@ -214,7 +214,9 @@ form label {
.discussion-errors {
color: #8F0E0E;
display: block;
margin-left: -5%;
font: inherit;
font-size: $comment_body_size;
margin-left: -3%;
}
.new-post-similar-posts-wrapper {
@include border-radius(3px);
......@@ -224,6 +226,9 @@ form label {
margin-top: 1%;
padding: 1% 1.5%;
}
.hide-similar-posts {
float: right;
}
.new-post-similar-posts {
font: inherit;
.similar-post {
......@@ -255,6 +260,13 @@ form label {
}
.discussion-content-edit, .discussion-reply-new, .new-post-form {
margin: 10px 0 10px 0;
.discussion-errors {
color: #8F0E0E;
display: block;
font: inherit;
font-size: $comment_body_size;
margin-left: -3%;
}
a:hover {
color: #1C71DD;
text-decoration: none;
......
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