From ed88a4c398b981e9f6bce8b06f4888c6245b828d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Dec 2015 21:38:04 +0100 Subject: [PATCH] Fix css --- htdocs/index.php | 20 +++++++++++--------- htdocs/theme/eldy/style.css.php | 15 ++++++++++++--- htdocs/theme/md/style.css.php | 13 +++++++++++++ 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/htdocs/index.php b/htdocs/index.php index 94445337720..8bc704520ca 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -287,12 +287,10 @@ if (empty($user->societe_id)) $var=!$var; if (!empty($langfile[$key])) $langs->load($langfile[$key]); $text=$langs->trans($titres[$key]); - print ''; + print ''; print '
'; print img_object("",$icons[$key]).' '.$text.'
'; - //print '
'; - //print ''; - print $board->nb[$val]; + print ''.$board->nb[$val].''; print '
'; print ''; } @@ -454,13 +452,17 @@ foreach($valid_dashboardlines as $board) { $var=!$var; print ''.$board->img.''.$board->label.''; - print ''.$board->nbtodo.''; + print ''.$board->nbtodo.''; print ''; - print ''; - print $board->nbtodolate; - print ''; + //if ($board->nbtodolate > 0) + //{ + print ''; + print $board->nbtodolate; + print ''; + //} + print ''; print ''; - if ($board->nbtodolate > 0) print img_picto($langs->trans("NActionsLate",$board->nbtodolate),"warning"); + if ($board->nbtodolate > 0) print img_picto($langs->trans("NActionsLate",$board->nbtodolate).' (>'.ceil($board->warning_delay).' '.$langs->trans("days").')',"warning"); else print ' '; print ''; print ''; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index a83f3430bc4..d17cd7aec1f 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -2323,8 +2323,6 @@ div.pagination li.paginationafterarrows { { background: rgb() !important; - - /* background: rgba(0, 0, 0, 0.05) !important; */ } @@ -2524,9 +2522,20 @@ div.tabBar .noborder { border-radius: 4px; } .boxstats:hover { + + background: rgb() !important; + background-color: #; + +} +span.boxstatsindicator { + font-size: 110%; + font-weight: bold; +} +span.dashboardlineindicator, span.dashboardlineindicatorlate { + font-size: 120%; + font-weight: bold; } - .boxtable { -moz-box-shadow: 3px 3px 4px #DDD; -webkit-box-shadow: 3px 3px 4px #DDD; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index ad4237dc769..453365f3908 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2349,9 +2349,22 @@ div.tabBar .noborder { border: 1px solid #AAA; text-align: center; border-radius: 2px; + min-height: 38px; } .boxstats:hover { + + background: rgb() !important; + background-color: #; + +} +span.boxstatsindicator { + font-size: 110%; + font-weight: bold; +} +span.dashboardlineindicator, span.dashboardlineindicatorlate { + font-size: 120%; + font-weight: bold; } .boxtable {