Commit graph

610 commits

Author SHA1 Message Date
Henry Castro
49bbd53f70 loleaflet: fix the show/hide close button
Explicit show/hide the close button if the page is loaded by
a WOPI Integrator.

Change-Id: I13d58bbbff03f283ed033a12a4489b610839748e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98443
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-10 15:51:51 +02:00
Szymon Kłos
12d5e0aabc notebookbar: enable Draw tab for writer
Change-Id: I32f91d35fbf2332e133db7194fd795b9471af7b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98487
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-10 14:50:46 +02:00
Pedro Pinto Silva
a84ff0ae46 Desktop: document name: center icon (pencil) & loading time
* be sure to wait from either the menu or the doc to appear to show the icon by adding the "editable" class on after onDocLayerInit and onWopiProps
* remove if (this.UserCanNotWriteRelative === false) as at that moment we still have no clue of its status

Change-Id: Icaaa921452b09d747be4fffab90bf1c93283718e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97128
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-10 09:58:30 +02:00
Szymon Kłos
c618fcba64 notebookbar: highlight styles on hover
Change-Id: I41a7715747cb22fe972547d4028c4c0e0899305e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98426
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-09 14:28:57 +02:00
Szymon Kłos
d12cc35045 Make cell markers less heavy on desktop
* Don't show selection resize markers for single cell
  selection on desktop
* Use smaller autofill marker on desktop, for single cell
  show it in the corner like in the core

Change-Id: Ic36c16213532ec8b615ee808f836b939f35245fd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98420
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-09 13:15:29 +02:00
Szymon Kłos
6e09157a3c mobile wizard: spinfield controls visible on smaller screens
On smaller screens value field was too long and plus/minus
buttons were under the field

Change-Id: If88db5702970f73bcc544497544777a3e0455762
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98418
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-09 12:02:14 +02:00
Dennis Francis
3c3adc3f5d add draggable splitters that controls the split-panes
Change-Id: I7d6f681fbacfd8b1a6699c52a8bd9d007f20b99d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98355
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:59:04 +02:00
Dennis Francis
4b2ff56750 introduce CanvasTileLayer with support for split-panes
which is derived from TileLayer but renders tiles on a canvas instead.

TODO: Generalize certain methods of TileLayer instead of a complete
re-implementation in CanvasTileLayer just because a few things need to
change.

Change-Id: I51001f83f8f663d194bc9c4b018fa9950c40f420
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98351
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-08 16:50:42 +02:00
Henry Castro
e5188272c7 android: fix thumbnails images when portrait orientation is set
Change-Id: I70aee6b569f78795487cbff736130e0e7413e852
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96123
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-07 17:29:32 +02:00
Szymon Kłos
7895ab9a29 notebookbar: add file & help tabs
Change-Id: Ie24b8ff6d541a95df61ff45a3a4ad1b26b08c596
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98254
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-07 15:36:25 +02:00
Dennis Francis
320550f582 row(col) header's canvas height(width) should not auto-adjust...
with the height(width) of the parent container, because if it does, the
header-canvas scales its contents to adjust to the new height(width) and
of course goes out of sync with the tiles.

This bug is visible when we do synchronous update of headers and if one
or both of the headers change size due to increase/decrease of
table-outline levels.

Change-Id: Ib65fd27f3598c7d58323d37c80ce2a147e594911
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98104
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:29:12 +02:00
Pranam Lashkari
99944f8842 leaflet: removed slide controls from draw
Change-Id: I5916d829b257729363125643cf3ba548f7e4e9db
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97759
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-07-03 12:49:50 +02:00
Mike Kaganski
ce2b95c99a Make the button animate on release, too
Change-Id: I188ee6b9af97e3018c06bca684cacce6fee1774c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97795
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-03 09:00:49 +02:00
Mike Kaganski
3ce83a527b Use child combinator instead of separate :active pseudo-classes
This avoids the image not rotating when touching the edge of the button,
when the image is not active.

Ref.: https://developer.mozilla.org/en-US/docs/Web/CSS/Child_combinator

