From 33c414e548d3a627a3ea551e01250fba80e00201 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 27 May 2019 16:04:07 +0200 Subject: [PATCH] |9.1.08] Ecran de petite taille barre admin --- core/core.php | 2 +- core/layout/common.css | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/core/core.php b/core/core.php index 562c0029..37e46712 100644 --- a/core/core.php +++ b/core/core.php @@ -2331,7 +2331,7 @@ class layout extends common { } // Mise à jour automatique } - $rightItems .= '
  • ' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; + $rightItems .= '
  • ' . template::ico('user', 'right') . '' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; $rightItems .= '
  • ' . template::ico('logout') . '
  • '; // Barre de membre echo '
      ' . $leftItems . '
      ' . $rightItems . '
    '; diff --git a/core/layout/common.css b/core/layout/common.css index 4b674c06..ac7be8bc 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -341,23 +341,21 @@ td > .col12 { height: auto; } #bar #barSelectPage { - width: 70% !important; + width: 55% !important; + font-size: 0.8em !important; + } + #bar #barLeft { + font-size: 2em; } #bar #barRight { - font-size: 1.2em; - } - #bar #barSelectPage { - width: 80%; - font-size: 120%; - } -} - -@media (max-width: 992px) { - #bar .zwiico-user { + font-size: 2.5em; + } + #bar #displayUsername { display: none; } } + /* Site */ #site { margin: 20px auto;