Commit graph

649 commits

Author SHA1 Message Date
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
Jan Holesovsky
7cd2beb866 mobile: Handle the portrait / landscape for slide sorter in JS too.
Change-Id: I214501fac516f4d581d3c1e8a95650a87db1a4aa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91570
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 16:37:45 +02:00
Pedro Pinto Silva
6b096960fd Mobile: Tollbar-up: mkae sure the bezel under the toolbar-up is visisble all the way
Change-Id: I20f6188eec56c1ef193a9f1efdfd8b7d7a60f169
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91568
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-02 15:18:44 +02:00
Jan Holesovsky
ef1a14e175 mobile: Move the slidesorter handling to device-mobile.css.
Don't use @media for portrait / landscape handling either.

Change-Id: I5a67488e862b59878284bbc5d0ef067a1ff7f60a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91559
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 13:01:57 +02:00
Jan Holesovsky
26219bb4a2 mobile: No ruler on mobile phones.
Change-Id: I8641830f69276ee7bbfc1c29330e98731cfd26bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91548
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 12:26:13 +02:00
Jan Holesovsky
b934b84ba0 mobile: Move the toolbar-related pieces.
Change-Id: I3cedfbdb6641d3e58f8faf16846cc25beb36e768
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91481
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:07:04 +02:00
Jan Holesovsky
f3635714fd mobile: Move the vex-related pieces.
Change-Id: I5b21d6adfef1443ecea8936788d5eca8d4b83c34
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91480
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:06:54 +02:00
Jan Holesovsky
e42987ecf5 mobile: Move the spreadsheet.css related bits to device-mobile.css.
Change-Id: I711a578462729e3f1b5f7029565dd8edd1f7caf8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91479
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:06:40 +02:00
Jan Holesovsky
4c8f194183 Mobile: Markers-related bits moved.
Change-Id: I8baf9e3b4bc384d6c2ef62c5e8dd2ad3c801fe20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91478
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:06:07 +02:00
Jan Holesovsky
dd8d65552b mobile: Scrollbar related bits.
Change-Id: I66f826045900555d02a5725aed0163f7007ec662
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91477
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:05:35 +02:00
Jan Holesovsky
ecf0951bd5 mobile: Less "elliptical" look of the hamburger menu background.
(When the menu is active.)

Change-Id: Ifdd3dd951aef4c14e596b659f2a05c1288852ca8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91476
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:04:08 +02:00
Jan Holesovsky
1fb9785217 mobile: No need for @media in mobilewizard.css.
The mobile-wizard is not shown on desktop at all, avoid the @media.
Should there be some bits that are mobile-phone-only, they should go to
mobile.css.

Change-Id: Iae50779df030586eadd44cbd5a2cb59939a29e47
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91475
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:04:02 +02:00
Jan Holesovsky
ebcd7816b4 mobile: More menu-related stuff moved to device-mobile.css.
Change-Id: I33df7cbfe4835caf2d9757e8f357f456b9d1e777
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91474
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-02 09:03:54 +02:00
Jan Holesovsky
af8669b9d4 mobile: Kill most of the menu styling.
I believe this is not relevant any more, since we are using the
mobile-wizard for menus on the phones these days.

Change-Id: Ia6b16fcde1b1e4278a8d40c58968c44492248b69
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91443
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-01 08:53:22 +02:00
Jan Holesovsky
5c95448308 mobile: Position the hamburger icon at the right place already during load.
Change-Id: I93096a3239feccfe5268799b3fbd5544928e5372
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91442
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-01 08:52:52 +02:00
Jan Holesovsky
a17c651d6d mobile: Move the hamburger menu.
Change-Id: I33da508dc9e8c6a58e85bcca197b6cc39273619d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91441
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-04-01 08:51:12 +02:00
Michael Meeks
d2f6af52c0 phone: include border style setting with custom control.
Change-Id: I763b31fc1021f03d3229b6162d4e182ba0383d8a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90746
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-04-01 07:15:38 +02:00
Jan Holesovsky
9978752258 mobile detection: Create a separate device-*.css for the phone/tablet/desktop.
The problem is that the @media-based detection often disagrees with the
JS-based detection which then leads to many problems - most notably that
part of the UI behaves as if it was a tablet, and the other part as if
was a mobile phone, leading to a terrible user experience.

This commit changes it so that there is only one way how to detect if
we are on mobile phone, tablet or desktop: using the JavaScript, and we
will load the appropriate css accordingly.

Only one @media-based rule is converted as an example, the rest will
follow.

Change-Id: Id7bfb58ca12264904b3329db1542ae6b54893f11
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91416
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-31 20:31:49 +02:00
Tor Lillqvist
7e992e4d4f Hopefully better fix for the missing w2ui-scroll-right in iOS app on iPad
Revert more of b62dcc0255, and also
revert 418181411f.

Now I seem to get a visualViewport with scale 1 and width 768
consistently, which is a relief.

Change-Id: Ia619a51047dd2a05ba32d6a203c3095198d3b4d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91436
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-31 19:35:20 +02:00
mert
4dad970c01 mobilewizard: style clear direct formatting button
Change-Id: If34aad5035270d542b49d07c3aa7fe100184ce19
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91418
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-03-31 17:51:39 +02:00
Pranam Lashkari
4a05263ff8 leaflet: solved Slide previews being cut off in vertical orientation
Change-Id: Id288529d03301e5a13479fa27b96cf3c1a6f1ec1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91187
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-31 10:56:21 +02:00
Pranam Lashkari
0b4c7fd66c leaflet-css: follow up for making sheet tab taller
"+" button for adding sheets aligned
sheets name aligned to center

Change-Id: Ie180ba668172ed4853bc43e49a1c143c56ef80ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89607
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-27 09:58:45 +01:00
Tor Lillqvist
ff7db2b229 Get rid of the iOS app specific "context toolbar"
The less special-case code/logic/UI, the better the world is.

It had weird unintended side effects anyway. (In the iOS app, which
was the only place where it was used.) For instance, in a spreadsheet
document on iPhone, after loading the document, the normal "mobile
wizard" style context menu did not appear, no matter how long you
pressed a selected cell. But if you first got the context toolbar to
show up once, and after that selected some cell and long-pressed it,
the mobile wizard style context menu did appear, just as when using
web-based Online on the same device.

Note that despite that the code in Control.ContextToolbar.js was used
only in the iOS app (L.control.contextToolbar() was called only if
window.ThisIsTheiOSApp), the file did contain code for non-iOS, too.

