changed the style of the log side bar in the project home view

This commit is contained in:
hyung-hwan 2016-12-17 13:43:11 +00:00
parent 89e186898b
commit ca54d5ffad
3 changed files with 17 additions and 10 deletions

View File

@ -240,8 +240,7 @@ foreach ($urls as $url)
print '<tr class="even">'; print '<tr class="even">';
print '<td></td>'; print '<td colspan="2" class="details">';
print '<td colspan="1" class="details">';
print '<span class="description">'; print '<span class="description">';
if ($log['action'] == 'revpropchange') if ($log['action'] == 'revpropchange')
{ {
@ -311,8 +310,7 @@ foreach ($urls as $url)
print '</tr>'; print '</tr>';
print '<tr class="even">'; print '<tr class="even">';
print '<td></td>'; print '<td colspan="2" class="details">';
print '<td colspan="1" 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,18 +10,23 @@
color: #1C94C4; color: #1C94C4;
} }
#project_home_sidebar_log_table {
width: 100%;
}
#project_home_sidebar_log_table td { #project_home_sidebar_log_table td {
padding-left: 0.5em;
padding-top: 0.25em;
padding-bottom: 0.25em;
} }
#project_home_sidebar_log_table tr.odd { #project_home_sidebar_log_table tr.odd {
background-color: #bbccef; background-color: #bbccef;
} }
#project_home_sidebar_log_table tr.odd td {
padding-top: 5px;
padding-bottom: 5px;
}
#project_home_sidebar_log_table tr.odd td.date { #project_home_sidebar_log_table tr.odd td.date {
width: 1%;
white-space: nowrap; white-space: nowrap;
} }
@ -33,6 +38,10 @@
background-color: inherit; background-color: inherit;
} }
#project_home_sidebar_log_table tr.even td.details {
padding-left: 2em;
}
#project_home_sidebar_log_table tr.even td.details .description { #project_home_sidebar_log_table tr.even td.details .description {
font-style: italic; font-style: italic;
} }

View File

@ -17,8 +17,8 @@
} }
#site_home_sidebar_log_table tr.odd td { #site_home_sidebar_log_table tr.odd td {
padding-top: 6px; padding-top: 5px;
padding-bottom: 6px; padding-bottom: 5px;
} }
#site_home_sidebar_log_table tr.odd td.date { #site_home_sidebar_log_table tr.odd td.date {