From 80050a86b3e95b525d72492602a47d996dbb842a Mon Sep 17 00:00:00 2001 From: Sven Donath Date: Thu, 18 Oct 2012 16:30:58 +0200 Subject: [PATCH] Header-Menu soll nicht mitscrollen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Der Header Container ist auf einen Layer weit über den anderen (z-index: 99) an Position 0 von oben festgetackert. Damit bleibt er immer sichtbar. Es sind nur die Styles lx-office-erp und kivitendo berücksichtigt (im Moment). (work in progress) --- css/kivitendo/menu.css | 2 ++ css/lx-office-erp/frame_header/header.css | 3 +++ css/lx-office-erp/menu.css | 2 ++ 3 files changed, 7 insertions(+) diff --git a/css/kivitendo/menu.css b/css/kivitendo/menu.css index 2abe56f4d..ae1c213d1 100644 --- a/css/kivitendo/menu.css +++ b/css/kivitendo/menu.css @@ -290,6 +290,8 @@ div#menuv3 li:hover ul, div#menuv3 li li:hover ul, div#menuv3 li li li:hover ul, and one mic (menu-item-chunk) indenting is done with the levels s0, s1, s2 */ #content.html-menu, #html-menu { + position: relative; + top: 20px; transition: margin-left 0.2s, width 0.2s; -moz-transition: margin-left 0.2s, width 0.2s; -webkit-transition: margin-left 0.2s, width 0.2s; diff --git a/css/lx-office-erp/frame_header/header.css b/css/lx-office-erp/frame_header/header.css index 852a76c98..1e96c980d 100644 --- a/css/lx-office-erp/frame_header/header.css +++ b/css/lx-office-erp/frame_header/header.css @@ -8,6 +8,9 @@ } #frame-header { + position: fixed; + top: 0px; + z-index: 99; background: url('../../../image/bg_titel.gif') repeat-x; text-align: center; margin: 0; diff --git a/css/lx-office-erp/menu.css b/css/lx-office-erp/menu.css index 19f98b20c..ac73a9e81 100644 --- a/css/lx-office-erp/menu.css +++ b/css/lx-office-erp/menu.css @@ -296,6 +296,8 @@ div#menuv4 li li li li:hover ul and one mic (menu-item-chunk) indenting is done with the levels s0, s1, s2 */ #content.html-menu, #html-menu { + position: relative; + top: 20px; transition: margin-left 0.2s, width 0.2s; -moz-transition: margin-left 0.2s, width 0.2s; -webkit-transition: margin-left 0.2s, width 0.2s; -- 2.20.1