From cc68b885a3334454e768578712b721abae996d85 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 30 May 2016 22:15:17 +0200 Subject: [PATCH] Fix minor css errors --- htdocs/adherents/stats/index.php | 2 +- htdocs/societe/index.php | 2 +- htdocs/theme/eldy/style.css.php | 15 ++++++++------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php index 83ceea04698..6acdd1e56b7 100644 --- a/htdocs/adherents/stats/index.php +++ b/htdocs/adherents/stats/index.php @@ -176,7 +176,7 @@ print ''.$langs->trans("AmountAverage").''; print ''; $oldyear=0; -$var=false; +$var=true; foreach ($data as $val) { $year = $val['year']; diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 98ee42afc57..1cc44777438 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -77,7 +77,7 @@ if (count($listofsearchfields)) $i=0; foreach($listofsearchfields as $key => $value) { - if ($i == 0) print ''.$langs->trans("Search").''; + if ($i == 0) print ''.$langs->trans("Search").''; print ''; print ':'; if ($i == 0) print ''; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 1a26d4e3617..a75c808b69d 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1786,7 +1786,7 @@ a.tabTitle { a.tab:link, a.tab:visited, a.tab:hover, a.tab#active { font-family: ; - padding: 7px 9px 7px; + padding: 8px 9px 8px; margin: 0em 0.2em; text-decoration: none; white-space: nowrap; @@ -2234,9 +2234,10 @@ table.liste tr, table.noborder tr, div.noborder form { border-top-color: #FEFEFE; min-height: 20px; } -table.liste th, table.noborder th { +table.liste th, table.noborder th, table.noborder tr.liste_titre td, table.noborder tr.box_titre td { padding: 10px 2px 10px 3px; /* t r b l */ } +tr.box_titre .nobordernopadding td { padding: 0px ! important; } table.liste td, table.noborder td, div.noborder form, div.noborder form div { padding: 5px 2px 5px 3px; /* t r b l */ } @@ -2732,11 +2733,11 @@ tr.box_titre { /* TO MATCH ELDY */ - background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.3) 100%); - background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.3) 100%); - background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.3) 100%); - background-image: -ms-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.3) 100%); - background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.3) 100%); + background-image: -o-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.4) 100%); + background-image: -moz-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.4) 100%); + background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.4) 100%); + background-image: -ms-linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.4) 100%); + background-image: linear-gradient(bottom, rgba(0,0,0,0.1) 0%, rgba(,0.4) 100%); background: rgb();