loleaflet/css/notebookbar.css | 32 ++++++++++++++++++-- loleaflet/images/lc_footnotedialog.svg | 1 loleaflet/images/lc_insertcaptiondialog.svg | 1 loleaflet/images/lc_updateall.svg | 1 loleaflet/images/lc_updatecurindex.svg | 1 loleaflet/src/control/Control.NotebookbarBuilder.js | 2 + 6 files changed, 35 insertions(+), 3 deletions(-)
New commits: commit 3c73ef8765a7ddfa3568b156385b3786b4784f38 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Thu Apr 30 12:40:56 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Fri May 1 21:40:29 2020 +0200 notebookbar: icons & layout the references tab Change-Id: I52f319be7dc17cfe8376e673d46adb691f994df7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93300 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/loleaflet/css/notebookbar.css b/loleaflet/css/notebookbar.css index 85c0c077f..fbbe66873 100644 --- a/loleaflet/css/notebookbar.css +++ b/loleaflet/css/notebookbar.css @@ -139,7 +139,8 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb #DrawText.notebookbar img, #VerticalText.notebookbar img, #BasicShapes.notebookbar img, -#table-Insert-Section-Symbol #CharmapControl.notebookbar img{ +#table-Insert-Section-Symbol #CharmapControl.notebookbar img +{ height: 32px !important; width: 32px !important; } @@ -155,7 +156,8 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb #ObjectForwardOne.notebookbar img, #SendToBack.notebookbar img, #ObjectBackOne.notebookbar img, -#PageDialog.notebookbar img { +#PageDialog.notebookbar img +{ height: 32px !important; width: 32px !important; } @@ -167,6 +169,30 @@ div[id*='Row'].notebookbar, div[id*='Column'].notebookbar, #SendToBack.notebookb #InsertBreak.notebookbar, #Watermark.notebookbar, #LineNumberingDialog.notebookbar - { +{ + margin-top: 10px; +} + +/* References Tab */ + +#table-ReferencesBox +{ + margin-top: 5px; +} + +#InsertMultiIndex.notebookbar img, +#InsertFootnote.notebookbar img, +#InsertReferenceField.notebookbar img, +#InsertAuthoritiesEntry.notebookbar img, +#UpdateAll.notebookbar img +{ + height: 32px !important; + width: 32px !important; +} + +#UpdateCurIndex.notebookbar, +#FootnoteDialog.notebookbar, +#InsertCaptionDialog.notebookbar +{ margin-top: 10px; } \ No newline at end of file diff --git a/loleaflet/images/lc_footnotedialog.svg b/loleaflet/images/lc_footnotedialog.svg new file mode 100644 index 000000000..f1e621a3c --- /dev/null +++ b/loleaflet/images/lc_footnotedialog.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m9 3v5.5c0 .277-.223.5-.5.5h-3.5v12h13v-4.892578c-.157532.018023-.317687.020854-.474609-.019531-.01639-.00417-.032669-.008672-.048829-.013672-.266932-.083795-.579671-.239065-.80664-.5625l-.47461-.646485c-.305358-.41509-.245328-.994252.138672-1.33789l1.666016-1.488282v-9.039062z" fill="#fff"/><path d="m9 2v1h9v9.039062l1-.894531v-8.144531c0-.554-.446-1-1-1zm-5 7v12c0 .554.446 1 1 1h13 .972656v-6.355469l-.066406.064453c-.02003.01975-.04088.038651-.0625.056641-.206896.170095-.516862.304399-.84375.341797v4.892578h-13v-12z" fill="#808080"/><path d="m19.972751 22v-8.720406l-1.763785 1.712613c-.14766.121396-.292243.163885-.433751.127466-.135355-.04249-.230718-.103185-.286092-.182094l-.489123-.664643 3.662167-3.272936h1.337833v11 1h-2.027249z" fill="#4d82b8"/><g fill="#eac282"><path d="m2.4999352 7.4999941 5.0000589-5.0000589v5.0000589z" fill-rule="evenodd" stroke="#eac282" stroke-linecap="round" stroke-linejoin="round" st roke-width="1.000012"/><rect height="6" ry=".5" width="1" x="1" y="1"/><rect height="1" ry=".5" width="6" x="1" y="1"/></g></svg> \ No newline at end of file diff --git a/loleaflet/images/lc_insertcaptiondialog.svg b/loleaflet/images/lc_insertcaptiondialog.svg new file mode 100644 index 000000000..5268ce5da --- /dev/null +++ b/loleaflet/images/lc_insertcaptiondialog.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m3 3h18v15h-18z" fill="#fff"/><path d="m2 2v17h20v-17zm1 1h18v15h-18z" fill="#808080"/><circle cx="7.5" cy="7.5" fill="#eac282" r="2.5"/><path d="m3 18c .4875945 0 6-5 6-5l2 1.593356 5-4.593356 5 5v3z" fill="#808080" fill-rule="evenodd"/><rect fill="#4d82b8" height="2" ry="1" width="3" x="2" y="20"/><rect fill="#4d82b8" height="2" ry="1" width="15" x="7" y="20"/></svg> \ No newline at end of file diff --git a/loleaflet/images/lc_updateall.svg b/loleaflet/images/lc_updateall.svg new file mode 100644 index 000000000..6e844f32e --- /dev/null +++ b/loleaflet/images/lc_updateall.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m12 2a10 10 0 0 0 -5.5097656 1.6621094l.4453125.4453125.2773437.2773437 3.7226564 3.7226563.707031-.7070313-3.5136718-3.5136718a9 9 0 0 1 3.8710938-.8867188 9 9 0 0 1 9 9 9 9 0 0 1 -1.388672 4.783203l.726563.726563a10 10 0 0 0 1.662109-5.509766 10 10 0 0 0 -10-10zm-8.3378906 4.4902344a10 10 0 0 0 -1.6621094 5.5097656 10 10 0 0 0 10 10 10 10 0 0 0 5.509766-1.662109l-.669922-.669922.005859-.003907-4-4-.707031.707032 3.740234 3.740234a9 9 0 0 1 -3.878906.888672 9 9 0 0 1 -9-9 9 9 0 0 1 1.3886719-4.7832031z" fill="#4d82b8" fill-rule="evenodd"/></svg> \ No newline at end of file diff --git a/loleaflet/images/lc_updatecurindex.svg b/loleaflet/images/lc_updatecurindex.svg new file mode 100644 index 000000000..e26fc6a01 --- /dev/null +++ b/loleaflet/images/lc_updatecurindex.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m5 3v18h14v-14.2705905l-4-3.7294095z" fill="#fff"/><path d="m5 2c-.554 0-1 .446-1 1v18c0 .554.446 1 1 1h14c.554 0 1-.446 1-1v-10.109375-3.6412209-.2079239c0-.4506799.09887-.4265951-.604637-1.0675892l-3.307389-3.2370335c-.709525-.7368575-.711223-.7368575-1.094804-.7368575h-.331557-.661613zm0 1h9v4c0 .554.446 1 1 1h4v13h-14z" fill="#808080"/><path d="m15 7h4l-4-4z" fill="#fff" fill-rule="evenodd"/><g fill="#4d82b8"><rect height="2" ry="1" width="7" x="6" y="5"/><rect height="1" ry=".491011" width="8" x="6" y="9"/><rect height="1" ry=".473034" width="2" x="16" y="9"/><rect height="1" ry=".491011" width="8" x="6" y="12"/><rect height="1" ry=".473034" width="2" x="16" y="12"/><rect height="1" ry=".491011" width="8" x="6" y="15"/><rect height="1" ry=".473034" width="2" x="16" y="15"/><rect height="1" ry=".491011" width="8" x="6" y="18"/><rect height="1" ry=".473034" width="2" x="16" y="18"/></g></svg> \ No newline at end of file diff --git a/loleaflet/src/control/Control.NotebookbarBuilder.js b/loleaflet/src/control/Control.NotebookbarBuilder.js index d9c13f358..9bd26f66e 100644 --- a/loleaflet/src/control/Control.NotebookbarBuilder.js +++ b/loleaflet/src/control/Control.NotebookbarBuilder.js @@ -69,6 +69,8 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({ this._toolitemHandlers['.uno:AttributePageSize'] = function() {}; this._toolitemHandlers['.uno:PageColumnType'] = function() {}; this._toolitemHandlers['.uno:SelectObject'] = function() {}; + this._toolitemHandlers['.uno:BibliographyComponent'] = function() {}; + this._toolitemHandlers['.uno:ViewDataSourceBrowser'] = function() {}; this._toolitemHandlers['vnd.sun.star.findbar:FocusToFindbar'] = function() {}; }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits