Commit graph

565 commits

Author SHA1 Message Date
gokaysatir
7ac677244b loleaflet: Writer, mobile: Selection handles are slightly off.
Change-Id: If81bb33f80f4f52733c3465567c4dc27abf5b8b5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98559
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 22:50:14 +02:00
Pedro Pinto Silva
c1730cf7c1 Desktop: Document name input and pencil: remove unused styles
and make sure that no default browser properties gets in the way

Change-Id: I2f536c47f4e7db73e4cf77bec03d42b8ad73bd07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98715
Tested-by: Jenkins
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-14 12:21:04 +02:00
Pedro Pinto Silva
6455178954 Desktop: document-name-input: add ellipsis together with gradient to show that the text overflows
Change-Id: Iec964d99a3582c78c83e9b6cb238ccb7cdc39b3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98669
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-14 10:37:33 +02:00
Szymon Kłos
1aed5ddaa4 mobile wizard: hide unsupported items in table panel
Change-Id: Ie8486a496cd30f48f600d7acc7960674f3864b7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98527
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-13 10:00:07 +02:00
Pedro Pinto Silva
e396ef0ba1 Remove default browser-specific outline
- happening on some browsers (black thick line)

Change-Id: I1f628f9b93caf3779564f0f4143a2cb599605699
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98529
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-13 08:55:54 +02:00
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