From 6093998733cdd93dda48f2de719d2e692bd4d543 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 10 Jan 2011 08:13:31 +0000 Subject: [PATCH] Fix: dynamic position depending on the modules activated --- htdocs/theme/eldy/style.css.php | 44 +++++++++++++++++---------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 9b3225cd873..005bfaf4f6b 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1,7 +1,7 @@ +/* Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2006 Rodolphe Quiedeville - * Copyright (C) 2007-2010 Regis Houssin + * Copyright (C) 2007-2011 Regis Houssin * * 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 @@ -449,13 +449,23 @@ foreach($mainmenuusedarray as $key => $val) /* Login */ +div.login_block { + position: absolute; + white-space: nowrap; + : 5px; + top: 10px; + font-weight: bold; +} + +div.login_block table { + display: inline; +} + div.login { - position: absolute; - : 46px; - top: 10px; - padding: 0px 8px; - margin: 0px 0px 1px 0px; - font-weight: bold; + display: inline; + padding: 0px 5px; + margin: 0px 0px 1px 0px; + font-weight: bold; } div.login a { color: #234046; @@ -466,19 +476,11 @@ div.login a:hover { } img.login, img.printer, img.entity { - position: absolute; - : 25px; - top: -1px; - padding: 10px 0px 0px 0px; - text-decoration: none; - color: white; - font-weight: bold; -} -img.printer { - : 4px; -} -img.entity { - : 48px; + padding: 8px 0px 0px 0px; + margin: 0px 0px 0px 8px; + text-decoration: none; + color: white; + font-weight: bold; }