From 8d469c10043b8fe8d004f0de5dab212af3eb11f9 Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 15 Jan 2018 21:40:56 +0100 Subject: [PATCH] fixes lint scss warnings --- app/assets/stylesheets/layout.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 6ab56b14d..854d6b1e6 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -2428,10 +2428,6 @@ table { margin-bottom: 0 !important; padding: $line-height / 2; - &:first-child { - border-top: 1px solid $border; - } - @include breakpoint(medium) { .score-actions { @@ -2440,6 +2436,10 @@ table { } } + &:first-child { + border-top: 1px solid $border; + } + &:hover { background: #f9f9f9; @@ -2479,8 +2479,8 @@ table { position: relative; text-decoration: none; - &.score-positive:before, - &.score-negative:before { + &.score-positive::before, + &.score-negative::before { font-family: 'icons'; left: 0; position: absolute; @@ -2489,7 +2489,7 @@ table { &.score-positive { color: $color-success; - &:before { + &::before { color: $color-success; content: '\6c'; } @@ -2498,7 +2498,7 @@ table { &.score-negative { color: $color-alert; - &:before { + &::before { color: $color-alert; content: '\76'; }