From: Sven Donath Date: Thu, 18 Oct 2012 14:30:58 +0000 (+0200) Subject: Header-Menu soll nicht mitscrollen X-Git-Tag: release-3.0.0beta1~108^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=80050a86b3e95b525d72492602a47d996dbb842a;p=kivitendo-erp.git Header-Menu soll nicht mitscrollen 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) --- 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;