Commit graph

283 commits

Author SHA1 Message Date
Szymon Kłos
7905c20888 jsdialogs: add +/- buttons for number field
Change-Id: I029ca937ab182306a3d5d218470a14938f3fd231
2019-10-09 16:27:45 +02:00
Henry Castro
d3c1062f56 loleaflet: mobile: remove the static CSS height and width properties of
slide-sorter element

Unfortunately the static properties affect the spreadsheet and writer
views, and it is prefereable to change it dynamically when the impress view is
loaded. So the other views will have an empty slide-sorter element.

Change-Id: I03a969c6de74999509314184a4aad9bc5c9e3380
Reviewed-on: https://gerrit.libreoffice.org/80546
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-10-09 15:50:51 +02:00
Szymon Kłos
acc9529c27 jsdialog: create more containers around spinfields
Change-Id: I6833ec415c9ea869091caf23f151944415807cab
2019-10-09 14:25:06 +02:00
Szymon Kłos
5036ddd66d jsdialogs: move tabs into titlebar
Change-Id: I56ebec8c12164771c4da85954d43c600030e65dc
2019-10-09 14:06:20 +02:00
Henry Castro
324c7342fe lolleaflet: mobile: show horizontal orientation the slide sorter
In order to show a slide sorter, it is necessary to reuse the code that
it is working for desktop view.

changes:

* modified the @media properties of the slide sorter container element.
* added new @media properties for slide-sorter element.
* changed the axis direction to 'x' for the mCustomScrollbar
* changed the calculation using left, right and width properties for the
direction 'x'
* added options maxWidth and maxHeight size for the image preview,
default 60, 60 for mobile case