Change-Id: Icdbfc7e71f77539c1bcb5ac8cf6984375297a4bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91055
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-25 16:29:25 +01:00
Ashod Nakashian
fd978cf98e Revert "Desktop: Calc: formular bar: Decrease size of selection..."
The commit in question breaks clicking into the Formula-Bar.
With that commit, the Formula-Bar doesn't take focus upon clicking
most of the time, and only rarely does so (possibly depending on
the precise location of the click).

This reverts commit b906c6985a.

Change-Id: I2ff6b531b479c265935cbc44af4d2cbbaa7c418b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91050
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-03-25 14:07:06 +01:00
Pedro Pinto Silva
082b407c35 Mobile: Hamburger: Due to latest changes the hamburger needs to be realigned when
menu is open and the quarter circle became a ellipse. Fix for these.

Change-Id: I0e31f702bc006c2e87705d1d63e3fa939270d5ca
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90923
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-03-25 11:51:17 +01:00
Pedro Pinto Silva
d80b62326a Mobile: Calc: Chart: add axis contextual icons
Change-Id: If5b572430e02f33f0f5e41698a509a290c61feb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90926
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-25 10:46:40 +01:00
Pedro Pinto Silva
9283614e11 Mobile: MobileWizard: Checkbox row: fix
bug appearing on some browsers' computed css rules, namely webview via apk

Change-Id: I09d4c9525e4d2994ad81606cf837b3e381ceb3d2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90993
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-24 16:11:40 +01:00
Andras Timar
6907725527 Add new SetObjectToBackground and SetObjectToForeground buttons to mobile wizard css rules
Change-Id: I1b75cbfbeaefebb26cc922306f958e2b8cce4a79
2020-03-24 10:31:40 +01:00
Jan Holesovsky
cf04289fb4 android: Fix jumping of the toolbar up and down when the keyboard shows.
Apparently this will cause a regression on iOS; OTOH we have disabled
the landscape mode there for now, so hopefully we'll be able to come up
with the real solution there.

Change-Id: Ie39de95a68e34694e53b4034e8db389546515ba8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90907
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-03-23 16:16:10 +01:00
Jan Holesovsky
6964ca9d69 Fix the menu height.
Change-Id: I258ac19e05bf7925f450a45b7ca5ebc813fc0384
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90836
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-23 16:15:59 +01:00
Tamás Zolnai
6240c5381b Restore cypress test framework's mobile tests.
Broken since: b62dcc0255

The issue here cypress sets the window size and not the device size
when tries to emulate mobile view.
https://github.com/cypress-io/cypress/issues/970

For now, let's keep window size media rules too.

[tml: Window size changes depending on orientation. Device size does
not. We need to change each rule that used only max-device-width into
one using two subrules using max-width combined with comma (i.e. the
OR operator), one for portrait using 767px as the limit, one for
landscape using 1023px as the limit.]

We do this in other places of the css code anyway. In a long term, it
would be good to find a better way to emulate mobile view by cypress
or to detect mobile from JS code, so we can enable mobile mode easily
for cypress tests.

Change-Id: Ic7974f44fcbf6ed2883e93acd28153709514c216
2020-03-19 22:55:52 +02:00
Tor Lillqvist
b62dcc0255 Hacks to improve user experience when changing orientation on phones
I now think that much of our media queries with (max-device-height:
767px) actually should use (max-device-width: 767px) if the intent is
that they detect the case of mobile phones, as opposed to tablets.

Many mobile phones have a screen.height (which is what
max-device-height in CSS refers to) that is clearly larger than 767.
But a screen.width of 768 is what at least my 9.7 iPad has.

Change-Id: I3b44e32ec583837897b4aa390fc0ab92be59d163
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90752
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19 15:40:44 +01:00
Pedro Pinto Silva
b659e8613c MobileWizard: fix table design options and chart options by
updating css rules according to the latest html structure

Change-Id: I373e185a444e8f5db3096cd05c9f47f470ef73c3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90747
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-19 14:50:13 +01:00
Pedro Pinto Silva
8f551b3253 Mobilewizard: Table properties: fix layout and icons; replace delete table icon; remove labels
Change-Id: I7652a5382b4a828ae21e8ce1cf6da21b7ce78b91
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90652
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-18 16:46:04 +01:00
Tor Lillqvist
40777e2384 Add comment to remind what "any-hover: none" means
Change-Id: I78bcdaba5b29923f552b44548524b023ecb77b9f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90706
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 16:22:42 +01:00
Pedro Pinto Silva
82ac7f527f Mobile: Writer: Fix Insert Custom Table
Change-Id: I5208a74d4806b7b661e213db0a314b944be797de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90684
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-03-18 15:39:37 +01:00
Tor Lillqvist
a47a09f471 Clarify what this file is for
Change-Id: I7cd08cda289859fc272007b10df8b030411a9aa6
2020-03-18 12:01:57 +02:00
Tor Lillqvist
d817fe9949 Make contents of portrait and landscape media query blocks be in same order
This makes it easier to compare them.

Change-Id: If25f4c4dd3ee8a2a9d88d21521df6308857703a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90674
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 09:39:19 +01:00
Pedro Pinto Silva
7a1b261ccb Anchor and wrap: Add missing icons and create some for anchor options
Change-Id: Ib57a926ea6597d8d8bdd26f9abf1e3d43f4afdf3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90606
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-17 12:37:23 +01:00
Pedro Pinto Silva
7f2556deb6 Desktop: Vex-bottom-right-corner: Fix missing z-index and
remove duplicated rule

Change-Id: I502aea7c7fb012a4464444ae415738a6c90b1306
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90414
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-03-16 12:54:56 +01:00
Pedro Pinto Silva
7918f69a24 Mobile: Calc: Hamburger menu: sheet and submenus: add icons
- Remove default gray elements for submenus
- Fix some icon sizes from 32 pc to 24 px
- Add new delete icons
- Add icon for data > group outline etc

Change-Id: I62e234d995fc6e875c5344715661dfd3202ef6a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90557
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-03-16 12:22:00 +01:00
Pedro Pinto Silva
8255828819 Mobile: Fix header-left alignments on mobilewizard and fix document container vertical(readonly and edit mode) position
to respect the height of toolbar-up as well as the main-nav element; Set 0 vertical paddings for the toolbar-up.

Change-Id: I4951b47a5c8b4fb34285c45b2ef9765245068b4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90253
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-03-12 13:31:54 +01:00
Pedro Pinto Silva
b906c6985a Desktop: Calc: formular bar: Decrease size of selection handles and adjust position
Change-Id: Ibe9743fe7fe476c8d561b301ca82faea89dbccc6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90078
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-03-12 13:31:11 +01:00
Dennis Francis
3c4e3d8c43 Do not let sidebar cover calc-tabs-bar (partially)
In desktop-browser-online-calc, when the sidebar is shown, the
tabs/sheets bar is partly covered by it. This is a problem when there
are many sheets in the calc document because it is impossible to
switch to last few sheets because sidebar covers those entries in
the tabs-bar.

