Fix: dynamic position depending on the modules activated

This commit is contained in:
Regis Houssin 2011-01-10 08:13:31 +00:00
parent 396e7ad34c
commit 6093998733

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2007-2010 Regis Houssin <regis@dolibarr.fr> * Copyright (C) 2007-2011 Regis Houssin <regis@dolibarr.fr>
* *
* 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
@ -449,11 +449,21 @@ foreach($mainmenuusedarray as $key => $val)
/* Login */ /* Login */
div.login { div.login_block {
position: absolute; position: absolute;
<?php print $right; ?>: 46px; white-space: nowrap;
<?php print $right; ?>: 5px;
top: 10px; top: 10px;
padding: 0px 8px; font-weight: bold;
}
div.login_block table {
display: inline;
}
div.login {
display: inline;
padding: 0px 5px;
margin: 0px 0px 1px 0px; margin: 0px 0px 1px 0px;
font-weight: bold; font-weight: bold;
} }
@ -466,20 +476,12 @@ div.login a:hover {
} }
img.login, img.printer, img.entity { img.login, img.printer, img.entity {
position: absolute; padding: 8px 0px 0px 0px;
<?php print $right; ?>: 25px; margin: 0px 0px 0px 8px;
top: -1px;
padding: 10px 0px 0px 0px;
text-decoration: none; text-decoration: none;
color: white; color: white;
font-weight: bold; font-weight: bold;
} }
img.printer {
<?php print $right; ?>: 4px;
}
img.entity {
<?php print $right; ?>: 48px;
}
/* ============================================================================== */ /* ============================================================================== */