Change-Id: I23a83c831c9aa21ab2876f9d1875c7428c17d18d
2019-10-09 12:39:43 +01:00
Jan Holesovsky
3d5091ca6c mobile: Move the mobile wizard checkboxes to the right.
Change-Id: I79c6842ea363178bb0b8315c2a0740bf328a0961
Reviewed-on: https://gerrit.libreoffice.org/80536
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 13:24:44 +02:00
Pedro
8408a9c53e Make all labels sharing the same new style
Change-Id: I1ef8963c5b366476bee218b147e6c746a0a7777a
Reviewed-on: https://gerrit.libreoffice.org/80528
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:46:17 +02:00
Pedro
af36b5e152 Fix some color picker elements by accounting for differences in html structure
Change-Id: I35d73eaaffccdd579ae79ce2eee45dabb7088332
Reviewed-on: https://gerrit.libreoffice.org/80527
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:43:51 +02:00
Pedro
c7b21974f1 Text properties tab: style input (and add bg img temp) + content layout
Change-Id: I99ebc02d2b37bc7016e0a08b336b26b7f8819e9d
Reviewed-on: https://gerrit.libreoffice.org/80518
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:06:45 +02:00
Pedro
b0b88f4601 Fix CSS typos
Change-Id: I8c0992a9e262bf127cb5b7aff0e7b271dcce75b1
Reviewed-on: https://gerrit.libreoffice.org/80513
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:04:55 +02:00
Pedro
dfb3e3a02d Round last squared color pickers
Change-Id: Ie247caa53b537b110d093e3839aecf890fdcfd02
Reviewed-on: https://gerrit.libreoffice.org/80512
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 10:03:59 +02:00
Pedro
8346af34a3 Style tabs
Change-Id: I7a894aa87f477adf7bda52c3712231c0b63f9806
Reviewed-on: https://gerrit.libreoffice.org/80511
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 09:30:25 +02:00
Pedro
b4547b0197 Text properties tab: content layout
Change-Id: Id0c7a91e9bf16b3fb65453deeeb124d95ced781a
Reviewed-on: https://gerrit.libreoffice.org/80508
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-09 09:01:20 +02:00
Pedro
a06821a1a0 Turn round color picker elements
Change-Id: Id35b8dae443446a28ffdb1f5116115b80d6190be
2019-10-09 08:58:56 +02:00
Szymon Kłos
8a35cd8025 jsdialogs: use picker for Color, add ids
Change-Id: Ia9778ff2962c05eafb6b6b4ae636dc87b3d7bf01
2019-10-08 21:26:56 +02:00
Szymon Kłos
34b49466ed jsdialogs: use picker for border and background colors
Change-Id: Iec5ee4214529ab5dbce1e0aece6e5814a1cf8365
2019-10-08 21:19:07 +02:00
Szymon Kłos
008ae186e5 jsdialogs: general style for color picker
Change-Id: Id883ab2fa9373be133f790746c72262c49e7381f
2019-10-08 21:06:38 +02:00
Szymon Kłos
304415aa26 jsdialogs: style FontColor button in Writer>Character
Change-Id: Id9ef3e0ec9c964b0b20ab9d129ff37c0da9bff21
2019-10-08 20:09:04 +02:00
Szymon Kłos
1deda90a72 jsdialogs: fix align of tabs
Change-Id: I8d2945526a315bc661b1866916b4050de1d8a055
2019-10-08 19:38:39 +02:00
Pedro
47cc5e85dd mobile-wizard: AlignmentPropertyPanel: layout
Change-Id: I375ca4042d3fc38d9781acc4871de85f83236636
Reviewed-on: https://gerrit.libreoffice.org/80483
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 17:38:55 +02:00
Szymon Kłos
922e898a94 jsdialogs: show both tabs on small screens
Change-Id: I6c38703cf2580b75978fef2ca761d2fe93044f25
2019-10-08 16:57:21 +02:00
Szymon Kłos
7a65176341 jsdialogs: no white text in tabs
Change-Id: I998a21f9e0f4407784f72915d5a2f187f86ed76b
2019-10-08 16:50:57 +02:00
Pedro
9a8301281f toolbar-down(only): Style active states(checked) according to the overall theme without replacing icon
Change-Id: I3828039796a8ab9fb1cd32529efbb781348cdec5
Reviewed-on: https://gerrit.libreoffice.org/80472
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 16:47:51 +02:00
Pedro
c8289a14e9 mobile-wizard:SidebarTextPanel: Work on grouping elements, their layout and states
Change-Id: I5442d5db79e3d0fe6d094fc74a5806d2b52eef47
Reviewed-on: https://gerrit.libreoffice.org/80469
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 16:47:01 +02:00
Szymon Kłos
5fba4dc231 jsdialogs: move tabs to a separate container
Change-Id: I08723d02f47553644c29780f41a0a74470995d8c
2019-10-08 16:42:45 +02:00
Szymon Kłos
1004e5e7ea jsdialogs: if only two panels, create tabs
Change-Id: I714d1cb3f1babb80a85b303163ca8437d4f75be3
2019-10-08 16:42:45 +02:00
Pedro
cebab1aef3 Separation between title row and the body content
Change-Id: Ifc0b0798e82574ceef5d6c14000b3732f35b79e5
Reviewed-on: https://gerrit.libreoffice.org/80450
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 15:16:49 +02:00
Pedro
359750358c Align text: add missing icons and style its elements and alignment
Change-Id: I9ff97c571080af1c51c47275f659adb141e9410f
Reviewed-on: https://gerrit.libreoffice.org/80447
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 15:16:09 +02:00
Pedro
d7fb1e1f60 Add generic label and div styling and add exception to the rule for wrapping options
Change-Id: I3d33c96d97bbed09d0791e15d40586209b600402
Reviewed-on: https://gerrit.libreoffice.org/80441
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 13:25:11 +02:00
Pedro
a18a15481b Apply new generic checkbox and button styles only to mobile-wizard (it avoids problems with calc spreadsheet tabs..)
Change-Id: I523bbcad25d144ded4a2849aa31f090684ca5ace
Reviewed-on: https://gerrit.libreoffice.org/80438
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 13:24:24 +02:00
Marco Cecchetti
172c9ca384 loleaflet: adding icons to insert menu entries
Change-Id: I24664aa41f208ccd70331f37a8e1d031eefc43fd
2019-10-08 12:43:32 +02:00
Pedro
63c1f32352 Add generic checkbox and button styles for mobile
Change-Id: If7fc9b09569c71b1f411493e88e55d87d3cc950e
Reviewed-on: https://gerrit.libreoffice.org/80433
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:59:43 +02:00
Pedro
2eb98ee6f8 Fix wrapping icon width when using smaller devices
Change-Id: I0dc74f2385ab638a4faec4907673c0b6b695a9c6
Reviewed-on: https://gerrit.libreoffice.org/80431
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:57:05 +02:00
Pedro
25572e7e25 Decrease toolbar-up icon spacing, update contacts svg color, fix icon alignment, tweak hamburger
Change-Id: I9a4d24ad2335e9936df372a5168993215d68c366
Reviewed-on: https://gerrit.libreoffice.org/80430
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-08 10:55:53 +02:00
Pedro
681c994481 Center align tb_actionbar_item_userlist via parent table
Change-Id: I2d327095cc5949aaf764ad8832a266ad1a4b4669
Reviewed-on: https://gerrit.libreoffice.org/80391
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 19:44:34 +02:00
Pedro
a818388dad Styling WrapPropertyPanel: checkbox and radioboxes plus layout
Change-Id: Ic0bfbc16726d0d1a402f35a3c205c6c15c8dbbb1
Reviewed-on: https://gerrit.libreoffice.org/80396
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 19:40:08 +02:00
merttumer
2b35db0c85 Use Vex Dialog for insertshapes on mobile
Change-Id: I1cdd5dca2efd54fef4fb17ef379ad8988794afa0
Signed-off-by: merttumer <mert.tumer@collabora.com>
2019-10-07 18:32:47 +01:00
Tamás Zolnai
60d31ea5b9 Mobile: Add a comment insertion button to the top toolbar
Change-Id: I4637aad1430d14febb77247ef905ad79f5238d4a
2019-10-07 16:27:10 +02:00
Pedro Pinto da Silva
8c985b073f Revert "Make wizard items occupying full width"
This reverts commit 7dfe5f3e24.

