From 6eb48ef94bc0660247c9ae5c63ae561dcf5eab54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 11 Sep 2012 11:12:22 +0200 Subject: [PATCH] =?utf8?q?frame=20header=20in=20ein=20div=20mit=20id=20ges?= =?utf8?q?teckt,=20damit=20css=20regeln=20daf=C3=BCr=20nicht=20leaken?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- css/lx-office-erp/frame_header/header.css | 27 +++++++++-------------- templates/webpages/menu/header.html | 9 +------- 2 files changed, 11 insertions(+), 25 deletions(-) diff --git a/css/lx-office-erp/frame_header/header.css b/css/lx-office-erp/frame_header/header.css index 2713bb413..cfd5ddcac 100644 --- a/css/lx-office-erp/frame_header/header.css +++ b/css/lx-office-erp/frame_header/header.css @@ -1,22 +1,15 @@ -.frame-header-element a:link, -.frame-header-element a:visited, -.frame-header-element a:hover, -.frame-header-element a:active { +#frame-header .frame-header-element a:link, +#frame-header .frame-header-element a:visited, +#frame-header .frame-header-element a:hover, +#frame-header .frame-header-element a:active { color: white; background: none; text-decoration: underline; } -body.frame-header { - background: url('../../../image/fade.png') repeat-x; -} - -div.frame-header { +#frame-header { background: url('../../../image/bg_titel.gif') repeat-x; text-align: center; -} - -.frame-header { margin: 0; padding: 0; color: white; @@ -26,16 +19,16 @@ div.frame-header { border-spacing: 0; } -.frame-header-left { +#frame-header .frame-header-left { float: left; } -.frame-header-right { +#frame-header .frame-header-right { float: right; } -.frame-header-left, -.frame-header-center, -.frame-header-right { +#frame-header .frame-header-left, +#frame-header .frame-header-center, +#frame-header .frame-header-right { border-spacing: 0; color: white; padding: 0; diff --git a/templates/webpages/menu/header.html b/templates/webpages/menu/header.html index b53302fd1..60a6ec77f 100644 --- a/templates/webpages/menu/header.html +++ b/templates/webpages/menu/header.html @@ -1,8 +1,5 @@ [%- USE T8 %] -[%- UNLESS inline %] - -[%- END %] -
+
[% UNLESS is_links %] [[% 'Menu' | $T8 %]] @@ -30,7 +27,3 @@ [% now.hms %]
-[%- UNLESS inline %] - - -[%- END %] -- 2.20.1