From 64bb8e084d56712426a580424bbea10580ed97dc Mon Sep 17 00:00:00 2001 From: Rachel Kim Date: Wed, 4 Mar 2020 01:37:23 -0500 Subject: [PATCH] Revamped results UI --- cce_search/static/styles.css | 58 +++++----- cce_search/templates/base.html | 4 +- cce_search/templates/search/cceid.html | 6 +- cce_search/templates/search/index.html | 7 +- .../templates/search/new_registration.html | 103 ++++++++++++++++++ cce_search/templates/search/new_renewal.html | 51 +++++++++ cce_search/templates/search/paging.html | 4 +- .../search/render_child_renewal.html | 12 +- .../templates/search/render_registration.html | 9 +- 9 files changed, 201 insertions(+), 53 deletions(-) create mode 100644 cce_search/templates/search/new_registration.html create mode 100644 cce_search/templates/search/new_renewal.html diff --git a/cce_search/static/styles.css b/cce_search/static/styles.css index e0fffff..299ff24 100644 --- a/cce_search/static/styles.css +++ b/cce_search/static/styles.css @@ -12,13 +12,13 @@ body, html { text-align: center; width: 60%; padding: 20px 30px; + text-align: center; } .content p { line-height: 1.5em; margin-left:auto; margin-right:auto; - /* width: 75%; */ } #cprr { @@ -26,16 +26,14 @@ body, html { } input { - width: 75%; + width: 85%; height:30px; padding-left: 5px; margin-bottom:10px; } -button{ - width: 10%; - border-radius: 5px; - margin-top:10px; +.btn{ + margin-top: 0.75em } .header { @@ -48,36 +46,15 @@ button{ top: 0; } -.totheleft{ - float:left; - color:white; - font-size:40px; - text-align:center; - padding: 10px 10px; - text-decoration: none; -} -.totheright { - float:right; - color:white; - font-size:20px; - text-align:center; - padding: 20px 20px; - text-decoration: none; -} - -.totheright a { - color:white; - text-decoration:none; - padding-right: 15px -} - /* FOR THE RESULTS PAGE */ .results { /* position:relative; */ - width: 80%; + width: 70%; margin-left:auto; margin-right:auto; + margin-top: 1em; + margin-bottom: 1em; padding: 30px 20px; /* padding-top:10%; */ background-color:#E4E6E9; @@ -85,6 +62,27 @@ button{ border-radius: 46px; } +h3 { + margin-bottom: 1rem; +} + +ul { + margin-bottom: 0; +} + +.results p { + margin: 0; +} + +th { + width: 20%; +} + +.table-bordered td, .table-bordered th { + border: 2px solid black; + background-color: white; +} + .title { width: fit-content; margin-left:auto; diff --git a/cce_search/templates/base.html b/cce_search/templates/base.html index 29eccde..09c1f2f 100644 --- a/cce_search/templates/base.html +++ b/cce_search/templates/base.html @@ -33,7 +33,7 @@ Search