Change-Id: I4a6d966743d6d07106dd0666f840d8d73ccdc8cc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97791
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-02 23:11:10 +02:00
Szymon Kłos
d8d3d1936a mobilewizard: add bottom padding
Change-Id: Ie1ae026a580c483f1a0a9cffffdd8eaac8679dca
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97706
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-02 11:03:58 +02:00
Szymon Kłos
c623459822 notebookbar: hidden in readonly mode
Change-Id: I2cfa4e7167f30cba252f53efea156f9e6afac98f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97513
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-30 14:28:11 +02:00
Marco Cecchetti
c96e0d7d23 leaflet: mobile: color picker has no automatic color control
Change-Id: I97b5e2b3e92c0c98a3835c71cd2d7d5d3b298ae4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97393
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-29 22:51:42 +02:00
Aron Budea
edaea8a389 loleaflet: use correct extension for default user avatar
Regression from 8bfa1318b246d7c9df2b1d22d2e8094205a53acd

Change-Id: I8be2ea394fd35c418b33aed42555cfa37d7bc7c9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97086
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-29 16:55:48 +02:00
Szymon Kłos
7205cc3013 notebookbar: number format field
Change-Id: Ie6047e917ecc7c78da5c9a45e6c253f451951555
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97231
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-29 08:42:55 +02:00
Tomaž Vajngerl
552462cecd Add support to show annotation marker for draw/impress
Change-Id: Ibaeaed97de5b5a87f4a46c4da593a3ee861e2399
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97335
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28 08:51:15 +02:00
Szymon Kłos
0a88551409 notebookbar: set correct height for calc
Change-Id: I0872167aea1b09e771a3f4a57a4e2e708506d8a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97106
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-25 14:34:16 +02:00
Pedro Pinto Silva
862486f6d2 Sidebar-panel has fixed width that is bigger than its contents, better fix
- Revert display:table from #sidebar-panel
- Set document-container position to right:0px when in presence of text or presentation documents that has (missing) the sidebar closed (sidebar-dock-wrapper display:none)

Change-Id: Id4416e9dfa0540dd774b83b41428f021f99f4f38
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96741
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-23 15:01:29 +02:00
Szymon Kłos
6168faa0b2 notebookbar: update css
Change-Id: I836b1b343ff6e16fcc7631d6239d1fc81c8aa6dd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96685
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-19 11:41:21 +02:00
Szymon Kłos
e794414e94 notebookbar: loading spinner for styles
Change-Id: If9c5094847d00e7148387cfd200166e20c1ed53f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96686
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-06-19 11:37:43 +02:00
Pedro Pinto Silva
40110f2ba7 Desktop: Set max size for document name's width
Change-Id: Ic35990efd9e240ed29ae9da1e72dcd6b58a4e933
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96053
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-11 12:54:38 +02:00
Pranam Lashkari
9994a5f0e5 leaflet: make slide selected border visible
Change-Id: I5778dd2b212eeaf9789219201cb60630859749d3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94595
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:33:58 +02:00
Pedro Pinto Silva
4ad75ca85d Desktop: Set (on LayerInit) document name's size dynamically according to its value
Change-Id: I5e15b50c4ecf51d8e713cfc0fe116b44294e1e45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95904
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-09 13:10:48 +02:00
gokaysatir
6f6c0a32e5 leaflet: update jquery-ui package with lightness them.
Change-Id: I8273c2f7d8b46f63f582c11c2c0e81c303e04bcb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:55:07 +02:00
Pedro Pinto Silva
51534dfce2 Desktop: Improve document-name-input states and discoverability
- display element as an input field (some users didn't know they could rename the document)
- use box-shadows instead of borders to increase the difference between states and so the text does not jump

Change-Id: Id00bbcb3be27688603afdedeb25f14ba515bfe33
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95277
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-01 13:53:52 +02:00
Pedro Pinto Silva
9535cd1e01 Sidebar-panel has fixed width that is bigger than its contents
causing a white placeholder to appear sometimes after the side panel (when it's open) and sometimes before (when it's closed)

Change-Id: I6247b2bbb90943c3520dc4f22ee07966bf03d1e3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95143
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-01 13:05:41 +02:00
Pedro Pinto Silva
cc61195faa Make sure document title bar is not above dialogs
by reducing the value introduced in db32e4fc38 and instead using the same z-index as its neighbour elment (main-menu) so 1000

Change-Id: I92d893d1a092e16a1455a6d1941a98e73ec63d1a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95103
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-01 09:29:55 +02:00
Szymon Kłos
37eccae0f0 jsdialog: style word count dialog
Change-Id: Ibffe28ddecbbcfcf01aac6e5a112c34134668633
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94692
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 17:03:38 +02:00
Tomaž Vajngerl
5299ec381c make indent markers nicer, put update after _TSContainer change
Make markers look more like in LO - smaller, more slick.
Move the _updateParagraphIndentations after _TSContainer position
is recalculated as we depend on that.

Change-Id: I08034f6b5402a1532b6f74203a465164327f4593
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94095
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13 10:05:11 +02:00
gokaysatir
221d666822 tdf#111535 Add First-line indent, paragraph indent, and tab spaces/Online part.
Change-Id: I7b0b6e205aa9af40b8331044b99c44df0bd4cced
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93250
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-12 13:28:08 +02:00
Tamás Zolnai
166c6d87f7 MSForms: add a small padding to the list items.
Change-Id: I4ba449a1c82ab046454a87d09f351879b5ac9f26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93981
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:21 +02:00
Andras Timar
daf8f68418 MSForms: white background of drop-down-field-list (not black :))
Change-Id: I633fff952f10d95ed120494dbb3f75dd4e9bbc2e
2020-05-10 08:37:07 +02:00
Andras Timar
c16218061e MSForms: white background of drop-down-field-list (it was transparent)
Change-Id: I315cdc29643d0fddb6704610cb4ed72c03ee3e8b
2020-05-10 08:29:21 +02:00
Tamás Zolnai
68017efb3c MSForms: remove weird blue border dispalyed around the drop down button.
Change-Id: Iddb696f10d9eb5364904021dd50431e11efc8dfb
2020-05-09 09:54:09 +02:00
Tamás Zolnai
98f4b50673 MSForms: do some styling of drop-down form field..
Change-Id: I70d4766dcf116e31cde18f67cfea6551197657a8
2020-05-09 09:54:08 +02:00
Tamás Zolnai
3bce2d45ab MSForms: build drop down list for drop-down field.
Change-Id: I42a68ebf8b0201d97779f2bfc43a8dabbad9e1c0
2020-05-09 09:54:08 +02:00
Tamás Zolnai
87b862a4e2 MSForms: styling form field button.
Change-Id: I4bbcc16aa8afb0fa7e8e84d34e1f18086f0b8615
2020-05-09 09:54:08 +02:00
Tamás Zolnai
d2629961e0 MSForms: handle formfieldbutton message.
Change-Id: I17243823d9bc0074b7fd015bca23de9399e0e26c
2020-05-09 09:54:08 +02:00
Szymon Kłos
0752bd2386 notebookbar: add shortcuts toolbar
Change-Id: Ia6ddecaca2d6940b9d5bc52684527cb6e67b6a37
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93707
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 12:27:37 +02:00
Szymon Kłos
10ebf1b737 notebookbar: improve disabled items styling
Change-Id: I8010300422c96affb132ad952a284af6c64b2fdc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93701
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 09:52:35 +02:00
Szymon Kłos
3bc5ffc0c0 jsdialog: introduce disabled state for unobutton
Change-Id: I5b81cbdda56acc64aac8516e3b97697a0c11395c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93654
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:34:41 +02:00
Szymon Kłos
a59be0f3cd notebookbar: impress tabs layout
Change-Id: Iecd60b8c5fdbe9cfabdf4af44a84d37292e13e31
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93652
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-08 08:33:17 +02:00
Szymon Kłos
db32e4fc38 notebookbar: don't cover the title field
Change-Id: I9e94863784150104d7588c8dac532343766f7154
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93619
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:33:36 +02:00
Szymon Kłos
cbaaeba977 notebookbar: layout calc tabs
Change-Id: Iea602cc35c07653fd6ed862d356981d8fffe5523
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93622
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-07 15:33:28 +02:00
Szymon Kłos
b9f62d50f8 notebookbar: layout the review tab in writer
Change-Id: I276a66176c2ee8272aa4baac73cb67f310786edb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93574
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-06 17:03:07 +02:00
Szymon Kłos
8ad6a05000 jsdialog: improve styling buttons and checkbox
Change-Id: I61102a2d459d475bb450c0c960840e140351d626
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93554
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-06 11:03:07 +02:00
Szymon Kłos
61a81af326 jsdialog: customize spell checking error label
Change-Id: Ieb977363bda76af51a4e5d41052fc378995e24ea
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93515
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-05 21:06:15 +02:00
Szymon Kłos
bda6903dea jsdialog: handle drawingarea
Change-Id: Ia3bc01e76c71edc7ac59e3157e7de5700397c21d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93466
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-05 20:35:06 +02:00
Szymon Kłos
79cd684047 jsdialog: full width combobox
Change-Id: I8df77720b975bcd34822d04cedbe4bd1c360e193
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93464
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-05 20:32:17 +02:00
Szymon Kłos
100396286b notebookbar: show inline labels for small icons
Change-Id: Id8128c2b043eb17d2f31773ba966a6ab9944ec04
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93303
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:54:01 +02:00
Szymon Kłos
147f1e1490 notebookbar: icons & layout the table tab
Change-Id: Icdc8cfca849ebf05ffa9feb0455cc324445b4e60
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93301
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:53:00 +02:00
Szymon Kłos
3c73ef8765 notebookbar: icons & layout the references tab
Change-Id: I52f319be7dc17cfe8376e673d46adb691f994df7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93300
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:40:29 +02:00
Szymon Kłos
23ec45bf58 notebookbar: icons & layout the layout tab
Change-Id: I69ded05cd834b8249bb057d55adcb2da14dd1a33
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93299
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:40:10 +02:00
Szymon Kłos
20ead20731 notebookbar: layout & icons for insert tab
Change-Id: I6b70d1a25ed701ad039b9bce608ea55bb768a7b3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93297
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:39:56 +02:00
Szymon Kłos
9e020d6024 notebookbar: icons & layout the home tab
Change-Id: I73f8b1dcc51994f89db6debce83bcf20dfa90c31
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93296
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:39:38 +02:00
Szymon Kłos
fb53f39fa8 notebookbar: correctly positioned in all apps
Change-Id: I33d467954f0da5b1ca0451287ff0e6911f3d6b50
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:29:13 +02:00
Szymon Kłos
878ecc8ab0 notebookbar: handle resize
Change-Id: Ife1be7147b9f11098ec7ed6264dd0b4a1e47c354
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93282
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:27:51 +02:00
Szymon Kłos
37a182a37e notebookbar: added placeholders for tabs
Change-Id: Ib5ad481e92d635b48713a67b608368a867f3e02a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93271
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:38:41 +02:00
Szymon Kłos
6d7f7345d3 notebookbar: implemented color picker control
Change-Id: I0f9609fd0068592e1fa8fcbc564c193fee06b20b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93275
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:12:17 +02:00
Szymon Kłos
bffdc690f4 notebookbar: create listboxes
Change-Id: I110ac8c2218dfb16ac5279c4df8b080e8534d4ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93274
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:11:54 +02:00
Szymon Kłos
53eaf895a7 notebookbar reset attributes control
Change-Id: I8e8551a5055f4dde776cbf88f6f7e3f1e6b62a7e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93266
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:29:15 +02:00
Szymon Kłos
a629f1b679 notebookbar: style elements hover
Change-Id: I13ee4fb26535683948c145d911aaf667a17069bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93264
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:28:44 +02:00
Szymon Kłos
83b1ce5460 notebookbar: reduce size
- changed icon size to 24x24
- table structure is flatter
- uno buttons without label

Change-Id: I63a68aac4f91633b10bfa93f5882b46b8a0fea12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93263
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:27:46 +02:00
Szymon Kłos
5503dcbbe7 notebookbar: align tabs with document name
Change-Id: I9d30832f4753bb6ed071a0bf1316959a6e26ad4d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93262
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:24:47 +02:00
Szymon Kłos
df6c63516d 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>
2020-05-01 13:03:23 +02:00
Pedro Pinto Silva
2567a9aab0 Desktop: Impress: fix slidesorter background color and
- make sure slidesorter and controls have the same bg (that has been reset on mobilewizard.css)
- Hide scroll Rail when there is no scrollable content in the slidesorter
- Add border to distinguish between slidesorter and #map(via box-shadow so it doesn't affect element's width)
- Add top border (that has been reset on mobilewizard.css)

Change-Id: I4314da758026bf7a374e29dcd5adce8f21631319
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93001
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-29 14:00:16 +02:00
Marco Cecchetti
6037d52bca loleaflet: mobile: remove sum and equal buttons from the formula bar
The sum and equal buttons has been removed from the formula bar.
Now, in the mobile case, the accept/cancel buttons are shown in place
of undo/redo buttons when the formula input bar gets focus.

Change-Id: I378059396df3566d5bf3c83b2defa99fc669054d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89454
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-04-29 13:27:53 +02:00
Marco Cecchetti
7f105d02a8 loleaflet: function wizard for all functions subdivided in categories
Change-Id: Ib8e6bb4155ab3a0562c7a76a6eeb58c4d725058d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89200
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-04-29 13:27:21 +02:00
Szymon Kłos
bbb16f08cb jsdialog: edit field style
Change-Id: Iae2e6eba39394853b8270736cad373b136cbca3f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93044
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-28 11:43:39 +02:00
Szymon Kłos
a5016d547c jsdialog: style dialogs
Change-Id: Iaac2c5521db66ea42900756584262463ae527892
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93038
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-28 11:22:43 +02:00
Szymon Kłos
f91d9b38ca jsdialog: style disabled checkboxes
Change-Id: I274f342ee8fb24ab0d0ff3d91875ca3f7332ff7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93034
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-28 10:54:48 +02:00
Szymon Kłos
6230ad4c27 jsdialog: style disabled listboxes
Change-Id: I2dbe1b63bc4266261cefb45d472aef45c3b6fd3f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93033
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-28 10:44:07 +02:00
Szymon Kłos
b659be0038 jsdialog: add style for disabled button
Change-Id: I034470a988a79abaed8eddcb97b84a02a54dcf12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93032
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-28 10:40:55 +02:00
Andras Timar
33000dfded typo fixes in comments and code
Change-Id: I6f31e050aab701e31064e1abc9429dce0a50c279
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92953
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-26 23:19:52 +02:00
Pranam Lashkari
b776e9bf69 leaflet: enabled scrolling on menu
scrolling in hamburger was not possible
This caused problem especially in landscape mode

