From 37d43fa9095a43f7610428b2912515ef2e635b54 Mon Sep 17 00:00:00 2001 From: dimitrieh Date: Tue, 3 Jan 2017 15:45:11 +0100 Subject: [PATCH] fix rake scss linting errors --- app/assets/stylesheets/framework/animations.scss | 4 ++-- app/assets/stylesheets/pages/labels.scss | 4 ++-- app/assets/stylesheets/pages/search.scss | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/framework/animations.scss b/app/assets/stylesheets/framework/animations.scss index 572bb51e24b..2f7fda5cb21 100644 --- a/app/assets/stylesheets/framework/animations.scss +++ b/app/assets/stylesheets/framework/animations.scss @@ -84,9 +84,9 @@ @for $i from 1 through length($defaultProperties) { $p: null; @if $i <= length($transition) { - $p: nth($transition, $i) + $p: nth($transition, $i); } @else { - $p: nth($defaultProperties, $i) + $p: nth($defaultProperties, $i); } $unfoldedTransition: append($unfoldedTransition, $p); } diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index 01473bd3855..689de841cbd 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -108,7 +108,7 @@ border-radius: $label-border-radius; &:hover { - box-shadow: inset 0 0 0 80px rgba(0,0,0,0.1); + box-shadow: inset 0 0 0 80px $label-remove-border; } } @@ -209,7 +209,7 @@ padding: 6px 10px 6px 9px; &:hover { - box-shadow: inset 0 0 0 80px rgba(0,0,0,0.1); + box-shadow: inset 0 0 0 80px $label-remove-border; } } diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss index e524872ff3a..12bff32bbf3 100644 --- a/app/assets/stylesheets/pages/search.scss +++ b/app/assets/stylesheets/pages/search.scss @@ -25,7 +25,7 @@ textarea:hover, } input[type="checkbox"]:hover { - box-shadow: 0 0 2px 2px rgba(153, 212, 247, 0.4), 0 0 0 1px rgba(153, 212, 247, 0.4); + box-shadow: 0 0 2px 2px lighten($search-input-focus-shadow-color, 20%), 0 0 0 1px lighten($search-input-focus-shadow-color, 20%); } .search {