From 1c58b61eba5b3a53229103d30c057294ca250d3a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sun, 16 Nov 2008 00:06:26 +0000 Subject: [PATCH] Look: A lot of enhancements in Dolibarr skins --- htdocs/comm/prospect/prospects.php | 18 ++--- htdocs/fourn/index.php | 2 +- .../menus/barre_top/auguria_backoffice.php | 12 +-- .../menus/barre_top/auguria_frontoffice.php | 10 +-- .../menus/barre_top/eldy_backoffice.php | 43 +++++------ .../menus/barre_top/eldy_frontoffice.php | 40 +++++----- htdocs/includes/menus/barre_top/empty.php | 18 ++--- htdocs/includes/menus/barre_top/rodolphe.php | 5 +- htdocs/lib/functions.lib.php | 2 +- htdocs/theme/auguria/auguria.css.php | 73 +++++++++--------- htdocs/theme/auguria/img/liste_titre.png | Bin 220 -> 0 bytes htdocs/theme/auguria/img/search.png | Bin 1017 -> 1017 bytes htdocs/theme/bluelagoon/bluelagoon.css | 11 +-- htdocs/theme/dev/dev.css | 37 ++++++--- htdocs/theme/eldy/eldy.css.php | 48 +++++++++--- htdocs/theme/freelug/freelug.css.php | 14 ++-- htdocs/theme/rodolphe/rodolphe.css | 8 +- htdocs/theme/yellow/yellow.css.php | 14 ++-- 18 files changed, 197 insertions(+), 158 deletions(-) delete mode 100644 htdocs/theme/auguria/img/liste_titre.png diff --git a/htdocs/comm/prospect/prospects.php b/htdocs/comm/prospect/prospects.php index 38d225e3484..289278c8d78 100644 --- a/htdocs/comm/prospect/prospects.php +++ b/htdocs/comm/prospect/prospects.php @@ -18,10 +18,10 @@ */ /** - \file htdocs/comm/prospect/prospects.php - \ingroup prospect - \brief Page de la liste des prospects - \version $Id$ + * \file htdocs/comm/prospect/prospects.php + * \ingroup prospect + * \brief Page de la liste des prospects + * \version $Id$ */ require("./pre.inc.php"); @@ -354,9 +354,9 @@ if ($resql) print '<tr class="liste_titre">'; print '<td class="liste_titre">'; - print '<input type="text" class="flat" name="search_nom" value="'.$_GET["search_nom"].'">'; + print '<input type="text" class="flat" name="search_nom" size="10" value="'.$_GET["search_nom"].'">'; print '</td><td class="liste_titre">'; - print '<input type="text" class="flat" name="search_ville" size="12" value="'.$_GET["search_ville"].'">'; + print '<input type="text" class="flat" name="search_ville" size="8" value="'.$_GET["search_ville"].'">'; print '</td>'; print '<td class="liste_titre">'; print ' '; @@ -399,8 +399,8 @@ if ($resql) print '</td>'; // Print the search button - print '<td class="liste_titre" colspan="3" align="right">'; - print '<input type="image" class="liste_titre" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/search.png" alt="'.$langs->trans("Search").'">'; + print '<td colspan="3" class="liste_titre" align="right">'; + print '<input class="liste_titre" type="image" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/search.png" alt="'.$langs->trans("Search").'">'; print '</td>'; print "</tr>\n"; @@ -432,7 +432,7 @@ if ($resql) print $prospectstatic->LibLevel($obj->fk_prospectlevel); print "</td>"; // Statut - print "<td align=\"center\">"; + print '<td align="center" nowrap="nowrap">'; print $prospectstatic->LibStatut($obj->fk_stcomm,2); print "</td>"; diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index aa9c14c375e..1a659185dba 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -158,7 +158,7 @@ if ($conf->fournisseur->enabled) { $var=!$var; $obj = $db->fetch_object($resql); - print '<tr $bc[$var]><td nowrap="nowrap">'; + print '<tr '.$bc[$var].'><td nowrap="nowrap">'; $commandestatic->id=$obj->rowid; $commandestatic->ref=$obj->ref; print $commandestatic->getNomUrl(1,'',16); diff --git a/htdocs/includes/menus/barre_top/auguria_backoffice.php b/htdocs/includes/menus/barre_top/auguria_backoffice.php index 25b42517c23..3af0cd7a3fa 100644 --- a/htdocs/includes/menus/barre_top/auguria_backoffice.php +++ b/htdocs/includes/menus/barre_top/auguria_backoffice.php @@ -24,8 +24,7 @@ \remarks La construction d'un gestionnaire pour le menu du haut est simple: \remarks Toutes les entrees de menu a faire apparaitre dans la barre du haut \remarks doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a> - \remarks On peut eventuellement ajouter l'attribut id="sel" dans la balise <a> - \remarks quand il s'agit de l'entree du menu qui est selectionnee. + \remarks ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> */ @@ -81,16 +80,17 @@ class MenuTop { { if ($tabMenu[$i]['right'] == true) { - // Define url + // Define url $url=DOL_URL_ROOT.$tabMenu[$i]['url']; if (! eregi('\?',DOL_URL_ROOT.$tabMenu[$i]['url'])) $url.='?'; else $url.='&'; $url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu='; $url.="&idmenu=".$tabMenu[$i]['rowid']; + if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $class='class="tmenusel"'; + else $class='class="tmenu"'; // Define idsel - if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" '; - else $idsel=''; - print '<li><a '.$tabMenu[$i]['class'].' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></li>'; + $idsel=''; + print '<li><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></li>'; } else { diff --git a/htdocs/includes/menus/barre_top/auguria_frontoffice.php b/htdocs/includes/menus/barre_top/auguria_frontoffice.php index 39a2ec21cd2..1da243dda44 100644 --- a/htdocs/includes/menus/barre_top/auguria_frontoffice.php +++ b/htdocs/includes/menus/barre_top/auguria_frontoffice.php @@ -24,8 +24,7 @@ \remarks La construction d'un gestionnaire pour le menu du haut est simple: \remarks Toutes les entrees de menu a faire apparaitre dans la barre du haut \remarks doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a> - \remarks On peut eventuellement ajouter l'attribut id="sel" dans la balise <a> - \remarks quand il s'agit de l'entree du menu qui est selectionnee. + \remarks ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> */ @@ -86,10 +85,11 @@ class MenuTop { else $url.='&'; $url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu='; $url.="&idmenu=".$tabMenu[$i]['rowid']; + if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $class='class="tmenusel"'; + else $class='class="tmenu"'; // Define idsel - if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" '; - else $idsel=''; - print '<li><a '.$tabMenu[$i]['class'].' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$tabMenu[$i]['atarget']":"").'>'.$tabMenu[$i]['titre'].'</a></li>'; + $idsel=''; + print '<li><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$tabMenu[$i]['atarget']":"").'>'.$tabMenu[$i]['titre'].'</a></li>'; } else { diff --git a/htdocs/includes/menus/barre_top/eldy_backoffice.php b/htdocs/includes/menus/barre_top/eldy_backoffice.php index 137930cd14b..e5b27f037ef 100644 --- a/htdocs/includes/menus/barre_top/eldy_backoffice.php +++ b/htdocs/includes/menus/barre_top/eldy_backoffice.php @@ -25,16 +25,14 @@ \remarks La construction d'un gestionnaire pour le menu du haut est simple: \remarks Toutes les entrees de menu a faire apparaitre dans la barre du haut \remarks doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a> - \remarks On peut eventuellement ajouter l'attribut id="sel" dans la balise <a> - \remarks quand il s'agit de l'entree du menu qui est selectionnee. + \remarks ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> */ /** - \class MenuTop - \brief Classe permettant la gestion du menu du haut Eldy -*/ - + * \class MenuTop + * \brief Classe permettant la gestion du menu du haut Eldy + */ class MenuTop { var $require_left=array("eldy_backoffice"); // Si doit etre en phase avec un gestionnaire de menu gauche particulier @@ -74,7 +72,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "home") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -93,7 +91,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "companies") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -116,7 +114,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "products") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -142,7 +140,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "suppliers") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -171,7 +169,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "commercial") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -193,7 +191,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "accountancy") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -215,7 +213,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "project") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -237,7 +235,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "tools") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -258,7 +256,7 @@ class MenuTop { $class=""; if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"])) { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -275,7 +273,7 @@ class MenuTop { $class=""; if (ereg("^".DOL_URL_ROOT."\/energie\/",$_SERVER["PHP_SELF"])) { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -293,7 +291,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "shop") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -311,7 +309,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "shop") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -329,7 +327,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "members") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel"'; $_SESSION['idmenu']=''; } else { @@ -360,10 +358,11 @@ class MenuTop { else $url.='&'; $url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu='; $url.="&idmenu=".$tabMenu[$i]['rowid']; + if (! empty($_SESSION['idmenu']) && $tabMenu[$i]['rowid'] == $_SESSION['idmenu']) $class='class="tmenusel"'; + else $class='class="tmenu"'; // Define idsel - if (! empty($_SESSION['idmenu']) && $tabMenu[$i]['rowid'] == $_SESSION['idmenu']) $idsel='id="sel" '; - else $idsel=''; - print '<td class="tmenu"><a class="tmenu" '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'; + $idsel=''; + print '<td class="tmenu"><a '.$class.' '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'; print $tabMenu[$i]['titre']; print '</a></td>'; } diff --git a/htdocs/includes/menus/barre_top/eldy_frontoffice.php b/htdocs/includes/menus/barre_top/eldy_frontoffice.php index 5d2e53d65c7..9458a7dc61e 100644 --- a/htdocs/includes/menus/barre_top/eldy_frontoffice.php +++ b/htdocs/includes/menus/barre_top/eldy_frontoffice.php @@ -22,18 +22,16 @@ \version $Id$ \remarks La construction d'un gestionnaire pour le menu du haut est simple: - \remarks Toutes les ente�es de menu a faire apparaitre dans la barre du haut - \remarks doivent etre affice�es par <a class="tmenu" href="...?mainmenu=...">...</a> - \remarks On peut eventuellement ajouter l'attribut id="sel" dans la balise <a> - \remarks quand il s'agit de l'entree du menu qui est selectionnee. + \remarks Toutes les entetes de menu a faire apparaitre dans la barre du haut + \remarks doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a> + \remarks ou si menu selectionne <a class="tmenusel" href="...?mainmenu=...">...</a> */ /** - \class MenuTop - \brief Classe permettant la gestion du menu du haut Eldy -*/ - + * \class MenuTop + * \brief Classe permettant la gestion du menu du haut Eldy + */ class MenuTop { var $require_left=array("eldy_frontoffice"); // Si doit etre en phase avec un gestionnaire de menu gauche particulier @@ -73,7 +71,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "home") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -92,7 +90,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "companies") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -114,7 +112,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "products") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -142,7 +140,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "suppliers") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -170,7 +168,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "commercial") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -192,7 +190,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "accountancy") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -214,7 +212,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "project") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class = 'class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -238,7 +236,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "tools") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class = 'class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -259,7 +257,7 @@ class MenuTop { $class=""; if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"])) { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -276,7 +274,7 @@ class MenuTop { $class=""; if (ereg("^".DOL_URL_ROOT."\/energie\/",$_SERVER["PHP_SELF"])) { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -294,7 +292,7 @@ class MenuTop { $class=""; if ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "members") { - $class='class="tmenu" id="sel"'; $_SESSION['idmenu']=''; + $class='class="tmenusel" id="xxx"'; $_SESSION['idmenu']=''; } else { @@ -324,9 +322,9 @@ class MenuTop { else $url.='&'; $url.='mainmenu='.$tabMenu[$i]['mainmenu'].'&leftmenu='; $url.="&idmenu=".$tabMenu[$i]['rowid']; - // Define idsel if (! empty($_GET["idmenu"]) && $tabMenu[$i]['rowid'] == $_GET["idmenu"]) $idsel='id="sel" '; - else $idsel=''; + // Define idsel + $idsel=''; print '<td class="tmenu"><a class="tmenu" '.$idsel.'href="'.$url.'"'.($this->atarget?" target=$this->atarget":"").'>'.$tabMenu[$i]['titre'].'</a></td>'; } else diff --git a/htdocs/includes/menus/barre_top/empty.php b/htdocs/includes/menus/barre_top/empty.php index 616db2a0426..6763be7a6f1 100644 --- a/htdocs/includes/menus/barre_top/empty.php +++ b/htdocs/includes/menus/barre_top/empty.php @@ -1,5 +1,5 @@ <?php -/* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net> +/* Copyright (C) 2006-2008 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,20 +14,18 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** - \file htdocs/includes/menus/barre_top/empty.php - \brief This is an example of an empty top menu handler - \version $Revision$ -*/ + * \file htdocs/includes/menus/barre_top/empty.php + * \brief This is an example of an empty top menu handler + * \version $Id$ + */ /** - \class MenuTop - \brief Class for top empty menu -*/ + * \class MenuTop + * \brief Class for top empty menu + */ class MenuTop { var $require_left=array("empty"); // If this top menu handler must be used with a particular left menu handler diff --git a/htdocs/includes/menus/barre_top/rodolphe.php b/htdocs/includes/menus/barre_top/rodolphe.php index ee4bf9908f3..7ecaadac020 100644 --- a/htdocs/includes/menus/barre_top/rodolphe.php +++ b/htdocs/includes/menus/barre_top/rodolphe.php @@ -19,14 +19,13 @@ /** \file htdocs/includes/menus/barre_top/rodolphe.php - \brief Gestionnaire par d�faut du menu du haut + \brief Gestionnaire menu haut Rodolphe \version $Id$ \remarks La construction d'un gestionnaire pour le menu du haut est simple: \remarks Toutes les entrees de menu e faire apparaitre dans la barre du haut + \remarks Toutes les entetes de menu a faire apparaitre dans la barre du haut \remarks doivent etre affichees par <a class="tmenu" href="...?mainmenu=...">...</a> - \remarks On peut eventuellement ajouter l'attribut id="sel" dans la balise <a> - \remarks quand il s'agit de l'entree du menu qui est selectionnee. */ diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 811aeca092c..865c9a3c147 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -1806,7 +1806,7 @@ function print_liste_field_titre($name, $file, $field, $begin="", $options="", $ global $conf; //print "$name, $file, $field, $begin, $options, $td, $sortfield, $sortorder<br>\n"; - // Le champ de tri est mis en �vidence. + // Le champ de tri est mis en evidence. // Exemple si (sortfield,field)=("nom","xxx.nom") ou (sortfield,field)=("nom","nom") if ($sortfield == $field || $sortfield == ereg_replace("^[^\.]+\.","",$field)) { diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php index 2d8d95f9dcf..5903255cf67 100644 --- a/htdocs/theme/auguria/auguria.css.php +++ b/htdocs/theme/auguria/auguria.css.php @@ -57,7 +57,6 @@ a:active {font-weight: bold; color: #000000; text-decoration: none; } a:hover {font-weight: bold; color: #000000; text-decoration: none; } input { - background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; @@ -65,14 +64,12 @@ input } input.flat { - background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } textarea { - background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; @@ -80,7 +77,6 @@ textarea { } textarea.flat { - background: #FDFDFD; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; @@ -88,6 +84,8 @@ textarea.flat } select.flat { + font-size: 12px; + font-family: helvetica, verdana, arial, sans-serif; font-weight: normal; border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; @@ -156,7 +154,7 @@ div.tmenu } div.tmenu .tmenudisabled { - color: #757575; + color: #9FCED9; font-size: 12px; padding-left: 6px; padding-right: 6px; @@ -174,8 +172,8 @@ a.tmenu:link { color:#FFFFFF; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 21px; font-weight: normal; @@ -185,19 +183,19 @@ a.tmenu:visited { color:#FFFFFF; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 21px; font-weight: normal; } -a.tmenu#sel +a.tmenusel { color:#234046; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 21px; font-weight: normal; @@ -207,8 +205,8 @@ a.tmenu:hover { color:#234046; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 21px; font-weight: normal; @@ -217,25 +215,30 @@ a.tmenu:hover a.tmenu:active { + color:#234046; background:#4F9EC9; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 21px; - font-weight: normal; + font-weight: normal; } font.tmenudisabled { - color: #93a5aa; - font-weight: normal; - font-size: 12px; - cursor: not-allowed; + color: #9FCED9; + font-weight: normal; + font-size: 12px; + cursor: not-allowed; } /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a +{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -250,7 +253,8 @@ div.tmenu li { margin:0; padding:0; } -div.tmenu li a{ +div.tmenu li a +{ font-size: 13px; color:#FFFFFF; text-decoration:none; @@ -261,18 +265,8 @@ div.tmenu li a{ display: block; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel -{ - background:#FFFFFF; - color:#4F9EC9; - font-weight: normal; -} div.tmenu li a:visited { - color:#FFFFFF; font-weight: normal; } div.tmenu li a:hover @@ -290,6 +284,12 @@ div.tmenu li a:link { font-weight: normal; } +div.tmenu li a.tmenusel +{ + background:#FFFFFF; + color:#4F9EC9; + font-weight: normal; +} @@ -331,13 +331,13 @@ a.vmenu:link { font-size:11px; text-align:left; font-weight: bold; color: a.vmenu:visited { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; } a.vmenu:active { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; } a.vmenu:hover { font-size:11px; text-align:left; font-weight: bold; color: #FFFFFF; margin: 1px 1px 1px 4px; } -font.vmenudisabled { font-size:11px; text-align:left; font-weight: bold; color: #757575; margin: 1px 1px 1px 4px; } +font.vmenudisabled { font-size:11px; text-align:left; font-weight: bold; color: #9FCED9; margin: 1px 1px 1px 4px; } a.vsmenu:link { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; } a.vsmenu:visited { font-size:11px; text-align:left; font-weight: normal; color: #202020; margin: 1px 1px 1px 4px; } a.vsmenu:active { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; } a.vsmenu:hover { font-size:11px; text-align:left; font-weight: normal; color: RGB(94,148,181); margin: 1px 1px 1px 4px; } -font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #757575; margin: 1px 1px 1px 4px; } +font.vsmenudisabled { font-size:11px; text-align:left; font-weight: normal; color: #9FCED9; margin: 1px 1px 1px 4px; } a.help:link { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.help:visited { font-size: 10px; font-weight: bold; background: #FFFFFF; border: 1px solid #8CACBB; color: #68ACCF; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } @@ -754,7 +754,7 @@ white-space: nowrap; td.liste_titre_sel { background: #68ACCF; -color: #FFFFFF; +color: #556262; font-size: 12px; font-family: arial, helvetica, verdana, sans-serif; font-weight: normal; @@ -764,8 +764,7 @@ white-space: normal; -moz-border-radius-topright:6px; } input.liste_titre { -background: #7699A9; -background-image : url(<?php echo $dolibarr_main_url_root.'/theme/auguria/img/liste_titre.png' ?>); +background: #68ACCF; border: 0px; } diff --git a/htdocs/theme/auguria/img/liste_titre.png b/htdocs/theme/auguria/img/liste_titre.png deleted file mode 100644 index a575ee4b9b04f7d9a5941786d1b138de05b40d1c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 220 zcmeAS@N?(olHy`uVBq!ia0y~yU|?ooV9?-TVqjp{qIg}Ffq_A{#5JPCxhOTUBr`ux zAtW<5l_4cFS5Lu6AwRi9Pr=B*z*ND|(#pWn%EVkj+rZGkpv0!Dl7WGNy~NYkmHjFg zlOU&AE|Wkb0|NtRfk$L90|VCw5N32*V={w*fq^C6(btiIVPik{pF~y$1_mQf7srr_ zTgh{F7V0xgZ20s0zx=5tLx(m0BT_s?fB)}~kPX=;zQ3>jMv1|Nd-wiVykTWHaIIMB URpP843=9kmp00i_>zopr05?2Bo&W#< diff --git a/htdocs/theme/auguria/img/search.png b/htdocs/theme/auguria/img/search.png index 0df0df04ca5aecc35c97251505f878042abb0c1f..31001609b82d74c1331386d301332e10669cb6bf 100644 GIT binary patch delta 42 vcmey#{*!%zmi!HFela}>*;CQ73=9mM1s;*b3=CW!K$y{KjmeCSo*S3}3BC+) delta 42 vcmey#{*!%zmi$##c0Oh;MG5s+3=9mM1s;*b3=G^tAk28_Zrz`ao*S3}^n456 diff --git a/htdocs/theme/bluelagoon/bluelagoon.css b/htdocs/theme/bluelagoon/bluelagoon.css index 4efd5c5be1c..4aec4b65d94 100644 --- a/htdocs/theme/bluelagoon/bluelagoon.css +++ b/htdocs/theme/bluelagoon/bluelagoon.css @@ -127,7 +127,7 @@ a.tmenu:visited font-weight:bold; font-size:12px; } -a.tmenu#sel +a.tmenusel { padding: 0em 1em; margin: 0em 0em 1em 0em; @@ -152,6 +152,10 @@ font.tmenudisabled /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a +{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -178,10 +182,7 @@ div.tmenu li a{ display: block; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#FFFFFF; color:#000000; diff --git a/htdocs/theme/dev/dev.css b/htdocs/theme/dev/dev.css index 3ae473957f0..8868b6bf2c3 100644 --- a/htdocs/theme/dev/dev.css +++ b/htdocs/theme/dev/dev.css @@ -74,7 +74,7 @@ a.tmenu font-size:11px; } -a.tmenu#sel +a.tmenusel { border-bottom:4px solid #9d9da1; color: #000000; @@ -89,6 +89,10 @@ a.tmenu:hover /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a +{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -115,10 +119,7 @@ div.tmenu li a{ display: block; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#FFFFFF; color:#000000; @@ -229,7 +230,7 @@ a.vsmenu:hover { border-color:gray; color: #000000; - } +} font.vmenudisabled { @@ -247,6 +248,7 @@ font.vsmenudisabled color: #A0A0A0; font-weight:bold; font-size:11px; + cursor: not-allowed; } @@ -294,7 +296,8 @@ table.liste td /***** Styles par d�faut *****/ input { - font: 12px helvetica, verdana, arial, sans-serif; + font-size: 11px; + font-family: helvetica, verdana, arial, sans-serif; background: #FDFDFD; border: 1px solid #9CACAB; padding: 0px 0px 0px 0px; @@ -302,22 +305,34 @@ input } input.flat { - font: 12px helvetica, verdana, arial, sans-serif; + font-size: 11px; + font-family: helvetica, verdana, arial, sans-serif; background: #FDFDFD; border: 1px solid #9CACAB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } textarea { - font: 12px helvetica, verdana, arial, sans-serif; + font-size: 11px; + font-family: helvetica, verdana, arial, sans-serif; border: 1px solid #8C9C9B; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } textarea.flat { - font: 12px helvetica, verdana, arial, sans-serif; - border: 1px solid #8C9C9B; + font-size: 11px; + font-family: helvetica, verdana, arial, sans-serif; + border: 1px solid #8C9C9B; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; +} +select.flat +{ + font-size: 11px; + font-family: helvetica, verdana, arial, sans-serif; + font-weight: normal; + border: 1px solid #ACBCBB; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 7a8183579d0..ebbd68e7cb9 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -214,7 +214,7 @@ a.tmenu:visited font-family: helvetica, verdana, arial, sans-serif; font-weight: normal; } -a.tmenu#sel +a.tmenusel { color: #234046; padding: 0px 5px 0px 5px; @@ -249,7 +249,7 @@ a.tmenu:active padding: 0px 5px 0px 5px; margin: 0px 0px 0px 0px; text-decoration: none; - font-size: 12px; + font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; font-weight: normal; background:#F4F4F4; @@ -271,6 +271,9 @@ font.tmenudisabled /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -280,51 +283,76 @@ div.tmenu ul { div.tmenu li { float: left; border-right: solid 1px #7699A9; + padding-left:5px; + padding-right:5px; + padding-top: 2px; height: 18px; position:relative; display: block; margin:0; padding:0; + font-weight: normal; } -div.tmenu li a{ +div.tmenu li a +{ font-size: 13px; color:#000000; text-decoration:none; - padding-left:10px; - padding-right:10px; + padding-left:5px; + padding-right:5px; padding-top: 2px; height: 18px; display: block; + margin:0; + padding:0; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#F4F4F4; color:#000000; + padding-left:5px; + padding-right:5px; + padding-top: 2px; + height: 18px; font-weight: normal; } div.tmenu li a:visited { color:#000000; + padding-left:5px; + padding-right:5px; + padding-top: 2px; + height: 18px; font-weight: normal; } div.tmenu li a:hover { background:#F4F4F4; color:#000000; + padding-left:5px; + padding-right:5px; + padding-top: 2px; + height: 18px; font-weight: normal; + border-bottom: 0px; } div.tmenu li a:active { color:#4F9EC9; + padding-left:5px; + padding-right:5px; + padding-top: 2px; + height: 18px; font-weight: normal; } div.tmenu li a:link { - + color:#000000; + padding-left:5px; + padding-right:5px; + padding-top: 2px; + height: 18px; font-weight: normal; } diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php index 144c58dd78f..7f4d9226189 100644 --- a/htdocs/theme/freelug/freelug.css.php +++ b/htdocs/theme/freelug/freelug.css.php @@ -216,7 +216,7 @@ a.tmenu:visited font-weight: bold; font-size:12px; } -a.tmenu#sel +a.tmenusel { color: #202020; background: #bbbbcc; @@ -239,13 +239,18 @@ font.tmenudisabled color: #93a5aa; padding: 0px 8px; margin: 0px 0px 6px 0px; - border: 1px solid #b3c5cc; + border: 0px; font-weight:bold; font-size:12px; + cursor: not-allowed; } /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a +{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -272,10 +277,7 @@ div.tmenu li a{ display: block; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#FFFFFF; color:#000000; diff --git a/htdocs/theme/rodolphe/rodolphe.css b/htdocs/theme/rodolphe/rodolphe.css index d2598f6c5ec..dbf18de5482 100644 --- a/htdocs/theme/rodolphe/rodolphe.css +++ b/htdocs/theme/rodolphe/rodolphe.css @@ -14,11 +14,9 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ */ +/* $Id$ */ /***** Style du fond *****/ body { @@ -153,7 +151,7 @@ a.tmenu:visited font-weight:bold; font-size:12px; } -a.tmenu#sel +a.tmenusel { color: #ffffff; background: #78746d; @@ -211,7 +209,7 @@ div.tmenu li a{ * html div.tmenu li a{ width:40px; } -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#FFFFFF; color:#000000; diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php index 4bb78020f61..0a16a6c7ff3 100644 --- a/htdocs/theme/yellow/yellow.css.php +++ b/htdocs/theme/yellow/yellow.css.php @@ -186,7 +186,7 @@ a.tmenu:visited font-weight:bold; font-size:12px; } -a.tmenu#sel +a.tmenusel { color: #234046; background: #eeeecc; @@ -206,13 +206,18 @@ font.tmenudisabled { color: #93a5aa; padding: 0px 5px; - border: 1px solid #b3c5cc; + border: 0px; font-weight:bold; font-size:12px; + cursor: not-allowed; } /* Pour menu TOP auguria uniquement */ +* html div.tmenu li a +{ + width:40px; +} div.tmenu ul { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -237,10 +242,7 @@ div.tmenu li a{ display: block; font-weight: normal; } -* html div.tmenu li a{ - width:40px; -} -div.tmenu li a#sel +div.tmenu li a.tmenusel { background:#FFFFFF; color:#000000; -- GitLab