notebookbar: add stylesheet

Change-Id: Ide159a6df5e9c3ffa9d64fc88b78f3902a991836
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93255
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
This commit is contained in:
Szymon Kłos 2020-04-22 13:11:29 +02:00
parent 8fb074b6bf
commit df6c63516d
3 changed files with 8 additions and 1 deletions

View file

@ -123,6 +123,7 @@ LOLEAFLET_CSS =\
$(builddir)/node_modules/smartmenus/dist/css/sm-simple/sm-simple.css \
$(srcdir)/css/menubar.css \
$(srcdir)/css/mobilewizard.css \
$(srcdir)/css/notebookbar.css \
$(srcdir)/css/vex.css \
$(builddir)/node_modules/jquery-ui/themes/ui-lightness/jquery-ui.css

View file

@ -0,0 +1,6 @@
.ui-tab.notebookbar {
float: left;
margin-right: 10px;
font-size: 12pt;
}

View file

@ -13,7 +13,7 @@ L.Control.Notebookbar = L.Control.extend({
this.map = map;
var homeTab = JSON.parse(this.getHomeTab());
var builder = new L.control.notebookbarBuilder({mobileWizard: this, map: this.map});
var builder = new L.control.notebookbarBuilder({mobileWizard: this, map: this.map, cssClass: 'notebookbar'});
builder.build($('#toolbar-wrapper').get(0), [homeTab]);
},