|9.1.08] Ecran de petite taille barre admin

This commit is contained in:
fredtempez 2019-05-27 16:04:07 +02:00
parent ddc20e40ca
commit 33c414e548
2 changed files with 10 additions and 12 deletions

View File

@ -2331,7 +2331,7 @@ class layout extends common {
}
// Mise à jour automatique
}
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user/edit/' . $this->getUser('id'). '/' . $_SESSION['csrf'] . '" data-tippy-content="Configurer mon compte">' . template::ico('user', 'right') . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '</a></li>';
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user/edit/' . $this->getUser('id'). '/' . $_SESSION['csrf'] . '" data-tippy-content="Configurer mon compte">' . template::ico('user', 'right') . '<span id="displayUsername">' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '</span></a></li>';
$rightItems .= '<li><a id="barLogout" href="' . helper::baseUrl() . 'user/logout" data-tippy-content="Se déconnecter">' . template::ico('logout') . '</a></li>';
// Barre de membre
echo '<div id="bar"><div class="container"><ul id="barLeft">' . $leftItems . '</ul><ul id="barRight">' . $rightItems . '</ul></div></div>';

View File

@ -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;