From 143ba490cb1ce3372a8459e6d037ee2c8742c2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 29 Apr 2021 15:49:03 +0200 Subject: [PATCH] Remove redundant CSS color properties Since we were using the color already defined in the `` element, these elements can inherit that color instead of specifying it. --- app/assets/stylesheets/layout.scss | 1 - app/assets/stylesheets/participation.scss | 7 ------- 2 files changed, 8 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 22b2ed2fe..4d4089be6 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -873,7 +873,6 @@ body > header, // ---------- footer { - color: $text; .logo a { font-family: "Lato" !important; diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 9869f18b4..e8199d970 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -149,7 +149,6 @@ } .percentage { - color: $text; font-size: $tiny-font-size; position: absolute; right: 6px; @@ -180,7 +179,6 @@ } .total-supports { - color: $text; display: block; font-weight: bold; text-align: center; @@ -720,7 +718,6 @@ .proposal-description, .investment-project-description, .budget-investment-description { - color: $text; font-size: rem-calc(13); height: rem-calc(72); line-height: $line-height; @@ -742,10 +739,6 @@ position: absolute; width: 100%; } - - p { - color: $text; - } } .divider {