From 89f2567961f41887e8cd8d03e56f70b5ba75694a Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 5 May 2010 16:41:57 +0000 Subject: [PATCH] - Patch #783534 by dmitrig01, droplet, Nick Lewis: make Report table better. --- modules/system/system.admin.inc | 4 +-- themes/seven/style.css | 45 +++++++++++---------------------- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 9722664c6ca3..1725598e076e 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -2470,11 +2470,11 @@ function theme_status_report($variables) { // Output table row(s) if (!empty($requirement['description'])) { - $output .= '<tr class="' . $class . ' merge-down"><th>' . $requirement['title'] . '</th><td>' . $requirement['value'] . '</td></tr>'; + $output .= '<tr class="' . $class . ' merge-down"><td>' . $requirement['title'] . '</td><td>' . $requirement['value'] . '</td></tr>'; $output .= '<tr class="' . $class . ' merge-up"><td colspan="2">' . $requirement['description'] . '</td></tr>'; } else { - $output .= '<tr class="' . $class . '"><th>' . $requirement['title'] . '</th><td>' . $requirement['value'] . '</td></tr>'; + $output .= '<tr class="' . $class . '"><td>' . $requirement['title'] . '</td><td>' . $requirement['value'] . '</td></tr>'; } } } diff --git a/themes/seven/style.css b/themes/seven/style.css index 074a06dc4f37..5d971376a41d 100644 --- a/themes/seven/style.css +++ b/themes/seven/style.css @@ -476,7 +476,6 @@ table { margin: 0 0 10px; border: 1px solid #bebfb9; } -table.system-status-report th, table td, table th { vertical-align: middle; @@ -484,33 +483,6 @@ table th { border: 0; color: #000; } -table.system-status-report th { - padding-left: 30px; -} -table.system-status-report tr.ok > * { - background-color: #dfd; -} -table.system-status-report tr.ok.even > * { - background-color: #d3f3d3; -} -table.system-status-report tr.info > * { - background-color: #bdf; -} -table.system-status-report tr.info.even > * { - background-color: #b1d1f1; -} -table.system-status-report tr.warning > * { - background-color: #ffd; -} -table.system-status-report tr.warning.even > * { - background-color: #f2f2d2; -} -table.system-status-report tr.error > * { - background-color: #fdd; -} -table.system-status-report tr.error.even > * { - background-color: #ecc; -} tr.even, tr.odd { border-width: 0 1px 0 1px; @@ -537,7 +509,6 @@ table th { border-color: #bebfb9; padding: 3px 10px; } - table th.active { background: #bdbeb9; } @@ -561,7 +532,21 @@ table tr.selected td { background: #ffc; border-color: #eeb; } - +table.system-status-report tr { + border-bottom: 1px solid #bebfb9; +} +table.system-status-report tr.ok td { + background-color: #dfd; +} +table.system-status-report tr.info td { + background-color: #bdf; +} +table.system-status-report tr.warning td { + background-color: #ffd; +} +table.system-status-report tr.error td { + background-color: #fdd; +} /** * Fieldsets. * -- GitLab