From 606cf267f6791a5cf2d75714df1141380b0cd214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 23 Jun 2021 18:55:14 +0200 Subject: [PATCH] Use Font Awesome icons on related content actions We've deprecated the "icons" font since we started using Font Awesome two years ago. --- app/assets/stylesheets/layout.scss | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 7189221bd..989393027 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2529,33 +2529,16 @@ table { a { font-weight: bold; margin-right: $line-height; - padding-left: rem-calc(20); - position: relative; text-decoration: none; - &.score-positive::before, - &.score-negative::before { - font-family: "icons"; - left: 0; - position: absolute; - } - &.score-positive { + @include has-fa-icon(check, solid); color: $color-success; - - &::before { - color: $color-success; - content: "\6c"; - } } &.score-negative { + @include has-fa-icon(times, solid); color: $color-alert; - - &::before { - color: $color-alert; - content: "\76"; - } } } }