Change-Id: I17e5334b80f65c4de7c936814f27d00fcea018f9
Reviewed-on: https://gerrit.libreoffice.org/80389
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:54:13 +02:00
Pedro
1854c0242b Fix paddings from insert_mobile_wizard icon in the toolbar
Change-Id: I6adca9a0b009f11bdf481048aea891265e279d70
Reviewed-on: https://gerrit.libreoffice.org/80363
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:35:27 +02:00
Pedro
b858b8916d Improve checked status in all actionbar_items and move the min-width rule to active only on mobile
Change-Id: I6254f1bbbef4fe89e3d5f456f02c4703e923c674
Reviewed-on: https://gerrit.libreoffice.org/80213
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:33:12 +02:00
Pedro
18550dbeff Formulabar: Increase space between icons while making better use of white space
Change-Id: I1dd0f988e0558af2d8e79dcb6823c70555130715
Reviewed-on: https://gerrit.libreoffice.org/80188
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:32:06 +02:00
Pedro
2ce491c6a2 Fix mobille-wizard content's padding
Change-Id: I7fc8ef5e3df51cf782a293cf0385b018e9c0ecbd
Reviewed-on: https://gerrit.libreoffice.org/80366
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:27:42 +02:00
Pedro
7dfe5f3e24 Make wizard items occupying full width
Change-Id: I25c9c2e8ea54e5a8f9d6447a4191ca90c2402d1a
Reviewed-on: https://gerrit.libreoffice.org/80368
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:27:19 +02:00
Pedro
375f5068b4 Style sub-menu-arrow
Change-Id: Ic2595ca29f23cbbba4c70681b68744571241ec5c
Reviewed-on: https://gerrit.libreoffice.org/80369
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:24:43 +02:00
Pedro
289b821add Change wizard-content's text color and font-family
Change-Id: Iae1e417a2c541e5510f1f565c9f00ad814dfa4db
Reviewed-on: https://gerrit.libreoffice.org/80365
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:20:38 +02:00
Pedro
2d57cb2673 wizard-mobie: Add close state to back arrow when in the top level
Change-Id: I4f8be7139ffb4fb79e03753d05ede15b20c5f0dd
Reviewed-on: https://gerrit.libreoffice.org/80215
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 15:15:28 +02:00
Szymon Kłos
2d2c0d24a4 jsdialogs: generate flat div-based structure
* don't use tables with deep structure for each level
* use divs
* create new div (almost) only if level changed

