Commit 4f6facbd authored by catch's avatar catch

Issue #1811128 by mgifford, sebsebseb123, mparker17: Fixed No table header on install requirements.

parent bb618586
......@@ -2267,7 +2267,9 @@ function theme_status_report($variables) {
'class' => 'error',
),
);
$output = '<table class="system-status-report"><tbody>';
$output = '<table class="system-status-report"><thead><tr class="element-invisible">';
$output .= '<th>' . t('Status') . '</th><th>' . t('Component') . '</th><th>' . t('Details') . '</th>';
$output .= '</tr></thead><tbody>';
foreach ($requirements as $requirement) {
if (empty($requirement['#type'])) {
......
......@@ -430,7 +430,8 @@ table {
width: 100%;
font-size: 0.923em;
margin: 0 0 10px;
border: 1px solid #bebfb9;
border-right: 1px solid #bebfb9;
border-bottom: 1px solid #bebfb9;
}
table td,
table th {
......@@ -498,7 +499,12 @@ table tr.selected td {
}
table.system-status-report tr {
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
border-left: 1px solid #bebfb9;
border-bottom: inherit;
}
table.system-status-report tr:first-child {
border-top: 1px solid #bebfb9;
}
table.system-status-report tr.ok {
color: #255b1e;
......@@ -513,15 +519,6 @@ table.system-status-report tr.error {
background-color: #fef5f1;
}
/**
* Exception for webkit bug with the right border of the last cell
* in some tables, since it's webkit only, we can use :last-child
*/
tr td:last-child {
border-right: 1px solid #bebfb9; /* LTR */
}
/**
* Responsive tables.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment