Commit graph

416 commits

Author SHA1 Message Date
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
Pedro Pinto Silva
49bb017e5a mobileWizard: toolbar-down: overlay
- improve w2ui-tb-down interaction and change its appearance depending on its status
- Fix w2ui-overlay-editbar -> menu where two triangles were being drawn instead of just one
- Fix w2ui-overlay-editbar -> Apply the same border and shadow etc properties used in the color picker overlay

Change-Id: Ic90844613eae126b5efdb7da8930d4007639850f
Reviewed-on: https://gerrit.libreoffice.org/81855
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-04 18:07:01 +01:00
Michael Meeks
1a28798850 Fix vex dialog close issues.
Amazingly - due to a bug in vex, without an animation closing
a dialog silently fails. cf. broken vex code determining hasAnimation
which needs to handle empty states in missing css properties eg.
-moz-animation-name.

Change-Id: I9834b438d33c908f4f9e96274ce1c2603a22c1fa
2019-11-02 18:53:31 +00:00
Pedro Pinto Silva
85be221cf8 Fix to complement the new changes from bea95e329b:
- added new class for mobile-wizard-content (only when in presence of slide-sorter)
- CSS fix

Change-Id: Ib85bc284e7a8a1a405bf4b7cfe470750bbd4f0f3
Reviewed-on: https://gerrit.libreoffice.org/81891
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-11-01 16:17:33 +01:00
Pedro Pinto Silva
dc3b46c7cd Insert comment: Style and improve textarea, add states
Change-Id: I0beab8ef051acc04e9bc8cf2fb0ca3105eff3809
Reviewed-on: https://gerrit.libreoffice.org/81858
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-31 18:54:20 +01:00
Pedro Pinto Silva
1727abd3af mobileWozard: Impress: layout: replace icons with proper files from current theme and fix styling for active layout
Change-Id: I357a3fc2895ffca00f5f8b1c13602fbfa643b9a5
Reviewed-on: https://gerrit.libreoffice.org/81842
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-31 18:50:28 +01:00
Pedro
832f65788f mobileWizard: switch sinfieldcontrols from +,- to -,+
Change-Id: I673bbac255872acd037d4c7302ff4a7fe2e1dbce
Reviewed-on: https://gerrit.libreoffice.org/81787
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-31 11:53:32 +01:00
Pedro
0e59b9be7d mobileWizard: input number: disable firefox specific controls
Change-Id: I18a4705560088fc2aacd4e82dd685f43a1aac61f
Reviewed-on: https://gerrit.libreoffice.org/81824
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-31 11:52:52 +01:00
Pedro
5c312db13d mobileWizard: image: add icons and fix position settings
Change-Id: Iffd3e491a0444118da29315d847a00267873232f
Reviewed-on: https://gerrit.libreoffice.org/81781
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-31 11:52:27 +01:00
Pedro
43249febef Toolbar-down: space-out icons and restyle dividers for mobile
Change-Id: I927f1ae0e2cd10985c8b5a5720b3a967eefcde22
Reviewed-on: https://gerrit.libreoffice.org/81692
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 19:43:42 +01:00
Pedro
943ab1126a mobileWizard: Decrease paddings and margins; position labels more near to their elements and increase text contrast
Change-Id: I04fdfca8d769a68b650aa441b30e62c749922473
Reviewed-on: https://gerrit.libreoffice.org/81675
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 19:43:28 +01:00
Pedro
b552ffbf2b mobileWizard: Fix misalignments
Change-Id: I961073b513652567aa0f2d4b430a603de7cacac6
Reviewed-on: https://gerrit.libreoffice.org/81664
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 19:42:59 +01:00
Henry Castro
97b6782ee5 loleaflet: mobile: slide sorter is visible in view mode.
Adjust the CSS property readonly at the bottom and change dynamically
the document size dynamically to show the slide sorter in view mode.

Change-Id: If49d682bcd1eed94443a5d8f8b20420744ba60f4
Reviewed-on: https://gerrit.libreoffice.org/81691
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-29 16:17:32 +01:00
Pedro
96c268cc44 mobileWizard: Image properties>‘Wrap’: fix alignments and enable countour row problems
Change-Id: Iec7a7c4cd11b49e086c7b63f5f8a7bef7ee9330b
Reviewed-on: https://gerrit.libreoffice.org/81666
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 14:04:02 +01:00
Pedro
5e035078d6 Impress: Mobile: Toolbar-up: Remove next and previous record buttons, add fullscreen-presentation and icon
couldn't find the uno action/command for fullscreen-presentation (it seems there is already a function for that action in the hamburger menu item

