Comments: Capitalize actions and color Reply

This commit is contained in:
Pablo Vazquez 2017-09-25 01:24:30 +02:00
parent 4eeccb6107
commit 8fd577c733
2 changed files with 11 additions and 7 deletions

View File

@ -262,17 +262,20 @@ $comments-width-max: 710px
content: '\e838' content: '\e838'
/* Reply button */ /* Reply button */
.comment-action-reply
color: $color-primary
.comment-action-reply, .comment-action-reply,
.comment-action-edit .comment-action-edit
padding-left: 10px padding-left: 10px
margin-left: 10px margin-left: 10px
color: $color-text-dark-secondary
&:before &:before
color: $color-text-dark-secondary
content: '·' content: '·'
position: relative
left: -10px
font-weight: 600 font-weight: 600
left: -10px
position: relative
span span
cursor: pointer cursor: pointer

View File

@ -25,17 +25,18 @@
| {% endif %} | {% endif %}
.comment-action-reply(title="Reply to this comment") .comment-action-reply(title="Reply to this comment")
span reply span Reply
| {% if comment._is_own %} | {% if comment._is_own %}
.comment-action-edit .comment-action-edit
span.edit_mode(title="Edit comment") edit span.edit_mode(title="Edit comment")
| Edit
span.edit_save(title="Save comment") span.edit_save(title="Save comment")
i.pi-check i.pi-check
| save changes | Save Changes
span.edit_cancel(title="Cancel changes") span.edit_cancel(title="Cancel changes")
i.pi-cancel i.pi-cancel
| cancel | Cancel
| {% endif %} | {% endif %}
.comment-time .comment-time