Change-Id: I2f2278cf4c6b60e8db9c7f4ae9529c54f69f78c8
2019-10-07 12:34:17 +02:00
Pedro
329a574f45 Simplify mobile-wizard header
Change-Id: If0bcd9bd7cdc42b0400ef7cfab3cb6ef7a35f272
Reviewed-on: https://gerrit.libreoffice.org/80177
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:17:45 +02:00
Pedro
f442e7832b fix user's attempt to close menu via back arrow by repositioning menu
Change-Id: I99fd6bc8878ec733c0044b5c88d91d111bcb6a62
Reviewed-on: https://gerrit.libreoffice.org/80135
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:03:58 +02:00
Pedro
fafa4b38a5 Adjust color of cols and rows headers to be consistent with the other elements
Change-Id: I8f5239ff92e015b5c3c73d8770d86b0524bd0900
Reviewed-on: https://gerrit.libreoffice.org/80142
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:00:56 +02:00
Pedro
a4e965d433 Add important rules to 2nd level ul entries that were not being used
Change-Id: Iccab82a2c73759107f5630ece8ad530be938346f
Reviewed-on: https://gerrit.libreoffice.org/80138
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 09:57:09 +02:00
Pedro
bf983a22bd Add aditional space to tb_actionbar_item_mobile_wizard icon as its neighbors
Change-Id: I783184e20486be42ee878c9887670b58f4d74996
Reviewed-on: https://gerrit.libreoffice.org/80210
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:07:01 +02:00
Pedro
b156d80107 Increase icon element's width
Change-Id: Ic11cbf02513f7c9052bec26f5a56d354219ef24a
Reviewed-on: https://gerrit.libreoffice.org/80134
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:06:26 +02:00
Pedro
0d20263151 Fix main-nav position, space out icons and remove document-header that appeats in the menu when in edit mode
Change-Id: I8d20cc424c30a302c36daa4952c39e12d1b74f80
Reviewed-on: https://gerrit.libreoffice.org/80132
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-06 22:04:01 +02:00
Szymon Kłos
3294ae90b0 jsdialogs: remove border around icons
Change-Id: I293377b8ffe3b3ddd18cf9c25b6f19bc96d9c65f
2019-10-06 21:53:41 +02:00
Tamás Zolnai
33e5e7977a insertion-mobile-wizard: Align the sub menu arrow correctly
Change-Id: If0952435dc058d2cada04f4c6c5351d3c9aeaa91
2019-10-05 18:44:39 +02:00
Tamás Zolnai
ca51f56ebe mobile-wizard: Convert Insert menu to a mobile wizard like widget
* Added a toolbar button to open this insertion mobile wizard.
* Added a method to convert 'Insert' menu for mobile wizard code.
* Added callbacks for menu types items to JSDialogBuilder.
* Since the menus are not dialogs it would be good to create
a separate JSMenuBuilder class for the added code. I'll do that
later.

Change-Id: Ie68e13ae46dde7bc36c2465785628135623436da
2019-10-05 17:40:51 +02:00
Tor Lillqvist
ef98d92cb9 tdf#127942: Make the slide preview image dropsite larger on larger displays
This makes it easier no notice when a dropsite becomes active.