Change-Id: I4e25f8f9ceaee15656e44775185cc8ed3856b7f7
Reviewed-on: https://gerrit.libreoffice.org/81510
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 12:09:00 +01:00
Pedro
4d377c47bf mobilewizard: improved lists (style selected vs unseleced items)
Change-Id: Id1f3bf534a7f3769949cdf868e4ae8fcc3d08662
Reviewed-on: https://gerrit.libreoffice.org/81511
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 12:07:20 +01:00
Pedro
1e5c87692a Fix alignment of icons in the table context
Change-Id: I85ed5662b46bec49b0bf7369eeeb9482c2a3bb69
Reviewed-on: https://gerrit.libreoffice.org/81658
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-29 11:54:43 +01:00
Pedro
79a0dcc9ff Hamburger menu: add missing icons, add default placeholder, add parent class in JS
Change-Id: I61d4127f1ddcf1e08b61cc7d6a76e47a80ba49f7
Reviewed-on: https://gerrit.libreoffice.org/81452
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-24 15:42:06 +02:00
Pedro
f80d447fce mobilewizard: add selected list icon and revert unselectable stylings
Change-Id: Icce7f43d99fd64304d701b860e08520f4a146755
Reviewed-on: https://gerrit.libreoffice.org/81451
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-24 15:40:08 +02:00
Pedro
411c5d79b1 mobilewizard: add style to selected vs unselected items in item-list
Change-Id: I520fed4f732ff77cf5d597de438051faa1279557
Reviewed-on: https://gerrit.libreoffice.org/81447
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-24 13:40:05 +02:00
Pedro
dfc2eebe54 Add mobile-ready vertical scroll and disable horizontal scroll
Change-Id: I7504b9c9fbba19a5bfe79f137df79df1f9e9431a
Reviewed-on: https://gerrit.libreoffice.org/81378
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-24 12:56:18 +02:00
Pedro
9e790e53fc Style color-picker and add icons; move rules to mobilewizard.css
Change-Id: Icc8261c9ef138ea5ea4869296a156c0b860e983b
Reviewed-on: https://gerrit.libreoffice.org/81335
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-24 12:55:20 +02:00
Pedro
23e71b56ac Fix how formula input looks on Firefox and Firefox mobile
Change-Id: Idb362dde1872f2ed934f67d349eb1693c6c9c074
Reviewed-on: https://gerrit.libreoffice.org/81257
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-22 14:04:24 +02:00
Pedro
837e72e7ab Hamburger menu: Add missing icons and optimize svg
Change-Id: I17aad9d0ceb6d37eb99992b7f21f701a74257609
Reviewed-on: https://gerrit.libreoffice.org/81317
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-22 14:01:49 +02:00
Marco Cecchetti
202de19585 loleaflet: use an svg icon as selection marker for sample tints
Change-Id: I2e94f0f65a8e7fc0e4883bca855ab23b77c96df8
2019-10-21 18:31:15 +02:00
Marco Cecchetti
e5035a3911 loleaflet: color-picker: selected basic color handled through css only
Change-Id: Ie23513a7f8246f92be08f7fde2d6b74ee3547a09
2019-10-21 18:31:15 +02:00
Pedro
7684aa029e Fix and style Follow editor overlay when on mobile
Change-Id: I30acf95f7cc8a7f274b031cc77cdace8b73e9918
Reviewed-on: https://gerrit.libreoffice.org/81233
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-21 15:13:39 +02:00
Pedro
d7b4a92550 Disable tooltips when on touch devices
Change-Id: I2a87a275b361fc2b81722bd25f09fd0f1baffcda
Reviewed-on: https://gerrit.libreoffice.org/81044
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-21 14:39:44 +02:00
Pedro
5618561d30 Add more icons to the hamburger menu
Change-Id: I2c85a67c80edd4c00222a1a1725cd07a4abb7fb8
Reviewed-on: https://gerrit.libreoffice.org/81051
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-21 14:39:18 +02:00
Marco Cecchetti
1309cdea7d loleaflet: search-bar for mobile device
Change-Id: I5acb79d5bb81470aa76ce51b3e81c44909ae80e5
2019-10-21 12:41:05 +02:00
Henry Castro
389f05af1c jsdialogs: add valueset control handler
The LO Core server sends data items of the valueset control.
For Example Layouts items of the Sidebar in Impress Document,
this item need to be transformed into an element inside of
mobile wizard dialog.

Change-Id: I2ce166aee62ebd075edde5b91f62c0591ee5a0a1
Reviewed-on: https://gerrit.libreoffice.org/81054
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-18 16:49:16 +02:00
Pedro
25a23224d9 Fix z-index: about dialog, hamburger menu were appearing under edit FAB
Change-Id: I0ef992ab221e3e3d96e1f35baa8c314fadd2e02f
Reviewed-on: https://gerrit.libreoffice.org/81034
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 12:57:37 +02:00
Pedro
dec5cfbb3c Add compatibility rules for fill-available and fix position to absolute
Change-Id: I9fb153294c4a5c1e23de1213f01c5bd4f0fff81b
Reviewed-on: https://gerrit.libreoffice.org/81024
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-18 10:46:55 +02:00
Pedro
43cede22cb Fix z-index: about dialog, hamburger menu were appearing under edit FAB
Change-Id: I9590494769ab9cd629137bfdcb9bdd2dca0bcfec
Reviewed-on: https://gerrit.libreoffice.org/80973
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 17:23:09 +02:00