Commit graph

23 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pedro
5368315730 Vex-dialog: styling and layout (and moved to its proper css file) (and tabify spaces)
Change-Id: Id6a13d34e00de5b7e2b6242c6325bd6524816eba
Reviewed-on: https://gerrit.libreoffice.org/80873
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-17 13:14:39 +02:00
Szymon Kłos
91d281bf0b Split css files - added empty files
Change-Id: I67863622d37e350e8a5eafa4cd5f65ec4a2baed3
2019-10-16 12:38:04 +02:00