From c3a329a6f6ca68f770c8d92dc634ef50fa2df69c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 29 May 2021 01:39:34 +0200 Subject: [PATCH] Remove unnecessary background color definitions These elements already inherit these background colors form their parent elements. Defining them explicitly makes it harder to change them and it also makes it harder to customize the styles in other CONSUL installations. --- app/assets/stylesheets/admin.scss | 4 ---- app/assets/stylesheets/layout.scss | 3 --- app/assets/stylesheets/legislation.scss | 1 - app/assets/stylesheets/legislation_process.scss | 1 - 4 files changed, 9 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 17a3739d0..f96f375c0 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -509,10 +509,6 @@ code { // 04. Stats // --------- -.stats { - background: #fff; -} - .stats-numbers { p { color: $text-medium; diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 9c9398e60..5dc90f53e 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -345,7 +345,6 @@ a { font-weight: bold; &::after { - background: $brand; border-bottom: 2px solid; bottom: 0; content: ""; @@ -1834,7 +1833,6 @@ table { } .reply { - background: #fff; border: 1px solid $border; border-left: 0; border-right: 0; @@ -2177,7 +2175,6 @@ table { .debates-inner, .proposals-inner, .budget-investments-inner { - background: #fff; max-height: rem-calc(350); @include breakpoint(small) { diff --git a/app/assets/stylesheets/legislation.scss b/app/assets/stylesheets/legislation.scss index 044f969f4..699fe3417 100644 --- a/app/assets/stylesheets/legislation.scss +++ b/app/assets/stylesheets/legislation.scss @@ -40,7 +40,6 @@ // ----------------- .legislation { margin: 0 0 $line-height; - background: #fff; border: 1px solid; border-color: #e5e6e9 #dfe0e4 #d0d1d5; border-radius: 0; diff --git a/app/assets/stylesheets/legislation_process.scss b/app/assets/stylesheets/legislation_process.scss index 119a5bb06..d94e68320 100644 --- a/app/assets/stylesheets/legislation_process.scss +++ b/app/assets/stylesheets/legislation_process.scss @@ -583,7 +583,6 @@ } .calc-comments { - background: #fff; cursor: auto; @include breakpoint(small only) {