From 8410ad1933d785927eab9c5640c285adb55e8b92 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sun, 16 Jun 2013 12:00:18 +0200
Subject: [PATCH] Fix: CSS

---
 htdocs/theme/amarok/style.css.php      | 12 +++++++++---
 htdocs/theme/auguria/style.css.php     | 10 ++++++++--
 htdocs/theme/bureau2crea/style.css.php | 25 ++++++++++++-------------
 htdocs/theme/cameleo/style.css.php     | 10 ++++++++--
 htdocs/theme/eldy/style.css.php        | 10 ++++++++--
 5 files changed, 45 insertions(+), 22 deletions(-)

diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php
index 4f55463a323..534ba041485 100755
--- a/htdocs/theme/amarok/style.css.php
+++ b/htdocs/theme/amarok/style.css.php
@@ -1204,11 +1204,17 @@ table.liste {
 
 table.liste td {padding:1px 2px 1px 0px;}
 
-tr.liste_titre, tr.liste_titre_sel
+.tagtable { display: table; }
+.tagtable form { display: table-row; }
+.tagtable form div { display: table-cell; }
+.tagtr { display: table-row; }
+.tagtd { display: table-cell; }
+
+tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel
 {
 	height: 22px;
 }
-div.liste_titre, tr.liste_titre, tr.box_titre {
+div.liste_titre, tr.liste_titre, form.liste_titre, tr.box_titre {
 	padding:4px;
 	background-color:rgba(0,0,0,.2);
 	background-image:linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
@@ -1230,7 +1236,7 @@ tr.box_titre td.boxclose {
 	width: 36px;
 }
 
-tr.liste_titre td, tr.liste_titre th {
+tr.liste_titre td, tr.liste_titre th, form.liste_titre div {
 	padding:2px;
 	padding-left:2px !important;
 	white-space:nowrap;
diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php
index dfe178dc0a8..cf14339d58a 100644
--- a/htdocs/theme/auguria/style.css.php
+++ b/htdocs/theme/auguria/style.css.php
@@ -1354,11 +1354,17 @@ table.liste td {
 	padding-right: 2px;
 }
 
-tr.liste_titre, tr.liste_titre_sel
+.tagtable { display: table; }
+.tagtable form { display: table-row; }
+.tagtable form div { display: table-cell; }
+.tagtr { display: table-row; }
+.tagtd { display: table-cell; }
+
+tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel
 {
     height: 24px;
 }
-div.liste_titre, tr.liste_titre
+div.liste_titre, tr.liste_titre, form.liste_titre
 {
     background: #7699A9;
     background-image: url(<?php echo $img_liste_titre ?>);
diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index 9115d071d33..5d3c407bd4a 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -1469,7 +1469,13 @@ table.noborder {
     vertical-align: text-top;
 }
 
-tr.liste_titre {
+.tagtable { display: table; }
+.tagtable form { display: table-row; }
+.tagtable form div { display: table-cell; }
+.tagtr { display: table-row; }
+.tagtd { display: table-cell; }
+
+tr.liste_titre, form.liste_titre {
     height: 25px;
     background-repeat: no-repeat;
     background-color: #C8C8C8;
@@ -1478,10 +1484,7 @@ tr.liste_titre {
     font-weight: normal;
     /* text-decoration: underline; */
     /* border-bottom: 1px solid #FDFFFF; */
-}
-
-tr.liste_titre {
-    background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_centerBlock-title.jpg',1); ?>);
+    background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_centerBlock-title2.jpg',1); ?>);
     background-position: top right;
 }
 
@@ -1489,10 +1492,6 @@ th.liste_titre_sel, td.liste_titre_sel, th.liste_titre {
     color: #FFFFFF !important;
 }
 
-tr.liste_titre {
-    background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_centerBlock-title2.jpg',1); ?>);
-}
-
 tr.liste_total {
 height: 25px;
 border-top: 1px solid #333;
@@ -1501,16 +1500,16 @@ border-top: 1px solid #333;
 div#stats {
 }
 
-div.liste_titre, tr.liste_titre {
+div.liste_titre, tr.liste_titre, form.liste_titre {
     text-align: <?php echo $left; ?>;
 }
 
-div.liste_titre a, tr.liste_titre a {
+div.liste_titre a, tr.liste_titre a, form.liste_titre a {
 	color: #333333;
 	margin: 0px 5px;
 }
 
-div.liste_titre td, tr.liste_titre td {
+div.liste_titre td, tr.liste_titre td, form.liste_titre div {
 	padding: 0px 5px;
     vertical-align: middle;
     background: none !important;
@@ -1526,7 +1525,7 @@ div.liste_titre, th.liste_titre, td.liste_titre
     background: none;
 }
 
-div.liste_titre input.button, tr.liste_titre input.button {
+div.liste_titre input.button, tr.liste_titre input.button, form.liste_titre input.button {
 	float: left;
     position: relative;
     /*margin: 30px 10px 10px 0px;*/
diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php
index 2cf66caa7fe..3f822ec1a09 100644
--- a/htdocs/theme/cameleo/style.css.php
+++ b/htdocs/theme/cameleo/style.css.php
@@ -1439,11 +1439,17 @@ table.liste td {
     padding-right: 2px;
 }
 
-tr.liste_titre, tr.liste_titre_sel
+.tagtable { display: table; }
+.tagtable form { display: table-row; }
+.tagtable form div { display: table-cell; }
+.tagtr { display: table-row; }
+.tagtd { display: table-cell; }
+
+tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel
 {
     height: 20px !important;
 }
-div.liste_titre, tr.liste_titre {
+div.liste_titre, tr.liste_titre, form.liste_titre {
     color: #842F00;
     font-weight: bold;
     font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 8d136c10055..c05655c4410 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -1668,11 +1668,17 @@ table.liste td {
 	padding-right: 2px;
 }
 
-tr.liste_titre, tr.liste_titre_sel
+.tagtable { display: table; }
+.tagtable form { display: table-row; }
+.tagtable form div { display: table-cell; }
+.tagtr { display: table-row; }
+.tagtd { display: table-cell; }
+
+tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel
 {
 	height: 20px !important;
 }
-div.liste_titre, tr.liste_titre, tr.liste_titre_sel
+div.liste_titre, tr.liste_titre, tr.liste_titre_sel, form.liste_titre, form.liste_titre_sel
 {
     background: rgb(<?php echo $colorbacktitle1; ?>);
     background-repeat: repeat-x;
-- 
GitLab