Commit 8c366e2d by Tom Giannattasio

tweaking the text editor

parent d5302a0b
...@@ -424,7 +424,7 @@ $tag_text_color: #5b614f; ...@@ -424,7 +424,7 @@ $tag_text_color: #5b614f;
.discussion-reply-new { .discussion-reply-new {
@include discussion-font; @include discussion-font;
margin-left: 5%; margin-left: 68px;
.reply-body { .reply-body {
@include discussion-font; @include discussion-font;
...@@ -500,6 +500,14 @@ $tag_text_color: #5b614f; ...@@ -500,6 +500,14 @@ $tag_text_color: #5b614f;
} }
} }
} }
&.inline-discussion {
.discussion-new-post-inline {
textarea {
}
}
}
} }
//EDITOR STYLES //EDITOR STYLES
...@@ -516,22 +524,44 @@ $tag_text_color: #5b614f; ...@@ -516,22 +524,44 @@ $tag_text_color: #5b614f;
background-color: Silver; background-color: Silver;
} }
.wmd-input .wmd-input {
{
height: 150px; height: 150px;
width: 100%; width: 100%;
background-color: Gainsboro; background-color: #e9e9e9;
border: 1px solid DarkGray; border: 1px solid #c8c8c8;
font: inherit; font-family: Monaco, 'Lucida Console', monospace;
font-style: normal;
font-size: 12px;
@include border-radius(3px 3px 0 0);
@include box-shadow(none);
} }
.wmd-preview .wmd-preview {
{ position: relative;
background-color: #c0e0ff; font-family: $sans-serif;
padding: 25px 20px 10px 20px;
box-sizing: border-box;
border: 1px solid #c8c8c8;
border-top-width: 0;
@include border-radius(0 0 3px 3px);
&:before {
content: 'PREVIEW';
position: absolute;
top: 3px;
left: 5px;
font-size: 11px;
color: #bbb;
}
p {
font-family: $sans-serif;
}
background-color: #fafafa;
} }
.wmd-button-row .wmd-button-row {
{
position: relative; position: relative;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
......
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
<section class="discussion inline-discussion" _id="${discussion_id}"> <section class="discussion inline-discussion" _id="${discussion_id}">
<div class="discussion-non-content"> <div class="discussion-non-content">
<div class="search-wrapper-inline search-wrapper"> <div class="discussion-new-post-inline">
<%include file="_search_bar.html" />
</div> </div>
<div class="discussion-new-post control-button" href="javascript:void(0)">New Post</div>
<%include file="_sort.html" />
</div> </div>
<div class="threads"> <div class="threads">
% for thread in threads: % for thread in threads:
......
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