Change-Id: I41bff27511390c9a93f3a613f04da377dd3720a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92835
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-25 10:01:27 +02:00
Pedro Pinto Silva
8f05c15656 Mobile: mWizard: disabled input fields: make sure both image and spinfield controls do not stay active
And make sure the js listener is only added when the inputfield is enabled (fixing useless callbacks and changes on html)

Change-Id: I4f4f2b4430b1c43143f95ab9d9fe075c8e1f49b8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92763
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-23 14:31:31 +02:00
Pedro Pinto Silva
80848ea8e9 Mobile: mobilewizard: inputspinner: fix disabled state
Change-Id: I5e6ef1572b578c3f34e52f0e4795dc4dfc71865c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92639
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-22 14:34:47 +02:00
Pedro Pinto Silva
411ba06ea3 Mobile: Calc: Adding CSS rules for when #formulabar has inputbar_multiline as a css class
meaning adding css rules for when the inputbar is in the multiline mode (expanded)

Change-Id: Ib8557f1e502c06e50a26b0a94ccab793b44feda0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92570
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-20 16:38:57 +02:00
Szymon Kłos
610e2dbd58 Move user list to a separate file
Change-Id: I1cd8881d8ea342b96bd5ea5bd4972f971c89881d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92210
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-15 16:51:48 +02:00
Pedro Pinto Silva
4e78ccb523 Mobile: Calc: remove display rule for denominator places and add corresponding asset
Change-Id: I278c4ae9ca474cfaa622b22553888aaa26d86da6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92245
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-15 10:40:04 +02:00
Tomaž Vajngerl
63b423b004 change tabstop handling on the ruler, add markers, use Hammer.js
This changes handling of tabstops on the ruler:

* Tabstops are now updated from the 'tabstoplistupdate'.
* For touch handling we now use Hammer.js so it is easier to handle
with.
* Markers for different types are added as SVG's.
* Rework handling and calculating positions to be much simpler and
logical (no additions of positions, which can cause rounding
errors).
* Use .uno:ChangeTabStop to send tabstop changes.

