changed the style of log sidebar in the site home view

This commit is contained in:
hyung-hwan 2016-12-17 13:32:45 +00:00
parent d86921ba28
commit 89e186898b
2 changed files with 13 additions and 9 deletions

View File

@ -383,8 +383,7 @@ $this->load->view (
print '<tr class="even">'; print '<tr class="even">';
print '<td></td>'; print '<td colspan="3" class="details">';
print '<td colspan="2" class="details">';
print '<span class="description">'; print '<span class="description">';
$xauthor = $this->converter->AsciiToHex($x['author']); $xauthor = $this->converter->AsciiToHex($x['author']);
@ -466,8 +465,7 @@ $this->load->view (
print '</tr>'; print '</tr>';
print '<tr class="even">'; print '<tr class="even">';
print '<td></td>'; print '<td colspan="3" class="details">';
print '<td colspan="2" class="details">';
print '<span class="description">'; print '<span class="description">';
$fmt = $this->lang->line ( $fmt = $this->lang->line (
'MSG_LOG_'.strtoupper($log['action']).'_BY'); 'MSG_LOG_'.strtoupper($log['action']).'_BY');

View File

@ -10,22 +10,22 @@
} }
#site_home_sidebar_log_table td { #site_home_sidebar_log_table td {
padding-left: 0.5em;
padding-top: 0.25em;
padding-bottom: 0.25em;
} }
#site_home_sidebar_log_table tr.odd { #site_home_sidebar_log_table tr.odd {
background-color: #bbccef; background-color: #bbccef;
} }
#site_home_sidebar_log_table tr.odd td {
padding-top: 6px;
padding-bottom: 6px;
}
#site_home_sidebar_log_table tr.odd td.date { #site_home_sidebar_log_table tr.odd td.date {
width: 1%;
white-space: nowrap; white-space: nowrap;
} }
#site_home_sidebar_log_table tr.odd td.project { #site_home_sidebar_log_table tr.odd td.project {
width: 1%;
white-space: nowrap; white-space: nowrap;
} }
@ -35,6 +35,12 @@
#site_home_sidebar_log_table tr.even { #site_home_sidebar_log_table tr.even {
background-color: inherit; background-color: inherit;
padding-top: 2px;
padding-bottom: 2px;
}
#site_home_sidebar_log_table tr.even td.details {
padding-left: 2em;
} }
#site_home_sidebar_log_table tr.even td.details .description { #site_home_sidebar_log_table tr.even td.details .description {