From ca54d5ffad34ba8b15fd135a54ef7cfcebdaad37 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 17 Dec 2016 13:43:11 +0000 Subject: [PATCH] changed the style of the log side bar in the project home view --- codepot/src/codepot/views/project_home.php | 6 ++---- codepot/src/css/project.css | 17 +++++++++++++---- codepot/src/css/site.css | 4 ++-- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index c289bcd2..38dd37a4 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -240,8 +240,7 @@ foreach ($urls as $url) print ''; - print ''; - print ''; + print ''; print ''; if ($log['action'] == 'revpropchange') { @@ -311,8 +310,7 @@ foreach ($urls as $url) print ''; print ''; - print ''; - print ''; + print ''; print ''; $fmt = $this->lang->line ( 'MSG_LOG_'.strtoupper($log['action']).'_BY'); diff --git a/codepot/src/css/project.css b/codepot/src/css/project.css index bb21a83f..71ae5eea 100644 --- a/codepot/src/css/project.css +++ b/codepot/src/css/project.css @@ -10,18 +10,23 @@ color: #1C94C4; } +#project_home_sidebar_log_table { + width: 100%; +} + #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 { 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 { - width: 1%; white-space: nowrap; } @@ -33,6 +38,10 @@ 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 { font-style: italic; } diff --git a/codepot/src/css/site.css b/codepot/src/css/site.css index c4579e4b..4c0cac3c 100644 --- a/codepot/src/css/site.css +++ b/codepot/src/css/site.css @@ -17,8 +17,8 @@ } #site_home_sidebar_log_table tr.odd td { - padding-top: 6px; - padding-bottom: 6px; + padding-top: 5px; + padding-bottom: 5px; } #site_home_sidebar_log_table tr.odd td.date {