From de0249d95d57f22fd84746975dbb3123f7ed1750 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 4 Jan 2015 19:58:44 +0000 Subject: [PATCH] Improved table heading padding. For settings table and editor tables. Closes #378. --- resources/report/css/style.css | 2 +- resources/report/html/editable-table.html | 5 ++++- resources/report/html/loot-plugin-editor.html | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/resources/report/css/style.css b/resources/report/css/style.css index e01ad8fb..85e7b1b9 100644 --- a/resources/report/css/style.css +++ b/resources/report/css/style.css @@ -209,7 +209,7 @@ html /deep/ table { width: 100%; background-color: #E8EAF6; } -html /deep/ table td, table th { +html /deep/ table td, html /deep/ table th { vertical-align: top; text-align: left; padding: 8px 16px; diff --git a/resources/report/html/editable-table.html b/resources/report/html/editable-table.html index ea4317e9..9b7c3396 100644 --- a/resources/report/html/editable-table.html +++ b/resources/report/html/editable-table.html @@ -123,9 +123,12 @@ html /deep/ table[is=editable-table] { background-color: inherit; } -html /deep/ table[is=editable-table] td, table[is=editable-table] th { +html /deep/ table[is=editable-table] td { padding: 0; } +html /deep/ table[is=editable-table] th { + padding: 0 4px; +} html /deep/ table[is=editable-table] paper-icon-button { color: rgba(0, 0, 0, 0.54); } diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html index be0beffd..9ac52e69 100644 --- a/resources/report/html/loot-plugin-editor.html +++ b/resources/report/html/loot-plugin-editor.html @@ -112,6 +112,10 @@ loot-editor-close padding: 16px; overflow: hidden; } + core-selector > div > table[is=editable-table] th { + padding-top: 8px; + padding-bottom: 8px; + }