[Libreoffice-commits] online.git: loleaflet/html loleaflet/src
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 14 18:22:48 UTC 2019
loleaflet/html/loleaflet.html.m4 | 2 +-
loleaflet/src/control/Control.Menubar.js | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit a4fb071ecfc687c639ef5ef3cc61ab549ba42ac6
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Oct 14 15:35:34 2019 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon Oct 14 20:22:25 2019 +0200
menu-to-mobile-wizard: Show a blue overlay on "active" main menu button
Change-Id: Ief09e5352a404ad8da486198c3f03b4e4cfce92f
diff --git a/loleaflet/html/loleaflet.html.m4 b/loleaflet/html/loleaflet.html.m4
index 7cab6343a..ed0efcc85 100644
--- a/loleaflet/html/loleaflet.html.m4
+++ b/loleaflet/html/loleaflet.html.m4
@@ -143,7 +143,7 @@ ifelse(MOBILEAPP,[true],
<td id="toolbar-up"></td>
<td id="toolbar-hamburger">
<label class="main-menu-btn" for="main-menu-state">
- <span class="main-menu-btn-icon"></span>
+ <span class="main-menu-btn-icon" id="main-menu-btn-icon"></span>
</label>
</td>
</tr>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index fd4199e2a..bdb66f948 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -654,6 +654,7 @@ L.Control.Menubar = L.Control.extend({
window.mobileMenuWizard = true;
var menuData = self._map.menubar.generateFullMenuStructure();
self._map.fire('mobilewizard', menuData);
+ $('#main-menu-btn-icon').css('filter', 'drop-shadow(0px 0px 4px #0b87e7)')
}
} else if (!L.Browser.mobile) {
$menu.show().slideUp(250, function() { $menu.css('display', ''); });
@@ -661,6 +662,7 @@ L.Control.Menubar = L.Control.extend({
} else {
window.mobileMenuWizard = false;
self._map.fire('closemobilewizard');
+ $('#main-menu-btn-icon').css('filter', '')
}
});
// hide mobile menu beforeunload
More information about the Libreoffice-commits
mailing list