Commit graph

352 commits

Author SHA1 Message Date
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