From 590f557aaab80da14bf3594e6af6bf3d7270240a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 10 Oct 2022 00:43:58 +0200 Subject: [PATCH] Remove redundant link colors definitions These elements already used these colors because their parent elements already used these colors for links. --- .../stylesheets/admin/budgets/links.scss | 1 - app/assets/stylesheets/layout.scss | 18 +++++------------- app/assets/stylesheets/mixins/icons.scss | 1 - app/assets/stylesheets/participation.scss | 1 - 4 files changed, 5 insertions(+), 16 deletions(-) diff --git a/app/assets/stylesheets/admin/budgets/links.scss b/app/assets/stylesheets/admin/budgets/links.scss index 3326ba75b..f712aee32 100644 --- a/app/assets/stylesheets/admin/budgets/links.scss +++ b/app/assets/stylesheets/admin/budgets/links.scss @@ -28,7 +28,6 @@ .ballots-link { @include has-fa-icon(archive, solid); - color: $link; } .results-link { diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 6c219fca6..0268a6fca 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -784,21 +784,17 @@ body > header, &:hover { color: $link; } - } - &:focus { - z-index: 1; - } - - &.is-active { - color: #fff; - - @include breakpoint(medium) { + &.is-active { @include brand-text; border-bottom: 2px solid; margin-bottom: 1px; } } + + &:focus { + z-index: 1; + } } .input-group { @@ -1190,10 +1186,6 @@ form { background-color: $info-bg; border-color: $info-border; color: $color-info; - - a { - color: $link !important; - } } &.warning { diff --git a/app/assets/stylesheets/mixins/icons.scss b/app/assets/stylesheets/mixins/icons.scss index 5b68f75a1..e2875c004 100644 --- a/app/assets/stylesheets/mixins/icons.scss +++ b/app/assets/stylesheets/mixins/icons.scss @@ -1620,7 +1620,6 @@ $font-awesome-icons: ( .manage-link { @include has-fa-icon(archive, solid); - color: $link; } .cards-link { diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 26c42511a..37a019244 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -665,7 +665,6 @@ &:hover { background: $budget-hover; - color: #fff; cursor: pointer; }