From 8fd577c73333429ba0201a4629c56788c21123d0 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 25 Sep 2017 01:24:30 +0200 Subject: [PATCH] Comments: Capitalize actions and color Reply --- src/styles/_comments.sass | 9 ++++++--- src/templates/nodes/custom/comment/_macros.pug | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/styles/_comments.sass b/src/styles/_comments.sass index 1c9ab39c..365f6f3a 100644 --- a/src/styles/_comments.sass +++ b/src/styles/_comments.sass @@ -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 diff --git a/src/templates/nodes/custom/comment/_macros.pug b/src/templates/nodes/custom/comment/_macros.pug index 4baca702..9bc36407 100644 --- a/src/templates/nodes/custom/comment/_macros.pug +++ b/src/templates/nodes/custom/comment/_macros.pug @@ -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