From 27ae971f352018b43251c26249fa9ecbe2fb0c9f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sun, 28 Apr 2013 12:46:52 +0200 Subject: [PATCH] Fix: W3C --- htdocs/theme/amarok/style.css.php | 11 +++++++---- htdocs/theme/auguria/style.css.php | 5 ++++- htdocs/theme/bureau2crea/style.css.php | 9 ++------- htdocs/theme/cameleo/style.css.php | 5 ++++- htdocs/theme/eldy/style.css.php | 5 ++++- 5 files changed, 21 insertions(+), 14 deletions(-) diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index c7e784d2977..8383576e80d 100755 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -966,9 +966,9 @@ a.tab:hover {color:#333333;} } div.fiche { - padding:8px 6px 10px; - margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:((empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?($dol_hide_leftmenu?'4':'16'):'24')); ?>px; - margin-<?php print $right; ?>: <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'12':'4')); ?>px; + padding: 8px 5px 10px; + margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:((empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))?($dol_hide_leftmenu?'3':'16'):'24')); ?>px; + margin-<?php print $right; ?>: <?php print (GETPOST("optioncss") == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'12':'3')); ?>px; } div.fichecenter { @@ -1195,6 +1195,10 @@ table.liste { table.liste td {padding:1px 2px 1px 0px;} +tr.liste_titre, tr.liste_titre_sel +{ + height: 22px; +} div.liste_titre, tr.liste_titre, tr.box_titre { padding:4px; background-color:rgba(0,0,0,.2); @@ -1210,7 +1214,6 @@ div.liste_titre, tr.liste_titre, tr.box_titre { color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(0,0,0,.3)) ); - height: 22px; text-align: <?php echo $left; ?>; } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index c8aa6959d49..6f4ebcb058d 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -1345,9 +1345,12 @@ table.liste td { padding-right: 2px; } -div.liste_titre, tr.liste_titre +tr.liste_titre, tr.liste_titre_sel { height: 24px; +} +div.liste_titre, tr.liste_titre +{ background: #7699A9; background-image: url(<?php echo $img_liste_titre ?>); background-repeat: repeat-x; diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 42db41fec0f..8d20ba1bec2 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -1483,7 +1483,6 @@ tr.liste_titre { font-weight: normal; /* text-decoration: underline; */ /* border-bottom: 1px solid #FDFFFF; */ - white-space: nowrap; } tr.liste_titre { @@ -1512,8 +1511,8 @@ div.liste_titre, tr.liste_titre { } div.liste_titre a, tr.liste_titre a { -color: #333333; -margin: 0px 5px; + color: #333333; + margin: 0px 5px; } div.liste_titre td, tr.liste_titre td { @@ -1528,7 +1527,6 @@ div.liste_titre, th.liste_titre, td.liste_titre color: #333333; font-family: <?php print $fontlist ?>; font-weight: normal; - white-space: nowrap; background-image: none; background: none; } @@ -1548,7 +1546,6 @@ th.liste_titre_sel, td.liste_titre_sel font-weight: normal; /* text-decoration: underline; */ /* border-bottom: 1px solid #FDFFFF; */ - white-space: nowrap; } input.liste_titre { @@ -1564,7 +1561,6 @@ background: #F0F0F0; background-repeat: repeat-x; color: #332266; font-weight: normal; -white-space: nowrap; padding: 5px; } @@ -1629,7 +1625,6 @@ tr.box_titre { font-family: <?php print $fontlist ?>, sans-serif; font-weight: normal; border-bottom: 1px solid #FDFFFF; - white-space: nowrap; -moz-border-radius-topleft:6px; -moz-border-radius-topright:6px; } diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index 954bc385337..fb295e4b5e9 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -1430,8 +1430,11 @@ table.liste td { padding-right: 2px; } -div.liste_titre, tr.liste_titre { +tr.liste_titre, tr.liste_titre_sel +{ height: 20px; +} +div.liste_titre, tr.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 91e7d045256..b6711ab76eb 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1655,9 +1655,12 @@ table.liste td { padding-right: 2px; } +tr.liste_titre, tr.liste_titre_sel +{ + height: 20px !important; +} div.liste_titre, tr.liste_titre, tr.liste_titre_sel { - height: 20px !important; background: rgb(<?php echo $colorbacktitle1; ?>); background-repeat: repeat-x; <?php if ($usecss3) { ?> -- GitLab