diff --git a/core/core.php b/core/core.php index af891d42..3c44f4be 100644 --- a/core/core.php +++ b/core/core.php @@ -2288,12 +2288,8 @@ class layout extends common { } $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; $rightItems .= '
  • ' . template::ico('logout') . '
  • '; - // Barre de membre pleine ou limitée selon les droits de l'utilisateur - if($this->getUser('group') === self::GROUP_MEMBER) { - echo '
    '; - } else { - echo '
    '; - } + // Barre de membre + echo '
    '; } } diff --git a/core/layout/common.css b/core/layout/common.css index 682aa49d..5ed2694a 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -235,13 +235,20 @@ td > .col12 { padding-left: 5px; /* Pour éviter que le select touche le bord lorsque la fenêtre est redimensionnée */ margin: 0 -10px; text-align: right; + position: -webkit-sticky; /* Safari */ + position: sticky; + top: 0; + z-index: 19; } /* Barre pour les membres */ #bar #barMember { float: right; font-size: .8em; position: fixed; - z-index: 60; + position: -webkit-sticky; /* Safari */ + position: sticky; + top: 0; + z-index: 19; right: 10px; top: 10px;; padding: 5px;