Change-Id: Iabf529d4af814c0cd348b201b823dca4bcaa1bb5
Reviewed-on: https://gerrit.libreoffice.org/80203
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2019-10-05 11:40:45 +03:00
Szymon Kłos
e4f2145899 jsdialogs: reduce space between buttons
Change-Id: I698f223da4383fad4b1afb482618949b96c2b7d9
2019-10-04 21:54:39 +02:00
Szymon Kłos
a20b3e612e jsdialogs: turn uno buttons into icon+label style
Change-Id: I0d102638042af52d66228601df30059a9953c244
Reviewed-on: https://gerrit.libreoffice.org/80277
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-04 21:49:46 +02:00
Pedro
1d21bb4ac2 mobile-wizard: Add icons and increase size between rows
Change-Id: I3d7d3db50fa1697f5225262929182290044fe8c3
Reviewed-on: https://gerrit.libreoffice.org/80235
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-04 17:16:51 +02:00
Szymon Kłos
e62a054e34 jsdialogs: use svg icons from online
Change-Id: Id90482b3afab722aaa5354e2359e201ac97e2d5d
Reviewed-on: https://gerrit.libreoffice.org/80201
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-04 12:24:43 +02:00
Tamás Zolnai
54997803bd mobile: Add a menu item to trigger the bottom toolbar palett
The menu item is disabled by default and enabled by stepping into
edit mode. The menu item triggers the mobile wizard which is displayed
on the bottom of the screen. The menu item is checked when the
mobile wizard is visible.

Icon created by: Pedro <pedro.silva@collabora.com>

Change-Id: I9ec90a38305f9cb288f61d38ca29273e074025af
2019-10-03 15:40:21 +02:00
Pedro
91e63410e7 Fix mobile-wizard position and shadow
Change-Id: I35cb5b6644761d881e30bbf64d3485667ce9be3e
Reviewed-on: https://gerrit.libreoffice.org/80128
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 15:22:20 +02:00
Pedro
be95d6fa5f Minor tweaks, toolbar-down border
Change-Id: Ic30426365d0a7ad7d776bf981cf2d1c723696b69
Reviewed-on: https://gerrit.libreoffice.org/80113
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 13:07:05 +02:00
Pedro
8f6cb9ae38 Improve spreadsheet toolbar, its tabs and update toolbar-down size, refactoring
Change-Id: I9baae1277a80c9697d57da958585175704119688
Reviewed-on: https://gerrit.libreoffice.org/80102
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 12:38:49 +02:00
Pedro
3ff8a33a2e Refactoring
Change-Id: Id4255803321145022cc0672c942c8763a3732136
Reviewed-on: https://gerrit.libreoffice.org/80101
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 10:30:57 +02:00
Pedro
36ff25687a Disable fullscreen icon when on mobile
Change-Id: Ifb3cb5bc302ebc52b881c8450e395a58ce1e7b47
Reviewed-on: https://gerrit.libreoffice.org/80100
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 10:30:30 +02:00
Pedro
7972e9517d Remove closemobile extra paddings
Change-Id: I826ea18eb45ec47d69b9998a74c48f7b8031a247
Reviewed-on: https://gerrit.libreoffice.org/80094
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 10:29:07 +02:00
Pedro
e26ad84485 Remove formulabar's border
Change-Id: If184aca170b10d1ed75e6754d73e9c10b1ede387
Reviewed-on: https://gerrit.libreoffice.org/80093
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 10:27:36 +02:00
Pedro
3367dbf7ff improve legibility when on mobile
Change-Id: Icc56b050e28293a3da5312daba38cffba1a069ea
Reviewed-on: https://gerrit.libreoffice.org/80080
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 10:25:11 +02:00
Szymon Kłos
1df1275e3b Show toolbars in edit mode on mobile
- fix position of rows container
- avoid using uninitialized 'toolbar' variable
- fire onUpdatePermission in Writer also...

Change-Id: I3a57c4185814d7784c591dfd9dcda7661d4adc72
Reviewed-on: https://gerrit.libreoffice.org/79853
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-30 14:13:39 +02:00
Szymon Kłos
f97ae94410 Hide close button by default
Change-Id: I44528a096849324d68304165f7698fcd7e3b4130
Reviewed-on: https://gerrit.libreoffice.org/69185
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/79852
2019-09-30 14:13:27 +02:00
Tomaž Vajngerl
d1eaa895aa tdf#125565 Added table move marker
Change-Id: Iffa1b969986c9f9b405d5713b56a192a1069645f
Reviewed-on: https://gerrit.libreoffice.org/79821
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-09-30 00:39:11 +02:00
Jan Holesovsky
0e7df8938a slide sorter: Let's not use red to indicate the drop area.
Change-Id: I7416a1cc856b63698e7acd12fcecdb4a5abf2f5f
2019-09-29 15:45:14 +02:00
Szymon Kłos
9276ac2da1 Added formula dialog to the toolbar
Change-Id: Ic7b6da86660824acefa02e203601d912aba7ba2e
2019-09-28 16:40:15 +02:00
Szymon Kłos
65c990dd2c jsdialogs: implement frame control
* fix vertical containers
* add frame support
* connect with MobileWizard

