评论相对于注释要缩进

评论的字体颜色可以设置为浅灰色,以与注释区分
This commit is contained in:
杨树明775174143 2018-10-10 09:17:43 +08:00
parent 5084b75fb6
commit 5aabadc866
4 changed files with 10 additions and 8 deletions

View File

@ -1097,13 +1097,15 @@ pre.prettyprint {
.comment-item {
font-size: 13px;
margin-left: 12px;
width:93%;
margin-left: 56px;
width: 86%;
height: 56px;
margin-bottom: 10px;
border-bottom: 1px solid #eee;
}
.colorgray{
color: #BCC5C5;
}
.comment-name {
font-size: 12px;
text-align: right;
@ -1133,7 +1135,7 @@ pre.prettyprint {
}
.writetext {
width: 91%;
width: 94%;
height: 80px;
border: 1px solid transparent;
border-bottom: 1px solid #eee;

View File

@ -94,7 +94,7 @@
{% endcomment %}
<div class="comment-item fl">
<span class="color-grey-des mr10 colorblack inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
<span class="color-grey-des mr10 colorgray inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
{% if comment.user.nick_name == "" %}
<span class="color-grey-des inlineBlock fr inlineBlockfont">{{comment.user.username}}</span>
{% else %}
@ -173,7 +173,7 @@
</div>
{% endcomment %}
<div class="fl comment-item">
<span class="color-grey-des mr10 colorblack inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
<span class="color-grey-des mr10 colorgray inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
{% if comment.user.nick_name == "" %}
<span class="color-grey-des inlineBlock marbox fr mt11">{{comment.user.username}}</span>
{% else %}

View File

@ -93,7 +93,7 @@
</p>
<textarea id="addno-text-{{file_id}}-0" oninput="Input_file(this,{{file_id}},0)" class="put-text" placeholder="输入注释或者问题"> </textarea>
<a href="#" onclick="add_file_annotation(this,{{file_id}},0)" class="submit fr" id="submit">提交</a>
<a href="#" onclick="add_file_annotation(this,{{file_id}},0)" class="btn btn-blue submit fr" id="submit">提交</a>
</div>
</div>
</p>

View File

@ -7,7 +7,7 @@
</div>
{% endcomment %}
<div class="fl comment-item">
<span class="color-grey-des mr10 colorblack inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
<span class="color-grey-des mr10 colorgray inlineBlock fl ellipsis" title="{{ comment.content }}">{{ comment.content }}</span>
<span class="color-grey-des inlineBlock fr inlineBlockfont">{{ comment.user.nick_name }}</span>
<div class="clear"></div>
</div>