From: Mathieu Lutfy Date: Wed, 29 Jun 2022 16:32:14 +0000 (-0400) Subject: Standalone: Tweak css/menubar-standalone.css for the page title and mobile support X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0d0a914f8750633883550ec29847ff575e00e49e;p=civicrm-core.git Standalone: Tweak css/menubar-standalone.css for the page title and mobile support --- diff --git a/css/menubar-standalone.css b/css/menubar-standalone.css index 62705ce40b..2aff8f0368 100644 --- a/css/menubar-standalone.css +++ b/css/menubar-standalone.css @@ -1 +1,24 @@ -/* This file must exist otherwise the menu builder crashes */ +@media (min-width: $breakMin) { + + body.crm-menubar-visible.crm-menubar-over-cms-menu { + border-top: 0 none !important; + margin-top: $menubarHeight; + } + body.crm-menubar-visible.crm-menubar-over-cms-menu.crm-menubar-wrapped { + margin-top: calc($menubarHeight * 2); + } + body.crm-menubar-visible.crm-menubar-over-cms-menu #admin-bar { + visibility: hidden; + } + +} +@media (max-width: $breakMax) { + + body #civicrm-menu-nav .crm-menubar-toggle-btn { + position: absolute; + right: 3px; + top: 0; + margin-top: 3px; + } + +}