Change-Id: I27b59193c597e5af012d5b904e8516bf38c54c00
Reviewed-on: https://gerrit.libreoffice.org/79726
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-27 17:03:36 +02:00
Szymon Kłos
e3a01b7561 jsdialogs: Mobile Wizard
Change-Id: Ida2dc48d86ea4f28b08ec24a7638f27ad8633dbf
Reviewed-on: https://gerrit.libreoffice.org/79723
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-27 17:03:06 +02:00
Ashod Nakashian
7edfa725c1 leaflet: Add sidebar commands in toolbar and menu
Reviewed-on: https://gerrit.libreoffice.org/71840
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 212290a35dc4e87439e5d4d41b16224281c8d27d)

Change-Id: Icac459849196a70b62ac0e2a558882d8cc199e6c
2019-09-03 01:53:12 -04:00
Szymon Kłos
652ae5c68f Sidebar: don't show border and placeholder if not visible
Change-Id: I689fa47b0dcb034688ec73c0d338c99423b10a38
(cherry picked from commit 9b31ab7d44894dda87276eae6bb852bbbc692e1e)
2019-09-03 01:53:12 -04:00
Szymon Kłos
d5b906f3d5 Z-index doc, sidebar under menu
Change-Id: Ic9c0dbb326d45c205746e50018906030f7a6fd27
(cherry picked from commit 0d7b28daf8a8bf6f2adc33bbe3d7d5f7f72d6659)
2019-09-03 01:53:12 -04:00
Ashod Nakashian
9a8b12ce0e leaflet: hide sidebar's horizontal scrollbar
And merge a single z-index property into
the main css.

Change-Id: I0a8ed76c98b46052b2cf4b32cfcae498c1615584
(cherry picked from commit 7ba1f6a12c6c8797b3d832faf540d4914b6f219b)
2019-09-03 01:53:12 -04:00
Ashod Nakashian
c21797d9ac leaflet: hide sidebar on mobile screens
Change-Id: I9d43dab6e44eeda35bdd8f2fffe0702d5d0c11f1
(cherry picked from commit 41b80a56b79e9d8eb45a8fde07d15cefc3603377)
2019-09-03 01:53:12 -04:00
Szymon Kłos
467327253f Don't show empty sidebar on start for tablets
Change-Id: I0123b150bb095eb1a070468a4baa98595adf1af1
(cherry picked from commit 59ce01d511ebf7b59f2be714b193bc23794b130d)
2019-09-03 01:53:12 -04:00
Szymon Kłos
7dff884712 Top align sidebar in mobile
Change-Id: Ib2e1d70bf9a63f6136c6458bb83c6b8b030d177a
(cherry picked from commit 32d78d8ba2f6712a46584ddb1b22eaa5f8b8512a)
2019-09-03 01:53:12 -04:00
Ashod Nakashian
dc61397aea leaflet: scroll sidebars in client instead of resizing in core
And resize the sidebar div to slightly shorter height than
the content area to avoid scrolling the sidebar unnecessarily.

Change-Id: I5cedb54a573f90097bfefd9a0099375e13a76a3b
(cherry picked from commit 9bd92971dc34508091133024bcabd3043e0b6ab3)
2019-09-03 01:53:12 -04:00
Jan Holesovsky
4fdec000ff sidebar: Resize the underlying canvas on resize.
Otherwise it always stays 400x600 and things get cut off.

