diff --git a/app/assets/stylesheets/debates.scss b/app/assets/stylesheets/debates.scss index 641e7ccff..5017837bc 100644 --- a/app/assets/stylesheets/debates.scss +++ b/app/assets/stylesheets/debates.scss @@ -574,6 +574,8 @@ padding: rem-calc(6) rem-calc(12); } + + &.is-admin { background: $comment-admin; padding: rem-calc(6) rem-calc(12); @@ -585,6 +587,12 @@ } } + .is-deleted { + background: $deleted; + margin-left: rem-calc(42); + padding: rem-calc(6) rem-calc(12); + } + .comment-children { border-left: 1px dashed $border; margin-left: rem-calc(42); diff --git a/app/assets/stylesheets/participacion.scss b/app/assets/stylesheets/participacion.scss index 116b57ff8..68b236781 100644 --- a/app/assets/stylesheets/participacion.scss +++ b/app/assets/stylesheets/participacion.scss @@ -801,6 +801,10 @@ img.initialjs-avatar { background: $association; } +.is-deleted { + background: $deleted; +} + .level-1 { background: $level-1; } diff --git a/app/assets/stylesheets/variables.scss b/app/assets/stylesheets/variables.scss index 6240702d2..1954de5bd 100644 --- a/app/assets/stylesheets/variables.scss +++ b/app/assets/stylesheets/variables.scss @@ -76,6 +76,7 @@ $level-5: #F08A24; $author: #008CCF; $association: #C0392B; +$deleted: #E7E7E7; $comment-author: rgba(45,144,248,.15); $comment-level-5: rgba(255,241,204,1); diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 5ffff4a85..9052bc7cd 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -1,8 +1,10 @@
<%= t("debates.comment.deleted") %>
+