[Libreoffice-commits] online.git: loleaflet/dist

Pranav Kant pranavk at collabora.com
Tue May 24 06:04:00 UTC 2016


 loleaflet/dist/loleaflet.css      |    1 +
 loleaflet/dist/toolbar.css        |    8 ++++++--
 loleaflet/dist/toolbar/toolbar.js |    1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 37b71b2289d1f465d8d5096fec8f803ba5f1942c
Author: Pranav Kant <pranavk at collabora.com>
Date:   Tue May 24 11:27:12 2016 +0530

    loleaflet: Leave 125px from left for branding logo
    
    Change-Id: I92dbf92e4d140c8975198b14f6560c1d309202a8

diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 15d7f9e..c7b4bed 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -23,6 +23,7 @@
     height: 25px;
     right: 0;
     left: 0;
+    padding-left: 125px;
     z-index: 1030;
 }
 
diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css
index d5545af..42ae366 100644
--- a/loleaflet/dist/toolbar.css
+++ b/loleaflet/dist/toolbar.css
@@ -58,10 +58,14 @@
 }
 
 /* center the toolbar */
-#tb_presentation-toolbar_item_left,
-#tb_toolbar-up_item_left {
+#tb_presentation-toolbar_item_left {
     width: 50%;
 }
+/* leave space for branding logo */
+#tb_toolbar-up_item_left {
+    width: 0;
+    padding-left: 125px;
+}
 
 #formulaInput {
     height: 29px;
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index d1d0c92..e9c4cec 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -14,6 +14,7 @@ $(function () {
 	$('#toolbar-up').w2toolbar({
 		name: 'toolbar-up',
 		items: [
+			{ type: 'html', id: 'left' },
 			{ type: 'button',  id: 'save', img: 'save', hint: _("Save"), uno: 'Save' },
 			{ type: 'break' },
 			{ type: 'button',  id: 'undo',  img: 'undo', hint: _("Undo"), uno: 'Undo' },


More information about the Libreoffice-commits mailing list