From c685fd2f2e0e9bb1709bdaf923dd45ee44c807ad Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sun, 19 Feb 2012 15:40:13 +0100
Subject: [PATCH] Fix: Add style nohover to avoid having meteo with hover.

---
 htdocs/index.php                       |  4 ++--
 htdocs/theme/bureau2crea/style.css.php | 20 +++++++++++++-------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/htdocs/index.php b/htdocs/index.php
index 4ede8a6d8cc..e5d64da0357 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -1,6 +1,6 @@
 <?php
 /* Copyright (C) 2001-2004	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
- * Copyright (C) 2004-2011	Laurent Destailleur		<eldy@users.sourceforge.net>
+ * Copyright (C) 2004-2012	Laurent Destailleur		<eldy@users.sourceforge.net>
  * Copyright (C) 2005-2012	Regis Houssin			<regis@dolibarr.fr>
  * Copyright (C) 2011   	Juanjo Menent			<jmenent@2byte.es>
  *
@@ -500,7 +500,7 @@ foreach($dashboardlines as $key => $board)
     print '</td>';
     if ($showweather)
     {
-        print '<td rowspan="'.$rowspan.'" width="80" style="border-left: 1px solid #DDDDDD" align="center">';
+        print '<td class="nohover" 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/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index 85f5bff41f4..aedca9ca894 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -1363,7 +1363,8 @@ table.noborder {
 
 tr.liste_titre {
     height: 25px;
-    background-repeat: repeat-x;
+    background-repeat: no-repeat;
+    background-color: #C8C8C8;
     color: #333333;
     font-family: <?php print $fontlist ?>;
     font-weight: normal;
@@ -1462,7 +1463,6 @@ padding: 5px;
 }
 
 .impair {
-/* background: #d0d4d7; */
 background: #eaeaea;
 font-family: <?php print $fontlist ?>;
 border: 0px;
@@ -1473,23 +1473,29 @@ background: #c0c4c7;
 border: 0px;
 }
 
+tr.impair td.nohover {
+background: #eaeaea;
+}
 
 .pair	{
-/* background: #e6ebed; */
 background: #FFFFFF;
 font-family: <?php print $fontlist ?>;
 border: 0px;
 }
 
-.pair td, .impair td {
-	padding: 2px 3px !important;
-}
-
 .pair:hover {
 background: #c0c4c7;
 border: 0px;
 }
 
+tr.pair td.nohover {
+background: #FFFFFF;
+}
+
+.pair td, .impair td
+{
+	padding: 2px 3px !important;
+}
 
 
 /*
-- 
GitLab