From 0d0a914f8750633883550ec29847ff575e00e49e Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 29 Jun 2022 12:32:14 -0400 Subject: [PATCH] Standalone: Tweak css/menubar-standalone.css for the page title and mobile support --- css/menubar-standalone.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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; + } + +} -- 2.25.1