From 67fa9b0f2a68c087e5b48bdfef6c68ea05fa64fd Mon Sep 17 00:00:00 2001 From: SylvainLelievre Date: Sun, 24 Oct 2021 09:57:25 +0200 Subject: [PATCH] =?UTF-8?q?Option=20masquage=20banni=C3=A8re=20en=20petit?= =?UTF-8?q?=20=C3=A9cran?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/layout/common.css | 12 ++++++++++++ core/layout/main.php | 8 +++++--- core/module/theme/theme.php | 3 ++- core/module/theme/view/header/header.js.php | 10 +++++++++- core/module/theme/view/header/header.php | 6 +++++- 5 files changed, 33 insertions(+), 6 deletions(-) diff --git a/core/layout/common.css b/core/layout/common.css index 003bf005..93f5547f 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -529,6 +529,11 @@ nav #burgerText { margin: 15px 0 0 10px; } +nav #burgerLogo { + float: left; + margin: 5px 0 0 5px; +} + nav ul { padding: 0; margin: 0; @@ -1715,3 +1720,10 @@ th.col12 { .helpDisplayButton { cursor: pointer; } + +/* Bannière masquable en petit écran*/ +@media screen and (max-width: 768px) { + .smallDisplayNone{ + display : none; + } +} diff --git a/core/layout/main.php b/core/layout/main.php index 880c496a..d163f4ee 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -35,7 +35,7 @@ getData(['theme', 'menu', 'position']) === 'top' AND $this->getData(['theme', 'menu', 'fixed']) === true - AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD',true) + AND $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD',true) AND $this->getUser('group') > self::GROUP_MEMBER) { echo '