Change-Id: I966dfa2c17652ab74e3fd8912622cf6c951e514d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92142
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-04-14 20:36:11 +02:00
Pranam Lashkari
8bc03a5a37 "+" position corrected for active state add sheets button
This chage only affects mobile view
> moving changes to new files
> Increase document container's bottom position (it was cropping tabs container)
> Fix default browser borders that were afecting position

> Desktop
> Also Fix document container on desktop
> Fix icons' elements being cropped (perv, next and plus)
> Adjust Margins for those w2ui elements

> Discovered that plus.svg whas not centered and fixed it

Change-Id: Id54a491e9c2a6afef468aca8d858bf91b83d03ce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91270
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-09 16:33:44 +02:00
Pedro Pinto Silva
504ad7c48e Mobile: Calc: mWizard: format number: add missing icons and adjust css
Change-Id: I50e0c0c96d8d13082c977ca2538d2f4c4cc89a24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91826
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-07 15:43:17 +02:00
Pedro Pinto Silva
63744d641b Mobile: mWizard: make sure every row item with a checkbox is properly aligned by
- Add class
- make sure there is no float position affecting those
(previously that ^css rule was applied to all elements that have in their id the prefix checkbutton via "div[id^=checkbutton]" but not all elements were being set with that convention in mind)

Change-Id: I285955d956a60002065421c4e8384df6359c4d68
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91806
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-07 11:46:54 +02:00
Andras Timar
4829c055e9 use the correct icon for 'Optimal wrap'
Change-Id: Ia1457162ab76eb05193ac95a45e893a969aed42c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91777
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-06 20:53:09 +02:00
Andras Timar
8f45843b78 typo: sinfieldcontrols -> spinfieldcontrols
Change-Id: Id5312df67259cfc177e29635fb27ba2498c58100
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91776
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-06 20:39:44 +02:00
Andras Timar
9394f7a34d do not display (empty) image in Franction number format Denominator places field
Change-Id: Ie9c4bb72cbfab4a5f67dad3536811eddce6feea3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91775
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-06 20:39:22 +02:00
Pedro Pinto Silva
496c4162a8 Calc: desktop: formula bar: Decrease size of selection handles and adjust position, improving
and fixing changes started with b906c6985a

Change-Id: Ic9927a725240658d03ed764b1136088edc8d99f3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91091
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-06 12:13:28 +02:00
Jan Holesovsky
0f96ad6569 tablet: Avoid gap between menu and the upper toolbar.
Change-Id: I25845dbe6ddae8f35885b94a9d01902f3a4daa9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91649
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 12:06:55 +02:00
Jan Holesovsky
9af7932213 tablet: Make the upper toolbar scrollable with swiping as on phones.
Change-Id: I2118900f0f37fe6714691d1a9c054898cdac8a95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91647
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 12:06:29 +02:00
Jan Holesovsky
888649f9dc mobile: Seems that now we can remove the last remaining @media selector too.
Change-Id: Ife182ef2d9ce56a2bb7b6a6bdf8240c483880ddb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91630
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 12:06:12 +02:00
Jan Holesovsky
3cc25d6887 The sudden removal of 'Last modified...' when resizing looks odd.
Change-Id: Ia15c1b9b1dee2e7e87fcd5bd3ba660dce69e12c0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91629
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 11:13:44 +02:00
Jan Holesovsky
351b231d22 mobile, tablet: Disable tooltips when on touch devices.
Change-Id: Ic5cebdcb8c3244643f09131c079a19d8ffd4e701
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91628
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 10:36:56 +02:00
Jan Holesovsky
67d14eafd2 mobile: More portrait / landscape handling in Impress' mobile-wizard.
Change-Id: I8592db63e9112b1f879e5a10351308fbdd97e28d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91582
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-06 10:34:41 +02:00
Jan Holesovsky
c46168bb77 mobile: Let's remove the smaller padding for really small phones.
Apparently there were more stuff added mobilewizard.css and nobody cared
to update these, so I suspect better not to have this, because nobody
will ever test it again anyway.

Change-Id: I591fe2b52621cde4f1d7d1f087555f98c49731f2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91575
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 16:38:20 +02:00
Jan Holesovsky
53a668b179 mobile: Drag and drop target is smaller on mobile.
Change-Id: Ic17eac122578bbefed75e1b8a9569d3ae622cbc4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91574
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 16:37:59 +02:00