From 5ce7e7009797cb1710e59a2b896b21603fc255a4 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sun, 13 Mar 2016 14:37:39 +0100
Subject: [PATCH] Clean css

---
 htdocs/comm/index.php             |   2 +-
 htdocs/index.php                  |   2 +-
 htdocs/theme/eldy/img/warning.png | Bin 480 -> 392 bytes
 htdocs/theme/eldy/style.css.php   |  18 +++++++++++-------
 4 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index 2e504e699fb..517cd58ca52 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -119,7 +119,7 @@ if (count($listofsearchfields))
 		if ($i == 0) print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("Search").'</td></tr>';
 		print '<tr '.$bc[false].'>';
 		print '<td class="nowrap"><label for="'.$key.'">'.$langs->trans($value["text"]).'</label>:</td><td><input type="text" class="flat" name="'.$key.'" id="'.$key.'" size="18"></td>';
-		if ($i == 0) print '<td rowspan="'.count($listofsearchfields).'"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td>';
+		if ($i == 0) print '<td class="noborderbottom" rowspan="'.count($listofsearchfields).'"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td>';
 		print '</tr>';
 		$i++;
 	}
diff --git a/htdocs/index.php b/htdocs/index.php
index bf285beccd3..3fa01b5cc98 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -541,7 +541,7 @@ foreach($valid_dashboardlines as $board)
     
     if ($showweather)
     {
-        $boxwork.='<td class="nohover hideonsmartphone" rowspan="'.$rowspan.'" width="80" style="border-left: 1px solid #DDDDDD" align="center">';
+        $boxwork.='<td class="nohover hideonsmartphone noborderbottom" rowspan="'.$rowspan.'" width="80" style="border-left: 1px solid #DDDDDD" align="center">';
         $text='';
         if ($totallate > 0) $text=$langs->transnoentitiesnoconv("WarningYouHaveAtLeastOneTaskLate").' ('.$langs->transnoentitiesnoconv("NActionsLate",$totallate).')';
         $options='height="64px"';
diff --git a/htdocs/theme/eldy/img/warning.png b/htdocs/theme/eldy/img/warning.png
index f1b93b8cc8267b6299f2b299726e05ca560ac881..9ec45736b054e87b7c15ec72a3658bc2a6c16040 100644
GIT binary patch
literal 392
zcmV;30eAk1P)<h;3K|Lk000e1NJLTq000sI000sQ1^@s6R?d!B00006VoOIv0N((S
z000g*fiM67010qNS#tmY3ljhU3ljkVnw%H_000McNliru-wXs28WhlbC$s<n0ToF^
zK~y-)&6B-KLqQOQziX1pMwCH=`UGkGsZxlfQP4)Qm^x^kMC}ASjiolJW22C#81M-~
zz!%U)2|hz?CUCv(HCYRBVAz?nvxk|pyYN?LDrHkCPpT_U!PNmqz|l`dGZVVm0(O91
zkK>6<r39P-v+k#kMR!yM4pRA{W6?y90qh})$W(5CWl!(i0ai?<9XgW)NGiY+Fz?W+
zudlv-0Nb_R@Hw|5Qz-z=6iLVyfQHxRzM~3I&tT^Pvbw*oK_1b41{(pbR6LfV1ayJT
zZ=;#Y39uf}aLzre=Z2{qe-YbMmViF67#L%GW39m68?aXE4c`+}Nq{Th;+OyW8n`U_
mE$jg=u0xC^z&>!xzq3!SJv3GMxo~Fy0000<MNUMnLSTZf@S0Zu

literal 480
zcmWlVF=!KE7>57Q!K2W6f<h`nNh9bvNYX7`Oper=P+~YUWm3<Yp-_|)I|R{428Ap_
zP=_l{Hzv5;c<R!BQ1}OjFIDgZiTFV&d@9HfRs6jU@B8w>%frX}wAomjn>{@%gqW*c
zsd{P7AIX|Y{rvMUQz0@Zn(M7qqYbG<f>Mx3DV36tdJ<sdtC0tB5fTRy8>E2PRwJL8
zA@-04hBuko%=J;23&WDp!Wh9?sF6*ScDjgtg8@NXlN)udaF8`DG^d3UQbN)v)o1WE
zx0Q4dikfY$Emjsn#IlbNFa=@gM8lFX7NdZ~Lj;Bt+x9%$t-FSE#6^MusZEV_CzmUh
z9L6H1K-t%fC<By!;5)wWka7tUf{4J!#3KkP#mTP5h+)X2Kn8?yd|~$>-6(U<Yg`lM
z?|Zk?<3X)jX;~BhRyi}U-|v4uc6NMeGPApJXUodxr=2&a3R_~j*0?X@=J;IR`n&PT
z`nt00zMC&h_IC;|w-0I2o;-Q>v$vF=ZeNts@_41?%-F9w!``p#+vOhxym|7`-O9(S
s3k!QU4j!%#7JHW~-~O4-;hz^7@q6dY@ekS8OX(w`w%VwU-RqD40~M+QAOHXW

diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index d320759a879..98224a323f3 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -2156,11 +2156,11 @@ table.liste, table.noborder, table.formdoc, div.noborder {
 
 	margin: 0px 0px 5px 0px;
 
-	-moz-box-shadow: 2px 2px 4px #CCC;
+/*	-moz-box-shadow: 2px 2px 4px #CCC;
 	-webkit-box-shadow: 2px 2px 4px #CCC;
 	box-shadow: 2px 2px 4px #CCC;
 
-/*	-moz-border-radius: 0.2em;
+	-moz-border-radius: 0.2em;
 	-webkit-border-radius: 0.2em;
 	border-radius: 0.2em;*/
 }
@@ -2226,7 +2226,7 @@ div.refidpadding  {
 }
 div.refid  {
 	font-weight: bold;
-  	color: #766;
+  	color: #866;
   	font-size: 160%;
 }
 div.refidno  {
@@ -2637,9 +2637,9 @@ span.dashboardlineko {
 	font-weight: bold;
 }
 .boxtable {
-    -moz-box-shadow: 3px 3px 4px #DDD;
+/*    -moz-box-shadow: 3px 3px 4px #DDD;
     -webkit-box-shadow: 3px 3px 4px #DDD;
-    box-shadow: 3px 3px 4px #DDD;
+    box-shadow: 3px 3px 4px #DDD; */
     margin-bottom: 8px !important;
 }
 
@@ -2647,7 +2647,7 @@ span.dashboardlineko {
 .box {
     padding-right: 0px;
     padding-left: 0px;
-    padding-bottom: 4px;
+    padding-bottom: 12px;
 }
 
 tr.box_titre {
@@ -2697,9 +2697,13 @@ tr.box_pair {
 
 tr.box_pair td, tr.box_impair td {
 	padding: 4px;
+}
+tr.box_pair:not(:last-child) td, tr.box_impair:not(:last-child) td {
     border-bottom: 1px solid #ddd;
 }
-
+.noborderbottom {
+	border-bottom: none !important;
+}
 .formboxfilter {
 	vertical-align: middle;
 	margin-bottom: 6px;
-- 
GitLab