From c8f9f0d23ad5a460aa26e96d43573be094a05868 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 28 Dec 2014 17:04:31 +0000 Subject: [PATCH] Misc CSS tweaks. Added bottom margin to lists, added styling for standard tables. --- resources/report/css/style.css | 22 ++++++++++++++++++---- resources/report/html/editable-table.html | 11 ++--------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/resources/report/css/style.css b/resources/report/css/style.css index 51309438..8278afef 100644 --- a/resources/report/css/style.css +++ b/resources/report/css/style.css @@ -270,12 +270,11 @@ paper-item > a:hover { text-align: right; padding-left: 16px; } -ul { - margin-top: 8px; - margin-bottom: 0; +ul, ol { + margin: 8px 0; } #main li { - padding:8px 16px; + padding: 8px 16px; } li p { margin: 0; @@ -326,3 +325,18 @@ paper-progress { background: rgba(0, 0, 0, 0.12); margin-top: -1px; } + +/* Tables */ +html /deep/ table { + border-collapse: collapse; + width: 100%; + background-color: #E8EAF6; +} +html /deep/ table td, table th { + vertical-align: top; + text-align: left; + padding: 8px 16px; +} +html /deep/ table th { + border-bottom: 1px solid rgba(0, 0, 0, 0.12); +} diff --git a/resources/report/html/editable-table.html b/resources/report/html/editable-table.html index 8c31cabd..d88a81fb 100644 --- a/resources/report/html/editable-table.html +++ b/resources/report/html/editable-table.html @@ -84,18 +84,11 @@