Change-Id: I999ef1f852f933ac447d500d922e6d38cb028459
(cherry picked from commit dee28b6b1eae2c5faf18c3e7cf7dd2264b05f833)
2019-09-03 01:53:12 -04:00
Jan Holesovsky
029e830466 sidebar: Lower the z-index, so that it is covered with the overlay.
Change-Id: I8f6910289ca512c253d34b251c7385f1dc55fead
(cherry picked from commit 20ca03ee754b78a4ced9c49073b73e3e76d9196d)
2019-09-03 01:53:12 -04:00
Jan Holesovsky
a02cd4a3d7 sibebar: Various smaller visual cleanups.
* Make it work with the menu fold / unfold button
* White background + a grey line separating the document area + the
  sidebar
* Use CSS instead of manually setting the properties in some cases

(cherry picked from commit d1ba38386c2c8367213afd47d66f992870fa7207)

Change-Id: I2ba7201075637ebdcc2b9f7319aa59317631aba2
2019-09-03 01:53:12 -04:00
Ashod Nakashian
45ebb033fb leaflet: use new menu selection color
Change-Id: I963141a0270d8a51cd1d00b846cdb4c9da09bd84
(cherry picked from commit 829784772762cb0e16c0bfe6a18d610a6e2f0893)
2019-09-03 01:53:12 -04:00
Ashod Nakashian
9206958c0f leaflet: support arbitrary sized sidebar
Change-Id: I0804ec0aec77fe88a12f9beec09881d92052a7e7
(cherry picked from commit 49c2ec25664c3fa7d2e4b051392abeb17406a902)
2019-09-03 01:51:12 -04:00
Ashod Nakashian
3ba4ff736b loleaflet: sidebar - support cursor
Change-Id: Ib24aa9a3c007a89a04f57a287aff5a6752e643f3
(cherry picked from commit 57b60b4868013d01d43a2f82125fa8a1636e7279)
2019-09-03 01:00:05 -04:00
Ashod Nakashian
27d780747b loleaflet: add sidebar
(cherry picked from commit 01c828c911fa70b263fee699efbc656fde54d03f)

Change-Id: Idc215e67b21b1f0ba48b3d391041278dd6526cfe
2019-09-03 01:00:05 -04:00
Andras Timar
3ed3d9de50 use svg images instead of png images
Change-Id: I764ede0b9df8f0c9f17a9c9127c8b95c5b951d3b
2019-08-30 10:09:06 +02:00
Andras Timar
5bb767a52d adjust size of .leaflet-cursor-handler
Change-Id: I8f96da54935b3ea7edc9100f18542e6d30c4f18e
2019-08-30 10:08:58 +02:00
Henry Castro
d58f4a937d loleaflet: mobile: fix misaligned font name in android WebView
Change-Id: Ibfee4427fc1fc667f90377f7cb6bbcb08a719b0e
Reviewed-on: https://gerrit.libreoffice.org/77848
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-20 17:35:23 +02:00
Scott Clarke
1e82c46bd3 Add ability to resolve comments
Add 'Resolve' button to annotation context menu
Add 'Resolved' indicator to comments

Change-Id: Ie43e247635a14d3407535e02ec2012f0809d425c
Co-authored-by: Jim MacArthur <jim.macarthur@codethink.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/76757
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-08-19 16:42:06 +02:00
Tomaž Vajngerl
7467710dab table handles: drag only in x/y axis, marker on hover, cursor
This adds:
- support to freeze movement to x or y axis when dragging the
marker (depends on the marker type - column or row marker)

- change marker on hover, which uses a different image, which is
solved in css

- change cursor to col-resize / row-resize when howering over the
marker

Change-Id: I63bf5e82860ef75f2dfde31ee2ab7ede6f61ce70
Reviewed-on: https://gerrit.libreoffice.org/77652
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-08-19 01:03:20 +02:00
Ashod Nakashian
11335b0e20 leaflet: make the slide drop sites more visible
Change-Id: Idc8e2ee33fc61449300180e8200f5aa75b82f07e
Reviewed-on: https://gerrit.libreoffice.org/69638
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/71102
2019-08-17 04:42:25 +02:00