This patch adjusts the tab-bar container's width according to sidebar
width changes just like how formula-input canvas width is adjusted.
This also includes some css adjustments neccessary to hide the ugly
browser induced vertical-scrollbar for the child of tabs container
when adjusting the width of the container.

Change-Id: Iea3a658926d6f563a970bb9b6da9807818d36c26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89897
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-03-10 10:37:02 +01:00
Pranam Lashkari
439ce089f2 leaflet: slide previews in impress adjusted to fit
In mobile vertical view impress slide previews were not visible

Change-Id: I24420577769e1124f9c7004ced54786522aa4bce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89758
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-06 14:52:19 +01:00
Pedro Pinto Silva
ade9bcb454 mobileWizard: context actions were not aligned in some browsers
Change-Id: Ibea92fcce449eea9651e6d84e44e47924b116f2e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89544
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-27 16:04:51 +01:00
Pedro Pinto Silva
c8b355bf1b Mobile: Toolbar-up: make sure that there is no background being applied to any icon on checked status
Change-Id: I1f419d485cefa387c35a9c42c9ac6671df909434
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89639
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-27 15:55:32 +01:00
Pranam Lashkari
7bbd1dbffd leaflet-CSS: Increased the sheet tab height
Change-Id: Idf1d732700853d237339c16d991b32ec86ce90de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89535
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-26 17:10:01 +01:00
Pedro Pinto Silva
5bdf841a8f Spreadsheet mobile: add missing ( originated from 364623c87f
Change-Id: I2b6a96865f770315d5a0b990ecc24b839271f763
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89547
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-26 14:48:22 +01:00
Pedro Pinto Silva
367c6f9588 mobileWizard: ui-header-left: remove hard width and replace it with min-width
Change-Id: Ib10f93b66ab2f3f5f50e8ae520ec8755361ae0cf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89534
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-26 12:34:59 +01:00
Tor Lillqvist
dd70a89a60 Revert the changes that removed the menu bar on iPad in the iOS app
Change-Id: Ic374514bfdde4682f88b507eca82cf88df36bc9a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89329
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-24 12:19:27 +01:00
Pedro Pinto Silva
4ace1a2842 Mobile: mobileWizard: fix font color alignment (remove deprecated old style)
Change-Id: I27be9917d5f0df77bfdde9a8aeac129c934d58de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89212
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-21 15:34:44 +01:00
Pedro Pinto Silva
5807b81f8c Mobile: add missing icons, fix SVG errors and update styles
Change-Id: I542aca8c98312bf32209625cc9acce68abc5280c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89210
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-21 15:11:48 +01:00
Tamás Zolnai
542b4b69d6 css-media: Remove 'screen' condition with invalid syntax.
It should be 'screen and ...', but since the other rules don't have
this additional screen condition, I just remove it.

Change-Id: Idabf28fbee303e19f1a5f5c75f3eb5e7387ac3fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89170
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-21 11:27:32 +01:00
mert
d21a13e76e Fix slide-sorter behaves like desktop on larger screen phones
Change-Id: Ief2a5278b901970378a84dc4a2f528f885e1cd06
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88093
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-19 18:11:22 +01:00
Pedro Pinto Silva
843717485a mobileWizard: remove unnecessary paddings (fixed overflow)
Change-Id: I16e239bc132d779e63d60229472103720eec7500
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89051
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 17:44:58 +01:00
Pedro Pinto Silva
28f076d694 Mobile: mobileWizard: Add hover/active state to spinners and Fix horizontal overflow
Change-Id: I4b3b6cd6f8fe99d7de5987dfea0013639bad946a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89042
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 16:28:17 +01:00
Pedro Pinto Silva
6070fd1277 Mobile: Vex: primary button: follow the same style as the button in the mobileWizard
Change-Id: I7502de057122843d040ef1469c40815ce19e7178
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89022
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 15:12:35 +01:00
Pedro Pinto Silva
6cd4029385 Mobile: Hamburger menu: Fix alignments and
- Impress top position
- images position

Change-Id: Id3a5abc1c423169cb9f3d1bcb912171d1101c559
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89019
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 14:40:21 +01:00
Pedro Pinto Silva
116e3f74c7 Mobile: Toolbar up: Fix dark border when long press on any item and add hamburger press state
Change-Id: Ic2472ffd8e03463f56d7850d05d3ef5564093202
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89004
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:26:08 +01:00
Pedro Pinto Silva
00bed8db5b Mobile: mobileWizard: input field: fix inconsistencies between browsers
Change-Id: I6c8d196952765c3018c8d00595d3fef9a93c23f7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89000
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:25:42 +01:00
Pedro Pinto Silva
164ae6d9be Mobile: add active, focus status to elements, add missing downloadasicons, fixes
- mobileWizard: force row elements to be full width and adjust accordingly
- edit FAButon: add press state and transition
- mobileWizard: fix white space that sometimes appears between header and content
- mobilewizard: make better use of space
- mobilewizard [non tab layout]: make use of flex to place content full width and aligned to the center
- Calc: mobileWizard: remove unecessary labels (format: NumberFormatCurrency, NumberFormatPercent, numberFormatDecimal)
- Calc mobileWizard: Fix placement of NumberFormat buttons
- Hamburger Menu: Fix positions
- Hamburger Menu: add missing icons under download as
- mobileWizard: make sure some labels do not wrap into a second line
- mobileWizard: make use of percentages instead of px regarding margins
- reduce svg size

Change-Id: I10e46a88cf04afe02cafa6d10931daee119be27b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88970
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 09:12:36 +01:00
Tamás Zolnai
364623c87f mobile: Fix css media rules to work with mobile emulation / cypress test.
Restore the media rules we used earlier for mobiles.
So for mobiles it's enough to have a small screen size,
for tablet we allow bigger screen size, but only with
special pointer properties.

Change-Id: Ic45f05c516ec44cd39c58463d8bf1907ec63c25a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88922
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:31:00 +01:00
Tamás Zolnai
1999f12b35 Revert "Revert "Mobile: change all media queries to:""
This reverts commit 55d067bfee.

Change-Id: I2077276e70e16324031b393a58bf802c3efdcb4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88921
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:30:42 +01:00
Tamás Zolnai
55d067bfee Revert "Mobile: change all media queries to:"
This reverts commit ef48e44c0e.
2020-02-18 09:19:34 +01:00
Pedro Pinto Silva
ed86a313bc MobileWizard: Impress: Fix misalignment on fontColor
Change-Id: I3e2022acd313a2d429220ae2c539c08e233b6317
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88865
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 16:01:31 +01:00
Henry Castro
cefcfcfe19 loleaflet: mobile: use hyperlink tag for context menus
Change-Id: Iac83687794c90ff3439e7a5c833d24007ec52ec3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88545
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-17 15:58:11 +01:00
Pedro Pinto Silva
ef48e44c0e Mobile: change all media queries to:
- Include phablet size
- Ensure that the mobile css rules do not kick in when on Desktop (900px window)
-- Detect if the primary input mechanism cannot hover at all or cannot conveniently hover (hover:none)
-- Detect if at least one input mechanism includes a pointing device of limited accuracy (any-pointer:coarse)

Change-Id: Idf1494acbd52ecd40e9082c8cf6f4ce88ecf9ac6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88862
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 15:53:33 +01:00
Pedro Pinto Silva
6d3e88782e Fix Zoom controls:
- Percentage sometimes appears sometimes it doesn't. Removed percentage from values and instead added as suffix (via css)
- Content width changes. Fixed by setting a default minimum width

Change-Id: I4c2017ceaa98c97f06c7bba4dfe0f3aded9d605c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88608
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-13 15:08:06 +01:00
Pedro Pinto Silva
45d053d9d1 Mobile: Hamburger menu: add missing toggle icon and also add default background when there is no image (top level)
Change-Id: I894bb25a9198a74bf1fa43d6c958e23878e0a0fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88525
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-12 13:29:33 +01:00
Pedro Pinto Silva
02ca6142e3 Mobile: Calc: Formula bar: make text selection handles visible and hide them on desktop
Change-Id: Iaf5b207fd641ff0b2428801b0972277a382b87e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88197
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 19:05:56 +01:00
Henry Castro
779833ec7c loleaflet: mobile: change position of the edit button
when document type is Impress

Change-Id: I33af9c10827f50be25a8490b7de8fe5504b06352
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88216
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-07 17:27:10 +01:00
Marco Cecchetti
a46fa588b1 calc: formula input bar: adding support for text selection handles
Change-Id: I6bc276945a7fd33f1358a3aa82ce0e7f45237771
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88090
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 15:58:36 +01:00
Marco Cecchetti
ec2ec241d2 loleaflet: calc: input bar text selection layer
Change-Id: Id143c3c0b5f0bb6a99bd9e8ce7f953f95e3a65bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86791
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 14:48:00 +01:00
Tor Lillqvist
d532705a85 tdf#128468: Make dragging the tab stops send a UNO command
Still work in progress. The new UNO command is "MoveTabstop" with two
arguments: Tabstop (the index of the tabsetop) and Amount (in twips,
left (negative) or right).

The intent is that moving a tabstop in core will cause a callback that
will redraw the ruler, like moving a paragraph margin does.

Change-Id: Ic6b8b11811d2a7f6510c505fff421e1796300c70
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87868
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-02-03 14:38:02 +01:00
Henry Castro
ad2391ae46 loleaflet: mobile: use Hammer recognizer events instead of 'contextmenu'
Unfortunately the emulate 'context menu' conflict with the default
horizontal scroll behavior

Change-Id: I3cd45520a6f1e00460031b78e4963db59bc9ae59
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87750
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:08 +01:00
Pedro Pinto Silva
96cef62d43 Mobile: MobileWizard: modify bottom button on mobile wizard, set special layout for insert table panel and add icons
Change-Id: If137e015930f3918d230a86b6e2940747389ec5d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87746
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-30 16:49:45 +01:00
Jan Holesovsky
85574023a6 Mobile Calc: Remove one more pixel to close a gap.
Change-Id: If182d2284285d683b01d4e8ab97ddb967010c957
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87722
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-30 10:38:21 +01:00
Pedro Pinto Silva
fbc1eb8990 Mobile: Calc: visual cleanup after new changes introduced by 87548, 87549 and 87615
- realign plus icon
- readjust top elements' position
- avoiding changing border from #toolbar-wrapper as this would affect readonly mode

Change-Id: I010aaa7b3bd25bce1fe386854c0a7cd0b9c7331e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87675
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-29 10:27:57 +01:00
Pedro Pinto Silva
5b44398bcc MobileWizard: Insert: Table:
- Add exeption
- Even if there is no image passed add it manually and adjust HTML sctructure so to be consistent with other menu-entry-with-icon elements
- Add inserttable monochrome icon
- pass optional argument data.id

Change-Id: I34536272d3ef5742895c4db5a52058fe6558f837
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87633
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-28 17:47:34 +01:00
Henry Castro
62fe18a044 loleaflet: mobile: restore 'Insert sheet' toolbar item
Change-Id: Ib51341c517954519b0dea2263ac9bf16b052b3f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87615
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-28 14:09:53 +01:00
Henry Castro
d01cef322f loleaflet: mobile: allow horizontal scroll to 'spreadsheet-tabs-container' element
Change-Id: If600dfc37fc9123ffc4ce19811d792b846010350
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87549
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:39:46 +01:00
Henry Castro
5d8784b7b1 loleaflet: remove the 'spreadsheet-toolbar' toolbar
In mobile view, the 'spreadsheet-toolbar' toolbar is not needed anymore

Change-Id: Ie4dd518cbb4db62a3b3d0da812e37219d8a8bc4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87548
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:03:53 +01:00
Pedro Pinto Silva
1d57b29632 MobileWizard: List chevron: Increase contrast by:
- Replace content (symbol character) with a darker element (SVG)
- Avoid adding new asset when we can simply apply transformations etc

Change-Id: I3c9ecdfd000723a30c28cb92ac752bd98823bcb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87540
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:50:04 +01:00
Pedro Pinto Silva
84092428b7 Mobile: Mobilewizard: Add missing icons and hide unused spans
Change-Id: I61e2bdb24e082d095a832dec29f406869f21f986
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87538
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:21:40 +01:00
Pranam Lashkari
edc2b3c53e resolved: No avatar in comments/changes
Change-Id: Icbdffdfa4567364f306a5f94b5788fce2c43388e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-22 17:23:14 +01:00
Tor Lillqvist
ebaca16c4f tdf#128509: Make the column and row headers tappable on touch devices
After you have sleected a table on a text document in the iOS (and
Android) app, you are supposed to be able to tap the "header"
rectangle that is painted for each column and row, in order to select
the whole of that column or row. But this worked only in web-based
Online with a desktop browser, for clicking it with a mouse.

Was much more complicated than expected. But now it seems to work. One
needs to use Marker instead of Rectangle.

Change-Id: I4f701c70dd4edce6a3edb6fcf9feffa7b7969a8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87079
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-21 10:26:58 +01:00
Pedro Pinto Silva
c92682c813 Mobile: Scroll indicators (shows the user he can swipe to see more):
- Use shadow instead of background gradient in order to have more granular control over the result (multiple shadows)
- [Toolbar]: decrease indicators width to 0; [MobileWizard]: decrease indicators height to 0
  - ^ to avoid mistaps. We now have larger "gradients" with 0 space from the element which allows any elmente that is underneath to be tappable

Change-Id: Ie329ed4e85d7342ab9cdc90f89cfdc8663e73da7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86979
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-17 14:05:25 +01:00
Pedro Pinto Silva
4da29f6422 Mobile: Spreadsheet: Readonly mode: Adjust top positions from frame and document
- account for moz vs webkit intricacies
- account for newest spreadsheet formula implementation

Change-Id: If5ae4159bf5b5cea82771b085f8e7e90f97e0804
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86760
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 14:34:19 +01:00
Pedro Pinto Silva
4162d892e0 Remove changes introduced in 85362 because :
- it was causing improper behaviour when multiselecting
- there is always a cell (svg path) that is been set always with diferent stroke color even when multiple cells are selected and so CSS shouldn't be modified but instead, probably, JS bits

Change-Id: Ie8f11f14f5ffc958f646332c7fe2bc810b34d808
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86755
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 13:11:06 +01:00
Pedro Pinto Silva
84ef6bd6fb Mobile: toolbar-down: scroll/swipe indicator: increasing width
also related to: https://gerrit.libreoffice.org/#/c/online/+/86691/

Change-Id: I85f0500927164cfeab756c1588e3f5e97644b866
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86702
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 17:31:34 +01:00
Pedro Pinto Silva
839cab9b65 Increased the horizontal scroll indicator contrast,
- which increases legibility even when there is a checked element underneath
- also decreases its width so the element that is partially under is still interactive without the need to swipe it first

Change-Id: I54fe3e3d0bd699246f76c77e929b3c4a250e0b82
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86691
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 15:11:00 +01:00
mert
026500b3a5 Fix insertshapes display problem
Insert Shapes dialog opens on the right
side of the screen and can be too
narrow on desktop

Change-Id: I8f9fe8f00989b504d05282fcd5332bf1a1b94ad0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85747
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-01-08 17:49:19 +01:00
Pedro Pinto Silva
a4b146ec51 Mobile: w2ui scroll elements:
- Enable and adjust elements when on mobile so they are visible but discreet (without covering icons)
- Make them not clickable when on mobile (thus avoiding unwanted scrolled due to users mistaps
- Make their parent aware of the ongoing scrolling and call w2ui resize on it (thus making the left and right indicator showing and hiding as we please)
- Test and adjust so this changes do affect affect the click listening on desktop etc

Change-Id: Ic35dadb71e7fd6ae3ff2fad3e52d5219e7520c55
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86364
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-07 17:36:21 +01:00
Henry Castro
23ccef0ac7 loleaflet: android: hide slide sorter if it is a small window size
The android browser application changes the orientation when the
soft keyboard pop ups, it has been given a heuristic number 2/3 screen height
to hide the slide sorter, this is because there is a header size
that show the URL bar and it can be improved to the equal screen size of the
native Android app.

Change-Id: I182795fe698bf191cd5b675c1768820ab78b1602
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85333
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-06 19:40:44 +01:00
Pedro Pinto Silva
9446f02a23 Mobile: mobile-wizard
- Remove specific id rules and swap them with class rules
- Decrease row's width

Change-Id: I058c2bd80070df1d238eb978e8e616081a4b3d8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86187
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-03 16:17:33 +01:00
Muhammet Kara
0bf742fa64 Add pseudo uno command ToggleOrientation
Relies on commit 1131dfc387abc7ef33bc2c84677ec3c09d3e59e4
on cp-6.2

Added the button to the bottom toolbar on mobile,
and the standard toolbar on Online for Writer

Change-Id: I7fb8cf79369987f029ca05a9a668361cfeff16aa
Reviewed-on: https://gerrit.libreoffice.org/85653
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-12-21 15:07:05 +01:00
Pedro Pinto Silva
e981bf26b3 Desktop: Document-container: Fix missing text cursor on text document types
- make sure document container has doctype class every time
- set auto cursor for spreadsheet and presentations only

Change-Id: I2cb7b0bdaefa51e01745291c78501a7495da2289
Reviewed-on: https://gerrit.libreoffice.org/85515
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-19 12:43:49 +01:00
Tamás Zolnai
c231d68eb4 Slide-sorter: mobile: Make the slide previews smaller in landscape mode.
So they are not cut by the document area.

Change-Id: Ie53f693fc6ff4ccf8a4a86e1100860c3907f4a3a
Reviewed-on: https://gerrit.libreoffice.org/85438
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-18 23:37:25 +01:00
Pedro Pinto Silva
9fa14f7c24 Annotations: User Avatar: Fix broken image and set border to its parent instead of applying to the image itself
Change-Id: I04bbf704c981d80b04f2e003905129b857b28316
Reviewed-on: https://gerrit.libreoffice.org/85376
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-18 12:07:40 +01:00
Pedro Pinto Silva
6d12845db9 Spreadsheet: disable dashed stroke for when the active object is a cell
Change-Id: I4bf7ad0d76435754ffe8a8190569ad5d24f576dc
Reviewed-on: https://gerrit.libreoffice.org/85361
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-18 09:44:12 +01:00
Pedro Pinto Silva
a62e26a35b toolbarstatus:language:w2ui-tb-caption: Reset float that was causing misalignment
Change-Id: I23ff1c44a2a110d84a0899b982b1cee566011ad3
Reviewed-on: https://gerrit.libreoffice.org/85126
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-13 16:12:21 +01:00
Pranam Lashkari
d249e6a713 Resolved: Keyboard shortcut help window won't scroll
Help usually don't fit in the resulting popup window,
but wasn't possible to scroll.

Change-Id: Iff14620730ba9cee6e679e4b6b69e84342019cd1
Reviewed-on: https://gerrit.libreoffice.org/84998
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-12-13 11:56:07 +01:00
Pedro Pinto Silva
3f325d085a Impress on desktop: Fix white glitch at the bottom of slides sidepane
Change-Id: If2fa4caab1b5d1f43fb28e4ab806e09140a54cb3
Reviewed-on: https://gerrit.libreoffice.org/84955
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-11 15:40:35 +01:00
Tor Lillqvist
18ac050240 tdf#128468: Draw the tab stops
Draw only the user-edited/able ones. Draw all four kinds (left, right,
center, and decimal) the same for now, as a small triangle pointing
up. (Drawn using a CSS trick to get a triangle.) The tab stop
positions aren't actually editable yet, nor is there a way to add a
new tab stop or delete one. Later.

The code uses a CSS custom property, yay, to avoid duplication of a
magic value for the half-width of the triangle.

Change-Id: I862b09091bad03ad63425cc6e6759f3f13174579
Reviewed-on: https://gerrit.libreoffice.org/84474
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 5e6976f6eb23d742db7e8f9b334b521a299f2418)
Reviewed-on: https://gerrit.libreoffice.org/84764
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-12-10 09:23:20 +01:00
Pedro Pinto Silva
33af2f483d Fix Insert Shape Palette scrolling issues
Change-Id: I98c141edbe88a74cf14453972494f29882aed23e
Reviewed-on: https://gerrit.libreoffice.org/84748
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-09 14:43:33 +01:00
Ashod Nakashian
d1da3ac1a2 leaflet: sidebar scrolling improvements
The browser has to move the sidebar to accomodate
scrolling, and this movement makes the sidebar
overlap with the document (specifically, the
scrollbar of the document) and causes other visual
glitches.

We now display a scrollbar at all times to make
the sidebar width fixed and also to avoid flickering.
This is the only portable/reliable way of avoiding
flickering/jumping-around due to scrollbar showing
and hiding. (Previously we had extra space in the
parent, but at least in Chrome it now always pushes
the canvas left when showing the scrollbar anyway,
so we gain nothing but having a thin margin on the
right, and we still got shifted left/right when
the scrollbar show/hide.)

Change-Id: Icbec841ffa4cec255e59f547530728f076d2877e
Reviewed-on: https://gerrit.libreoffice.org/84713
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-08 22:39:13 +01:00
Tamás Zolnai
05f6b9cabe Menu wizard: move checked style to css.
Change-Id: I090cbee4b57276c6722772a72515a1cd69cdef5f
Reviewed-on: https://gerrit.libreoffice.org/84647
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-06 18:15:41 +01:00
Pedro Pinto Silva
adc46c7ab1 Mobile: Toolbar-up: checked state: Add webkit-only rule to fix weird behavior on some webkit browsers
Change-Id: Ia29bce6ab4e26c63d7f3bf25bb3750d680e7c022
Reviewed-on: https://gerrit.libreoffice.org/84607
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-06 11:03:03 +01:00
Pedro Pinto Silva
1747d08974 Calc(desktop): Formula bar: Hide bottom blue line
Change-Id: If2547d8065d4158cffa8bee62ae78fc020e0b2b6
Reviewed-on: https://gerrit.libreoffice.org/84567
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-05 15:02:04 +01:00
Marco Cecchetti
4c3ef4c504 move shapes palette from vex dialog to mobile wizard
Change-Id: I76e136140e9268706f53ffc799703bbc72f70099
2019-12-05 13:44:45 +01:00
Tamás Zolnai
98cbd80eb8 Context menus: Show a tick mark for checked menu item.
Change-Id: I390a69b9db1c58003d2008a4a62e331d1c2fc7ae
Reviewed-on: https://gerrit.libreoffice.org/84323
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-03 12:20:53 +01:00
Pedro Pinto Silva
11a7639b16 Toolbar-down: Fix: Display current language
Change-Id: I6881d7dccf756ab4c3b39d5bd39afcb19b9ff532
Reviewed-on: https://gerrit.libreoffice.org/84059
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-29 12:50:05 +01:00
Pedro Pinto Silva
a252c98240 Vex overlay: Add missing min-width rule
Change-Id: I480c730273970400c2668f9d19efd768dd810c88
Reviewed-on: https://gerrit.libreoffice.org/84041
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-29 09:51:29 +01:00
Pedro Pinto Silva
4fc7e98d0a Vex: bring back dimming but make it discreet though
Change-Id: I8f036a85963a9861268971998115870a3087a9be
Reviewed-on: https://gerrit.libreoffice.org/83978
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-28 11:22:03 +01:00
Pedro Pinto Silva
500b532109 Desktop: Toolbar-up: Fold/unfold: Decrease visual importance and switch breakline position
Change-Id: I131dc36b38caf807e438c424755b8c18cc4f1474
Reviewed-on: https://gerrit.libreoffice.org/83913
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-27 14:56:56 +01:00
mert
247ef39915 fix Insert shape dropdown is too narrow on desktop
Change-Id: Id128cd455e3efb34498511434a38c03efa93c602
Reviewed-on: https://gerrit.libreoffice.org/83814
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-27 05:34:39 +01:00
Pedro Pinto Silva
18e2137a17 funcWizard: style
* Replace hardcoded info icon with the existent help icon from the theme
* Add help background image to the description panel so the user knows at all times (even if looking away and then back) which screen he is and does know that to insert or go see all the function he needs to go back one level
* text styling

Change-Id: I717d42e7f2b6c54c595a2aefe454a1fa06c20072
Reviewed-on: https://gerrit.libreoffice.org/83752
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-26 12:49:16 +01:00
Pedro Pinto Silva
8c8d8ff5ec Toolbar-down: status: Add default text and respective styling when there is no value for :
* insert mode
* RowSelCount
* Selectionmode

Change-Id: I5e94aa539178b576c91cbebbf9b71a0d6d4fe30b
Reviewed-on: https://gerrit.libreoffice.org/83704
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-26 09:09:55 +01:00
Marco Cecchetti
4574a98bff formula bar tunneling: function list wizard
Change-Id: I63670151a009ce0a67ba64cebf326e13219f2ded
2019-11-25 22:02:50 +01:00
Marco Cecchetti
b7743930cd loleaflet: calc formula bar tunneling
Change-Id: I1e9de5eee5ce8992f37cdee4928476954b84b299
2019-11-25 21:57:16 +01:00
Szymon Kłos
a672d064c2 jsdialog: use uno states for comboboxes, impl FillStyle
Change-Id: I81d8c3d333e8c65291198b010772c8de9d8eb065
2019-11-21 11:42:25 +01:00
Pedro Pinto Silva
e73c672149 impress: slide preview: add left margin
Change-Id: I380d4b5ca988247a0beede6fc427e83a48601169
Reviewed-on: https://gerrit.libreoffice.org/83320
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-20 15:40:31 +01:00
Pedro Pinto Silva
11df151290 * Ensure that any rule from mobilewizard does not spill out from smartphone range
* Fix impress slide previewControl misalignments (on desktop)

Change-Id: I009b75ba95870e3bd051b299113c90abb584c189
Reviewed-on: https://gerrit.libreoffice.org/83317
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-20 15:32:31 +01:00
Pedro Pinto Silva
b46ee2123a toolbar-up: fold: Replace padding with margin
Change-Id: Ie05b12fa01856ba61b881a27890f5a8942c5908b
Reviewed-on: https://gerrit.libreoffice.org/83295
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-20 15:32:17 +01:00
Pedro Pinto Silva
1ed89ae220 mobileWizard: improve focus/active states in all unobuttons using new class and properties
Change-Id: Iaf124c50980d9d53be412e7ffcb1bf666e64f85f
Reviewed-on: https://gerrit.libreoffice.org/82716
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-14 15:58:47 +01:00
Pedro Pinto Silva
6ca05878f3 mobileWizard: style unobutton when selected
Change-Id: I83de024825e9409ae494b5d4b24afa23c54ad604
Reviewed-on: https://gerrit.libreoffice.org/82713
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-14 15:35:35 +01:00
Szymon Kłos
51cdf48138 jsdialog: add uno listener for uno toolitems
Change-Id: I5967c847ad0aea4845fdcac67555fb5179161e92
2019-11-14 12:09:05 +01:00
Pedro Pinto Silva
80f7985e03 Mobile: Impress: add visual cue when editing slide master
Change-Id: I3a8882fbb76fb5c1d364381650d1424f140ccbd2
Reviewed-on: https://gerrit.libreoffice.org/82606
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-14 09:47:51 +01:00
Iván Sánchez Ortega
55ac3da53f loleaflet: Draw column/row grid lines on the background
Based on information from UNO ViewRowColumnHeaders messages, this draws
the grid lines with Leaflet's SVG polylines, in a background pane.

To prevent visual glitches on touchscreens, this also reverts parts of
26aad36771ebd5a304b763912184acd2ea26dfdf - that introduced a regression
that prevented 'dragend' events from being fired when inertia-dragging.
Instead, inertia drag is disabled in the L.Map constructor.

[ Miklos: cherry-pick these early as they prevent automatic merging. ]

Change-Id: I86c68214822a0a2c2f8ced82ccf5a6c201e2cf04
2019-11-13 16:58:15 +00:00
Jan Holesovsky
1040353fde More reliable way of theming the comment buttons.
Change-Id: I9c8e81a494733ec343b42596a19b1e90fa2b00d5
Reviewed-on: https://gerrit.libreoffice.org/82593
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-11-13 15:36:47 +01:00
Pedro Pinto Silva
575371f0d9 mobile:impress:menu(landscape): enable vertical scroll
mobile:impress:mobilewizard:hide scroll-x

Change-Id: I3faa5cc983e50dcfbd85b7e3e21edc6b9652300d
Reviewed-on: https://gerrit.libreoffice.org/82605
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-13 15:08:19 +01:00
Pedro Pinto Silva
00cff7eeec mobile:impress: fix border top from doc container (was being cropped);
mobile:impress: mobilewizard: hide horizontal scrollbar (was showing up in landscape mode)
mobile:impress: mobilewizard: adjust position when in landscape mode

Change-Id: I95e9b84a7b85bbafe1d0f510210a6cb840be9b12
Reviewed-on: https://gerrit.libreoffice.org/82512
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-12 14:18:15 +01:00
Pedro Pinto Silva
0a994724f5 Mobile: toolbar-down: horizontal scroll
- hide scroll elements (left, right)
- make it scrollable
- hide scrollbar (webkit, firefox, ie)
- tested on real devices (do not report/test based on desktop responsive mode. it's dubious)

Change-Id: I1dc509b36d4d16c3872561e8301d76ae708a286b
Reviewed-on: https://gerrit.libreoffice.org/82496
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-12 11:40:37 +01:00
Pedro Pinto Silva
59b29e2b2a Toolbar up (desktop): unfold icon: account for svg height and adjust vertical background position
Change-Id: I9a920de2436422c32a60a20084cfe668199acaca
Reviewed-on: https://gerrit.libreoffice.org/82487
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-12 09:40:36 +01:00
Pedro Pinto Silva
1a0cee97b5 - Spreadsheet: Move rules for mobile to spreadsheet-mobile.css
- Remove duplicated selectors regarding toolbar-down (toolbar-mobile.css)
- Add max-height for toolbar-down (toolbar.css)

Change-Id: I41cbd09620d212916338aedbae1936a5d924a520
Reviewed-on: https://gerrit.libreoffice.org/82435
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-11 13:43:43 +01:00
Pedro Pinto Silva
cb1d893a80 - Fix vertical text alignment for all mobilewizard lvl1 rows (e.g. so font name is aligned with font value)
- Add missing transparency icon regarding shape shadow

Change-Id: If0ad887e50849ad5e1d53a6870ceaa7dd3b6a470
Reviewed-on: https://gerrit.libreoffice.org/82420
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-11 10:23:20 +01:00
Pedro Pinto Silva
b30463f01b CSS improvements for sidebar btns (toolbar tb_editbar_item...)
- add missing icons from the Colibre theme
- impress: adjustments
- hide/show icon adjustments

Change-Id: I31e332a2041f88d750433791c49dcda993ebb5b7
Reviewed-on: https://gerrit.libreoffice.org/82315
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-08 17:48:36 +01:00
Pedro Pinto Silva
814f4e91f5 CSS Files Clean-up: moving rules targeting mobile to specific mobile css files
- mobilewizard rules both from toolbar.css and toolbar-mobile.css to mobilewizard.css
- Hamburger menu rules from menubar.css to menubar-mobile.css
- scrollbar rules from toolbar-mobile.css to scrollBar.css and add media query
- and remove unecessary comments

Change-Id: I5372455ba723d334472b14df556825b1a3734922
Reviewed-on: https://gerrit.libreoffice.org/82298
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-08 14:50:41 +01:00
Pedro Pinto Silva
3dc6dd3e50 mobilewizard: spinfields:
- hide number of lines icon
- edge case: adjust width of various spinfields to account for inexistent units

Change-Id: Id8bee7731ee888821d95c3f8c423bcca53866d64
Reviewed-on: https://gerrit.libreoffice.org/82268
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-08 10:15:10 +01:00
Pedro Pinto Silva
e403b5a1fa Fix: writer: table properties: spinfields
Change-Id: I49b05b5504d1849b8df6203716e9b32eb25508e2
Reviewed-on: https://gerrit.libreoffice.org/82227
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-07 16:37:44 +01:00
Ashod Nakashian
8a28a560f2 leaflet: add sidebar buttons to Impress toolbar
(cherry picked from commit 00b0c3156b5a574f7ee98f4166fd127976ea1b56)

Change-Id: Ib21db9e950cfe828ddff66a8e5bb517331610d04
Reviewed-on: https://gerrit.libreoffice.org/82225
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-11-07 15:41:40 +01:00
Pedro Pinto Silva
e918ce6fe9 mobilewizard: Add missing icons and fix paddings
- writer:shape properties
- calc: cell properties
- calc: chart properties: hide position icons

Change-Id: I228722a260a39552cc9addf97b225e747728557b
Reviewed-on: https://gerrit.libreoffice.org/82195
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-07 14:31:55 +01:00
Pedro Pinto Silva
0e4465ca68 mobile: Vex dialogs: Add extra fixes to account for width changes from external css
Change-Id: I3d96b4b24890bf73eb14f2ebc3c6cba9ab54adc1
Reviewed-on: https://gerrit.libreoffice.org/82191
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-07 11:53:16 +01:00
Henry Castro
555ef04e67 loleaflet: adjust the margin property for the new cursor handler image
Change-Id: I83c83de60cd8b099d157881c63a027493130e5cb
Reviewed-on: https://gerrit.libreoffice.org/82175
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-11-06 21:01:08 +01:00
Muhammet Kara
94c3896809 Smarter(?) valueset image handling
Instead of adding one entry per image into the
css, just adding the image of a valueset element
into the loleaflet/images directory is enough now.

Change-Id: I5deff7c9537ede713120f581f96bfb2aefb11fa0
Reviewed-on: https://gerrit.libreoffice.org/82162
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-06 18:22:47 +01:00
Pedro Pinto Silva
6a377fa044 Impress:mobilewizard:table and paragraph properties layout
Change-Id: I9eecf18bfff03a7040dd7ca006be77f4d3fb2810
Reviewed-on: https://gerrit.libreoffice.org/82141
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-06 17:12:59 +01:00
Pedro Pinto Silva
f91e1266e2 mobilewizard: table properties:
- detected malformed svgs from colibre theme  (fix metadata)
- add missing icons
- add special styling for Delete Table and merge cells
- arrange elements
- fix spinners

Change-Id: Ie9ec6ebf273ff3a307793b45bb600bf986f1f31c
Reviewed-on: https://gerrit.libreoffice.org/82137
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 17:09:21 +01:00
Pedro Pinto Silva
ca4ebc481b Vex: idle: differentiate styles depending on device
Change-Id: I236e64b2688e38c6651563f2c206a7b9276bae50
Reviewed-on: https://gerrit.libreoffice.org/82131
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 16:41:53 +01:00
Pedro Pinto Silva
79456ef1ff Impress: mobilewizard: hide wizardheader when in landscape
Change-Id: I4105f94351181b61a97d7db9e6caae6d8dfcd891
Reviewed-on: https://gerrit.libreoffice.org/82150
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 16:41:44 +01:00
Pedro Pinto Silva
8fc3a5bdc4 Vex: input: fix paddings and widths (mobile and desktop)
Change-Id: I0f1882ca785b211ffd18bdbc972c1152cfa3d275
Reviewed-on: https://gerrit.libreoffice.org/82126
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 16:30:33 +01:00
Pedro Pinto Silva
ae119a4102 impress:mobilewizard:paragraph: fix icon arrangements and hide labels
Change-Id: I5c7d1be30fcbdecefe894c27c46bce29a0f082c2
Reviewed-on: https://gerrit.libreoffice.org/82081
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 16:30:11 +01:00
Pedro Pinto Silva
526056f630 Fix search on mobile (including in the meadia query)
Change-Id: I4384bc1c29b5081ed5c1b40bad68567c208aa574
Reviewed-on: https://gerrit.libreoffice.org/82080
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-11-06 16:30:00 +01:00
Muhammet Kara
435a5202e5 mobilewizard: Add some missing images for chart type panel
Also add them into the mobilewizard.css so that _valuesetControl
inside Control.JSDialogBuilder.js picks them up.

Will be adding more images in follow-up patches related to
the chart type panel. Might also be a good idea to generalize
the _valuesetControl function and add divs with proper/different
naming later.

Change-Id: Id8c48ae96664c11ea0e7d4f3e607f6c60903abf1
Reviewed-on: https://gerrit.libreoffice.org/82087
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 19:00:25 +01:00
Pedro Pinto Silva
ee6700463a Spreadsheet: spreadsheet-toolbar: add proper press states on mobile and disable desktop over states when on mobile
Change-Id: Id768d33e7267a17b25664a880333195fe28ce0ba
Reviewed-on: https://gerrit.libreoffice.org/82033
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 14:19:57 +01:00
Pedro Pinto Silva
e2206e12ac Fix white screen after user's inactivity:
- add different class to vex overlay
- add different css rules

Change-Id: I89c971bd160a05a1c1fae20bbdecbf171c47f8ca
Reviewed-on: https://gerrit.libreoffice.org/82061
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 14:19:24 +01:00
Pedro Pinto Silva
a023cc184c mobilewizard: impress: improve scrollbar and fix inconsistencies on the newly added slide sorter
Change-Id: Id889caf21de00b8bf6620a37066c4e40793226c6
Reviewed-on: https://gerrit.libreoffice.org/81994
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 14:18:23 +01:00
Pedro Pinto Silva
2cb592b560 mobilewizard: image: disable rotation label since it does not apply here
Change-Id: I83e5fbfd3377335b87a8d06b8570012e6c337ff2
Reviewed-on: https://gerrit.libreoffice.org/81986
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 14:17:36 +01:00
Pedro Pinto Silva
97c25ade86 mobileWizard: Center contents from impress: Layout tab without affecting other tabs
Change-Id: Ib0c989e5467b1f6fa9b0ed1d21281e14f75015ae
Reviewed-on: https://gerrit.libreoffice.org/81984
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 14:05:08 +01:00
Pedro Pinto Silva
a19f2faf2f mobile: toolbar-search:
- replace free text "Search:" with a proper label element
- give class to input group parent
- style search toolbar
- change font size to 16px so to avoid auto zooms from iOS devices

Change-Id: Iccbae8f7a932786acfde936e2002bd36b1fc564b
Reviewed-on: https://gerrit.libreoffice.org/81883
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-11-05 13:57:34 +01:00
Henry Castro
35f2e56d82 loleaflet: mobile: apply CSS @media rule for portrait and landscape in
Impress document

When mobile device change orientation the client browser will apply the
corresponding @media rule.

Change-Id: I96b9d8fe7152833287de1be3a81d7423d22fc4c9
Reviewed-on: https://gerrit.libreoffice.org/82014
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-11-04 22:26:31 +01:00
Henry Castro
d8833d39d3 loleaflet: mobile: avoid hardcoding CSS bottom property
Use the CSS class selector to modify the bottom properties for
each tile layer document, so adjusting values for portrait or landscape
orientation not be so complicated.

Change-Id: I900ef5c4ec3f770fd802a23238fdd9e6eb838772
Reviewed-on: https://gerrit.libreoffice.org/81928
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-11-04 22:25:50 +01:00