diff --git a/core/layout/common.css b/core/layout/common.css index 0cb34768..810a595b 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -326,15 +326,10 @@ header .container { body > nav { margin: 0 -10px; } + + /* Items du menu */ -/* Barre de navigation fixe quand le menu est en-dehors du site */ -#navfixed { - position: fixed; - top:0; - width:100%; - z-index:100; -} nav a > img { margin: -4px 0; vertical-align: middle; @@ -411,6 +406,23 @@ nav a:hover { } } +/* Barre de navigation fixe quand le menu est en-dehors du site */ + +nav #navStickyLogout { + position: fixed !important; + top:0px; + position: -webkit-sticky; /* Safari */ + position: sticky; +} + +nav #navStickyConnected { + position: fixed !important; + top:45px !important; + position: -webkit-sticky; /* Safari */ + position: sticky; +} + + /* Corps */ section { padding: 20px;