From d715d66a332d2fedb6c85eb60f5a727ecc010e7f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Mon, 30 Dec 2002 20:35:06 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/main.inc.php3 | 10 +-- htdocs/theme/dev/dolibarr.css | 130 +++++++++++++++++++++++++++++ htdocs/theme/dolibarr/dolibarr.css | 16 +++- 3 files changed, 149 insertions(+), 7 deletions(-) create mode 100644 htdocs/theme/dev/dolibarr.css diff --git a/htdocs/main.inc.php3 b/htdocs/main.inc.php3 index 04c334a7abb..b3fd0062bb9 100644 --- a/htdocs/main.inc.php3 +++ b/htdocs/main.inc.php3 @@ -78,7 +78,7 @@ function top_menu($head) { * */ - print '<TABLE border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0">'; + print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="0">'; print '<tr><td>'; print '<TABLE border="0" width="100%" cellspacing="1" cellpadding="2">'; @@ -143,16 +143,14 @@ function left_menu($menu) * Colonne de gauche * */ - print '<TABLE border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0">'; - print '<tr><td>'; - print '<TABLE border="0" width="100%" cellspacing="1" cellpadding="4">'; + print '<TABLE class="leftmenu" border="0" width="100%" cellspacing="1" cellpadding="4">'; for ($i = 0 ; $i < sizeof($menu) ; $i++) { print "<TR><TD class=\"barre\" valign=\"top\">"; - print '<A class="menu" href="'.$menu[$i][0].'">'.$menu[$i][1].'</a>'; + print '<A class="leftmenu" href="'.$menu[$i][0].'">'.$menu[$i][1].'</a>'; for ($j = 2 ; $j < sizeof($menu[$i]) - 1 ; $j = $j +2) { @@ -180,7 +178,7 @@ function left_menu($menu) print '</form>'; print '</td></tr>'; - print '</table></td></tr></table>'; + print '</table>'; /* * * diff --git a/htdocs/theme/dev/dolibarr.css b/htdocs/theme/dev/dolibarr.css new file mode 100644 index 00000000000..97b701a7d09 --- /dev/null +++ b/htdocs/theme/dev/dolibarr.css @@ -0,0 +1,130 @@ +/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * + * $Id$ + * $Source$ + * + * 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * 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. + * + */ + +BODY +{ + background: #ebebeb; + font-family: Helvetica, Verdana; font-size: 12px; + text-decoration: none +} +/* + * Menu superieur + */ + +a { + text-decoration: none; + } + +.menu +{ + background: #cbcbcb; + font-family: Helvetica, Verdana; font-size: 14px; font-weight: bold; + color: #202020; + text-decoration: none } + +a.leftmenu +{ + background: #ebebeb; + font-family: Helvetica, Verdana; font-size: 14px; font-weight: bold; + color: #202020; + } + + +.submenu +{ + background: #ebebeb; + font-family: Helvetica, Verdana; font-size: 14px; + color: #202020; + text-decoration: none } + + +/* + * Barre de gauche + */ + +table.leftmenu +{ + + } + +TD.barre +{ + border: 1px solid #000000; + background: #ebebeb; + font-family: Helvetica, Verdana; font-size: 14px; + color: #000000; + text-decoration: none } + +TD.barre_select +{ + background: #b3cccc; + color: #000000 + } + + + +DIV.titre +{ + font-family: Helvetica, Verdana; font-size: 16px; font-weight: bold; + color: #336666; + text-decoration: none } +/* + * + */ +TR.liste_titre +{ + background: #669999; + font-family: Helvetica, Verdana; font-size: 14px; font-weight: bold; + text-decoration: none } +TR.liste_sep +{ + background: #669999; + font-family: Helvetica, Verdana; font-size: 14px; font-weight: bold; + text-decoration: none } + +TR.pair +{ + background: #b3cccc; + font-family: Helvetica, Verdana; font-size: 12px; + text-decoration: none } + +TR.impair +{ + background: #cceeee; + font-family: Helvetica, Verdana; font-size: 12px; + text-decoration: none } + +td.valeur +{ + font-weight: bold; + } + +td.delete +{ + background: red; + font-weight: bold; + } + +td.valid +{ + background: pink; + font-weight: bold; + } \ No newline at end of file diff --git a/htdocs/theme/dolibarr/dolibarr.css b/htdocs/theme/dolibarr/dolibarr.css index 9b24c024b02..7ff04a56621 100644 --- a/htdocs/theme/dolibarr/dolibarr.css +++ b/htdocs/theme/dolibarr/dolibarr.css @@ -28,6 +28,18 @@ BODY /* * Menu superieur */ + +a { + text-decoration: none; + } + +a.leftmenu +{ + background: #b3cccc; + font-family: Helvetica, Verdana; font-size: 14px; font-weight: bold; + color: #202020; + } + .menu { background: #b3cccc; @@ -35,6 +47,7 @@ BODY color: #000000; text-decoration: none } + .submenu { background: #b3cccc; @@ -49,6 +62,7 @@ BODY TD.barre { + border: 1px solid #000000; background: #b3cccc; font-family: Helvetica, Verdana; font-size: 14px; color: #000000; @@ -106,6 +120,6 @@ td.delete td.valid { - background: green; + background: pink; font-weight: bold; } \ No newline at end of file -- GitLab