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'
/* Reply button */
.comment-action-reply
color: $color-primary
.comment-action-reply,
.comment-action-edit
padding-left: 10px
margin-left: 10px
color: $color-text-dark-secondary
&:before
color: $color-text-dark-secondary
content: '·'
position: relative
left: -10px
font-weight: 600
left: -10px
position: relative
span
cursor: pointer

View File

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