From 14fcef8c87a72c6f642605bfd7370d0aa41ba22e Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Tue, 22 Oct 2019 13:38:47 -0400 Subject: [PATCH] Delete redundant css --- styles/components/_portfolio_layout.scss | 76 ------------------------ styles/sections/_application_list.scss | 24 -------- styles/sections/_reports.scss | 1 - templates/applications/settings.html | 3 +- 4 files changed, 1 insertion(+), 103 deletions(-) diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 2ac9c75d..2b4f4358 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -415,82 +415,6 @@ padding: 2 * $gap; padding-top: 0; } - - table { - thead { - th:first-child { - padding-left: 3 * $gap; - } - } - - th { - background-color: $color-gray-lightest; - padding: $gap 2 * $gap; - border-top: none; - border-bottom: none; - color: $color-gray; - - .icon { - margin-left: 1rem; - } - } - - td { - border-bottom: 1px solid $color-gray-lightest; - } - - td.unused-balance { - color: $color-red; - } - - .label--expired { - background-color: $color-gray-light; - } - - .to-performance-period { - display: flex; - flex-wrap: wrap; - - .to-end-date { - margin-right: 1.2rem; - } - - &.to-expiring-soon { - .to-expiration-alert { - font-weight: $font-bold; - font-size: 1.5rem; - word-break: normal; - white-space: normal; - - .icon { - margin-left: 0; - } - } - - &.funded .to-expiration-alert { - color: $color-blue; - - .icon { - @include icon-color($color-blue); - } - } - - &.unfunded { - .to-expiration-alert { - color: $color-red; - } - - .icon { - @include icon-color($color-red); - } - - .to-end-date { - color: $color-red; - } - } - } - } - } } .portfolio-reports { diff --git a/styles/sections/_application_list.scss b/styles/sections/_application_list.scss index 8ab14f0a..8b5bfa94 100644 --- a/styles/sections/_application_list.scss +++ b/styles/sections/_application_list.scss @@ -37,28 +37,4 @@ left: 4px; } } - - table { - thead { - td { - font-weight: bold; - font-size: 1.4rem; - border-top: 0; - } - } - - tbody { - th { - font-weight: bold; - font-size: 1.6rem; - } - - td { - font-size: 1.6rem; - border-bottom: 1px solid $color-gray-lightest; - border-top: 0; - padding: (3 * $gap) (2 * $gap); - } - } - } } diff --git a/styles/sections/_reports.scss b/styles/sections/_reports.scss index 27a1564e..a53e2842 100644 --- a/styles/sections/_reports.scss +++ b/styles/sections/_reports.scss @@ -212,7 +212,6 @@ table { th, td { font-weight: bold; - border-bottom: 1px solid $color-gray-lightest; } } diff --git a/templates/applications/settings.html b/templates/applications/settings.html index 6eaf3bbe..b3a79081 100644 --- a/templates/applications/settings.html +++ b/templates/applications/settings.html @@ -27,8 +27,7 @@ {% else %} - -
+

{{ "fragments.edit_application_form.explain" | translate }}