From 6d6dbf4e9b4f32fcd81426b75ae68898efb11bc6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 2 Sep 2011 22:16:17 +0000 Subject: [PATCH] New: Always use th for table head --- htdocs/theme/auguria/style.css.php | 2 ++ htdocs/theme/bureau2crea/style.css.php | 5 ++++- htdocs/theme/cameleo/style.css.php | 2 ++ htdocs/theme/eldy/style.css.php | 2 ++ htdocs/theme/phones/smartphone/theme/default/default.css.php | 4 ++-- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index b5ad431ea80..fb0d19d721c 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -1248,6 +1248,7 @@ th.liste_titre, td.liste_titre font-weight: normal; /* border-bottom: 1px solid #FDFFFF; */ white-space: nowrap; + text-align: ; } th.liste_titre_sel, td.liste_titre_sel { @@ -1260,6 +1261,7 @@ th.liste_titre_sel, td.liste_titre_sel /* text-decoration: underline; */ /* border-bottom: 1px solid #FDFFFF; */ white-space: nowrap; + text-align: ; } input.liste_titre { background: transparent; diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 404fee28c28..7312b757d11 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -1439,6 +1439,7 @@ th.liste_titre, td.liste_titre white-space: nowrap; background-image: none; background: none; + text-align: ; } /*tr.liste_titre select.flat { @@ -1454,7 +1455,8 @@ tr.liste_titre input.button { /*margin: 30px 10px 10px 0px;*/ } -td.liste_titre_sel { +th.liste_titre_sel, td.liste_titre_sel +{ background: #505050; background-repeat: repeat-x; color: #FFFFFF; @@ -1463,6 +1465,7 @@ td.liste_titre_sel { /* text-decoration: underline; */ /* border-bottom: 1px solid #FDFFFF; */ white-space: nowrap; + text-align: ; } input.liste_titre { diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index 6a8e369979c..42f43efc8c8 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -1355,6 +1355,7 @@ th.liste_titre, td.liste_titre padding-left: 6px; padding-right: 6px; /*vertical-align: text-top;*/ + text-align: ; } th.liste_titre_sel, td.liste_titre_sel { @@ -1362,6 +1363,7 @@ th.liste_titre_sel, td.liste_titre_sel color: #A51B00; font-weight: bold; white-space: nowrap; + text-align: ; } input.liste_titre { diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index ba4b2f855d4..58e2ced4c1e 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1266,6 +1266,7 @@ th.liste_titre, td.liste_titre font-weight: normal; border-bottom: 1px solid #FDFFFF; white-space: nowrap; + text-align: ; } th.liste_titre_sel, td.liste_titre_sel { @@ -1277,6 +1278,7 @@ th.liste_titre_sel, td.liste_titre_sel font-weight: normal; border-bottom: 1px solid #FDFFFF; white-space: nowrap; + text-align: ; } input.liste_titre { background: #7699A9; diff --git a/htdocs/theme/phones/smartphone/theme/default/default.css.php b/htdocs/theme/phones/smartphone/theme/default/default.css.php index fc8f9494057..4145de0a326 100644 --- a/htdocs/theme/phones/smartphone/theme/default/default.css.php +++ b/htdocs/theme/phones/smartphone/theme/default/default.css.php @@ -127,8 +127,8 @@ input.ui-input-text, textarea.ui-input-text { /* ============================================================================== */ div.fiche { - margin-: browser->phone)?'10':'2'); ?>px; - margin-: browser->phone)?'6':''); ?>px; + margin-: browser->phone)?'10':'2'; ?>px; + margin-: browser->phone)?'6':''; ?>px; } div.fichecenter {