Try a simpler css

This commit is contained in:
Laurent Destailleur 2009-08-26 09:37:54 +00:00
parent 7bba2c8ecf
commit 5bae8dccf2
3 changed files with 182 additions and 194 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
/* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -17,13 +17,11 @@
*/ */
/** /**
\file htdocs/includes/boxes/box_bookmarks.php * \file htdocs/includes/boxes/box_bookmarks.php
\ingroup bookmark * \ingroup bookmark
\brief Module de génération de l'affichage de la box bookmark * \brief Module de g<EFBFBD>n<EFBFBD>ration de l'affichage de la box bookmark
\version $Id$ * \version $Id$
*/ */
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php"); include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
@ -52,8 +50,8 @@ class box_bookmarks extends ModeleBoxes {
} }
/** /**
* \brief Charge les données en mémoire pour affichage ultérieur * \brief Charge les donnees en memoire pour affichage ulterieur
* \param $max Nombre maximum d'enregistrements à charger * \param $max Nombre maximum d'enregistrements a charger
*/ */
function loadBox($max=5) function loadBox($max=5)
{ {

View File

@ -61,10 +61,10 @@ body {
<?php print 'direction: '.$langs->direction.";\n"; ?> <?php print 'direction: '.$langs->direction.";\n"; ?>
} }
a:link { font-family: helvetica, verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:link { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
a:visited { font-family: helvetica, verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:visited { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
a:active { font-family: helvetica, verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:active { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
a:hover { font-family: helvetica, verdana, arial, helvetica, sans-serif; font-weight: bold; color: #000000; text-decoration: none; } a:hover { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
input input
{ {
font-size: 12px; font-size: 12px;
@ -111,7 +111,6 @@ select.flat
} }
.button .button
{ {
font-size: 12px;
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
border: 0px; border: 0px;
background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/button_bg.png' ?>); background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/button_bg.png' ?>);
@ -120,7 +119,6 @@ select.flat
margin: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;
} }
.button:focus { .button:focus {
font-size: 12px;
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
color: #222244; color: #222244;
border: 0px; border: 0px;
@ -131,7 +129,6 @@ select.flat
} }
.buttonajax .buttonajax
{ {
font-size: 12px;
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
border: 0px; border: 0px;
background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/button_bg.png' ?>); background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/button_bg.png' ?>);
@ -183,7 +180,6 @@ div.tmenu
padding: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
margin: 0px 0px 4px 0px; margin: 0px 0px 4px 0px;
font-weight: normal; font-weight: normal;
font-size: 12px;
height: 19px; height: 19px;
background: #b3c5cc; background: #b3c5cc;
background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/tmenu.jpg' ?>); background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/tmenu.jpg' ?>);
@ -196,7 +192,6 @@ a.tmenudisabled:link
{ {
color: #757575; color: #757575;
font-weight: normal; font-weight: normal;
font-size: 12px;
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
margin: 0px 1px 2px 1px; margin: 0px 1px 2px 1px;
cursor: not-allowed; cursor: not-allowed;
@ -206,7 +201,6 @@ a.tmenudisabled:visited
{ {
color: #757575; color: #757575;
font-weight: normal; font-weight: normal;
font-size: 12px;
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
margin: 0px 1px 2px 1px; margin: 0px 1px 2px 1px;
cursor: not-allowed; cursor: not-allowed;
@ -216,7 +210,6 @@ a.tmenudisabled:hover
{ {
color: #757575; color: #757575;
font-weight: normal; font-weight: normal;
font-size: 12px;
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
margin: 0px 1px 2px 1px; margin: 0px 1px 2px 1px;
cursor: not-allowed; cursor: not-allowed;
@ -226,7 +219,6 @@ a.tmenudisabled:active
{ {
color: #757575; color: #757575;
font-weight: normal; font-weight: normal;
font-size: 12px;
padding: 0px 5px 0px 5px; padding: 0px 5px 0px 5px;
margin: 0px 1px 2px 1px; margin: 0px 1px 2px 1px;
cursor: not-allowed; cursor: not-allowed;
@ -363,7 +355,6 @@ a.login
padding: 0px 8px; padding: 0px 8px;
margin: 0px 0px 1px 0px; margin: 0px 0px 1px 0px;
font-weight: bold; font-weight: bold;
font-size: 12px;
} }
a.login:hover a.login:hover
{ {
@ -547,7 +538,6 @@ div.onglet_inf
padding: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
margin: -12px 0px 0px 10px; margin: -12px 0px 0px 10px;
font-weight:bold; font-weight:bold;
font-size: 12px;
height: 19px; height: 19px;
color: #000000; color: #000000;
text-decoration: none; text-decoration: none;
@ -659,7 +649,7 @@ td.tab {
/* Nouvelle syntaxe a utiliser */ /* Nouvelle syntaxe a utiliser */
a.butAction:link { font-size: 12px; a.butAction:link {
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
font-weight: bold; font-weight: bold;
background: white; background: white;
@ -670,7 +660,7 @@ a.butAction:link { font-size: 12px;
text-decoration: none; text-decoration: none;
white-space: nowrap; } white-space: nowrap; }
a.butAction:visited { font-size: 12px; a.butAction:visited {
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
font-weight: bold; font-weight: bold;
background: white; background: white;
@ -681,7 +671,7 @@ a.butAction:visited { font-size: 12px;
text-decoration: none; text-decoration: none;
white-space: nowrap; } white-space: nowrap; }
a.butAction:active { font-size: 12px; a.butAction:active {
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
font-weight: bold; font-weight: bold;
background: white; background: white;
@ -692,7 +682,7 @@ a.butAction:active { font-size: 12px;
text-decoration: none; text-decoration: none;
white-space: nowrap; } white-space: nowrap; }
a.butAction:hover { font-size: 12px; a.butAction:hover {
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
font-weight: bold; font-weight: bold;
background: #dee7ec; background: #dee7ec;
@ -703,7 +693,7 @@ a.butAction:hover { font-size: 12px;
text-decoration: none; text-decoration: none;
white-space: nowrap; } white-space: nowrap; }
.butActionRefused { font-size: 12px !important; .butActionRefused {
font-family: helvetica, verdana, arial, sans-serif !important; font-family: helvetica, verdana, arial, sans-serif !important;
font-weight: bold !important; font-weight: bold !important;
background: white !important; background: white !important;
@ -716,7 +706,7 @@ a.butAction:hover { font-size: 12px;
cursor: not-allowed; cursor: not-allowed;
} }
a.butActionDelete { font-size: 12px; a.butActionDelete {
font-family: helvetica, verdana, arial, sans-serif; font-family: helvetica, verdana, arial, sans-serif;
font-weight: bold; font-weight: bold;
background: white; background: white;
@ -727,10 +717,10 @@ a.butActionDelete { font-size: 12px;
text-decoration: none; text-decoration: none;
white-space: nowrap; } white-space: nowrap; }
a.butActionDelete:link { font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.butActionDelete:link { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
a.butActionDelete:active { font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.butActionDelete:active { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
a.butActionDelete:visited { font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.butActionDelete:visited { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: white; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
a.butActionDelete:hover { font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; } a.butActionDelete:hover { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; background: #FFe7ec; border: 1px solid #997777; color: #436976; padding: 0em 0.7em; margin: 0em 0.5em; text-decoration: none; white-space: nowrap; }
/* ============================================================================== */ /* ============================================================================== */