From bf7df9fa661ef99b2c9930b5a8ca7d5e3e6c6fa6 Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Tue, 10 Jan 2017 21:18:05 +0530 Subject: [PATCH] loleaflet: Get rid of all fixed position Change-Id: I104882d995722c14ddefeecf579d1233f37371d6 --- loleaflet/dist/loleaflet.html | 1 - loleaflet/dist/menubar.css | 12 ++++++++---- loleaflet/dist/toolbar.css | 13 ------------- 3 files changed, 8 insertions(+), 18 deletions(-) diff --git a/loleaflet/dist/loleaflet.html b/loleaflet/dist/loleaflet.html index 6b9d590ca..58a9d342e 100644 --- a/loleaflet/dist/loleaflet.html +++ b/loleaflet/dist/loleaflet.html @@ -43,7 +43,6 @@
-
diff --git a/loleaflet/dist/menubar.css b/loleaflet/dist/menubar.css index b1685aa91..ade95185c 100644 --- a/loleaflet/dist/menubar.css +++ b/loleaflet/dist/menubar.css @@ -1,15 +1,19 @@ #main-menu { top: 0; - position: fixed; height: 25px; - display: inline-flex; - right: 0; - left: 0; padding-left: 125px; z-index: 1000; outline: none; } +.header-wrapper { + background: #efefef; /* Fill up white areas with grey */ + min-height: 70px; /* Map starts from 70px onwards in case of writer, calc */ +} +.main-nav { + height: 30px; /* on mouseover menubar items, border emerges */ +} + /* Customizations to sm-simple theme to make it look like LO menu, lo-menu class */ .lo-menu { border: none; diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css index 7451b4034..d4eee2977 100644 --- a/loleaflet/dist/toolbar.css +++ b/loleaflet/dist/toolbar.css @@ -1,21 +1,8 @@ -#toolbar { - position: fixed; - top: 0; - left: 0; - right: 0; - padding-bottom: 15px; - text-align: center; -} - #toolbar-up { left: 0; right: 0; text-align: center; - padding: 6px; - padding-top: 6px; - padding-bottom: 4px; z-index: 1000; - margin-top: 25px; } #toolbar-down {