From a5baf967123d16f5872895cf57ea1f82ac0d89ff Mon Sep 17 00:00:00 2001 From: Derek Eder Date: Fri, 7 Jun 2024 15:17:29 -0500 Subject: [PATCH 1/3] add background color to processing div --- chicago/static/css/custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chicago/static/css/custom.css b/chicago/static/css/custom.css index 6a9860d..430052b 100644 --- a/chicago/static/css/custom.css +++ b/chicago/static/css/custom.css @@ -502,6 +502,10 @@ fieldset[disabled] .form-control { background-color: #fff; } +div.dataTables_wrapper div.dataTables_processing { + background-color: #ffffffbb; +} + @media only screen and (max-width: 768px) { /* Force table to not be like tables anymore */ table.rows-and-columns, From 1838bf7e2018cb54f3f3d6e9d1317a632dce0ed9 Mon Sep 17 00:00:00 2001 From: Derek Eder Date: Fri, 7 Jun 2024 15:56:59 -0500 Subject: [PATCH 2/3] rendering donations as cards on mobile --- chicago/static/css/custom.css | 1 + chicago/templates/person.html | 84 +++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 39 deletions(-) diff --git a/chicago/static/css/custom.css b/chicago/static/css/custom.css index 430052b..6433b68 100644 --- a/chicago/static/css/custom.css +++ b/chicago/static/css/custom.css @@ -82,6 +82,7 @@ h4 { border-radius: 0px; padding: 12px 10px 12px 10px; color: #3d8a8e; + border-bottom: 8px solid #ffffff; } .nav-pills > li.active > a, .nav-pills > li.active > a:hover, diff --git a/chicago/templates/person.html b/chicago/templates/person.html index 2a99eb0..4f417a8 100644 --- a/chicago/templates/person.html +++ b/chicago/templates/person.html @@ -214,7 +214,7 @@

Campaign Donations

Explore more campaign donations for {{person.name}} on Illinois Sunshine >

- +
@@ -228,19 +228,6 @@

Campaign Donations

- - - - - - - - - - - - -
Commitee Name Filing
Commitee NameReceived DateAmountTypeDonor NameOccupationEmployerCity, State ZipFiling
{% endif %} @@ -336,42 +323,61 @@

Tools

{% if person.candidate_id %}