Commit graph

652 commits

Author SHA1 Message Date
andreas kainz
6b8177eae4 CSS Var: Toolbar widget dropdown arrow use text color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I081abd676f97da26a928a87d6997179acea1c42d
2022-02-19 19:36:24 +01:00
andreas kainz
fc726e6e97 CSS Var: fix for toolbar dropdown menu border radius
the border-radius was needed at .select2.container--default and
.select2.selection--single and __rendered to have nice borders

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6ae386d65f45c49f221a3c987b101132eb4d56c7
2022-02-19 10:33:38 +01:00
andreas kainz
ace84edba0 Sidebar select and hover 1px border as everywhere
the borders are ordinary 1px so it was update for
jsdialog.cell.sidebar to be also 1px border size.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie85a82fecd608edd25d5c3314e70a8b91c0a31bb
2022-02-18 21:51:10 +01:00
Mert Tumer
9d1b4e95ca android: fix uncaught exception documentSigningUrl
use empty string in mobile app since it is not used

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I699c348c01ad06b7e720499a615e2c9a27bbf630
2022-02-18 17:41:15 +03:00
Pedro Pinto Silva
6a4f634630 PostMessage examples: Improve form formatting
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3bc508600c1ad6531cd88bf5c4ef972d21f10fae
2022-02-18 14:34:46 +01:00
Pedro Pinto Silva
a84f6a96a7 PostMessage examples: Add Insert_Button example
fixes: #4039

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I82e8ec731efd392d720103527e1a3719c8685c63
2022-02-18 14:34:46 +01:00
Alexandru Vlăduţu
307472875c browser: support inserting remote image via postMessage
Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: I1b1acee0770b1d650afad12b54c62ccace63a696
2022-02-18 11:49:37 +01:00
andreas kainz
b91d75b321 document-logo use 16px app icons
update the menubar.css file to make the icon size 16 x 16px
add 16px x-office-* icons so that no scaling is needed.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If6d84218920e8200e644fa8ded5c950f61c02197
2022-02-18 08:34:21 +01:00
andreas kainz
bab1d1ec7d Menubar use var for background-color at dropdown menues from the menubar
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I82565cd811bc4b0b71c39670a88e0fe21fa91d70
2022-02-18 08:32:52 +01:00
andreas kainz
820c365479 Toolbar Dropdown Widget arrow use --color-main-text
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5cc8e47148df5b5a68fed75d4b0298ee930b7792
2022-02-18 08:32:36 +01:00
andreas kainz
55a5c8a743 Spinfield use now --color-text-dark cause it also use the select background
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If250f52c7b21f5683ee6223466107addf01f4acc
2022-02-18 08:32:20 +01:00
Andreas_K
8ffea18007 Revert "Update Save icon to use cloud icon instead of floppy disk"
This reverts commit 3d25bad4e7.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifd288eb7499ff9b789baaff614996704f8cf27c7
2022-02-17 17:00:25 +01:00
Mert Tumer
85310c888c fix sidebar can be visible on pdf
it appears that sidebar callback can arrive before
docloaded message when it is already loaded in the background
Also app.file.fileBasedView parameter is set after docloaded
so it wasnt a correct fix. perm: message arrives before document
initialization and we can hide sidebar unless the arrived messsage is
not 'edit'. if the user have edit mode, it will be up to the users preference

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifb220d8bb8baad0078bcd32f71ee6853d31adfb8
2022-02-16 15:27:14 +03:00
Tor Lillqvist
41cab506b0 Turn ctrl-left-click into right-click for browsers on macOS
Not sure why the browser doesn't do it automatically. Ctrl-left-click
works on normal webpages just fine, it is equivalent to a tap with two
fingers on a trackpad. (Which, I think, is what Mac users most often
use. That is equivalent to a right-click.)

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I1f0daf0929b41e25a58456bd995f1463c873c42c
2022-02-16 13:04:49 +02:00
Pedro Pinto Silva
b79b8d3b28 Remove border color from #toolbar-up on mobile except calc
improvement upon d9e766c19a
- On calc we need that border since we have the formula bar component

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7d4c255654bf570a2fa4ac11a9df978f36f22971
2022-02-16 10:41:52 +01:00
andreas kainz
9793882e01 Notebookbar shortcutbar layout update
Notebookbar

 -   Updated save and burger menu in the
    shortcuts-bar color follow --color-main-text
 - savemodified use var color and modifier was added to save
   icon in the file tab

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If12b9cf5e294982298c4ef392eeac9e12d0ef800
2022-02-16 08:55:48 +01:00
andreas kainz
8f69c5b2b8 Hamburger icon update
icon
 - hamburger menu use --color-main-text
 - so all stuff in the header area use the same color

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id3361c0f58d5ce12bd1d312bd7aa303fe2071282
2022-02-16 08:55:36 +01:00
andreas kainz
3d25bad4e7 Update Save icon to use cloud icon instead of floppy disk
ordinary you use cool at a cloud storage
and didn't save on a floppy disk

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I91ce93b8c0cb21176a561a7da70abc621ee31e22
2022-02-16 08:07:24 +01:00
andreas kainz
251933b199 Notebookbar add Save command to file tab
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I82f5d8275571292ffa4568954e97f376cae61b04
2022-02-16 08:07:12 +01:00
Tor Lillqvist
46e6f6b4ba Introduce symbolic names for the UNO key codes and modifiers.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I1c97f4a8f1ad7ca1d788357399b4fac0f28e74c2
2022-02-15 13:39:47 +02:00
Pedro Pinto Silva
69175404c3 NB: Hamburger menu: Remove items present already within tabs
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6d5dce4c3cd31baa9e103b5e09559c4994fe6f86
2022-02-15 12:20:54 +01:00
Mert Tumer
3d85f153bd fix copy comments breaking the canvassection completely
core sends same id for copy comments and this breaks the
existing implementation because sections are named based on the id.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ia410227b7a42ac8ea7682f12aa980b34ee5c940b
2022-02-15 13:27:58 +03:00
andreas kainz
d548f380bb Icon update for sidebar
Classic Toolbar
 - Update print icon without blue

Sidebar Icons
 - use svg icons instead of png
 - update sidebar icon
 - update statusbar icon

goal for the updates were less visual disturbing

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I27f0d6bd6aa9c0df41ef5e7763bb1bcf97c1f10b
2022-02-15 07:18:04 +01:00
Ayhan Yalçınsoy
b928c7fcae Translated using Weblate (Turkish)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icd24424822b70e571bf75a3d4b8bf9946eedecd5
2022-02-14 22:14:06 +01:00
Luna Jernberg
738d7a8360 Translated using Weblate (Swedish)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If6989f513a88ffb826cd643c94db2703b758e8d2
2022-02-14 22:14:06 +01:00
Ihor Hordiichuk
fb8009f023 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I435fe97e0065a292c957a9e591a28eb24a7b0d73
2022-02-14 22:14:06 +01:00
Martin Srebotnjak
a3ceeef58c Translated using Weblate (Slovenian)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I13da21d7057aa27123b9ca4ba93d646efba75c84
2022-02-14 22:14:06 +01:00
SC
d39a56d83e Translated using Weblate (Portuguese)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib221497e3b0ba406e91ef5b1a2eb201987c5fb59
2022-02-14 22:14:06 +01:00
Matthaiks
ca7b61c43c Translated using Weblate (Polish)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9426ab52f6ce75090a62fd6ad7827ce4417269c7
2022-02-14 22:14:06 +01:00
Sveinn í Felli
d58fc6eb6c Translated using Weblate (Icelandic)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I11a910652665753597f1b890799b80df48bb630b
2022-02-14 22:14:06 +01:00
Yaron Shahrabani
df17c6e0b7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5b8b19586870bf6389875f1b42e30b1b45c2de93
2022-02-14 22:14:06 +01:00
Nathan
c8699900a4 Translated using Weblate (French)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I041b32ff370537472c6f7261868ab100000de6f1
2022-02-14 22:14:05 +01:00
Adolfo Jayme Barrientos
0bf42ed41f Translated using Weblate (Spanish)
Currently translated at 100.0% (429 of 429 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (429 of 429 strings)

Translated using Weblate (Asturian)

Currently translated at 44.0% (189 of 429 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic6888ed49bce913b01e837d0b6664eee66a3af6d
2022-02-14 22:14:05 +01:00
Alexandru Vlăduţu
04b50d5b3b browser: add missing error method for logging
Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: Id4aa67e98779dd0d5c92172425baa753fcaca27c
2022-02-14 15:57:52 +00:00
Pedro Pinto Silva
eae0a70fd9 NB: stylesview: Hide scrollbar while being able to scroll
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1b3f901a8c76f63134419f67972b4b038351c93c
2022-02-14 12:06:16 +01:00
Pedro Pinto Silva
5814c475a4 NB: stylesview: Remove shadow
No need to have outer shadow, if needed the only shadow we could used
would be inner (inset) but that would trigger other set of problems,
e.g.: while scrolling the inset shadow (parent elm) would be under
the styles so, better not have any shadow in the parent elm

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I039f74dea19b7887408ca252e2d16f482602d1d0
2022-02-14 12:06:16 +01:00
andreas kainz
a9dad6de52 sidebar width is 330px and duplicate borders removed
The sidebar width is 330px and not 322px.
330px is the default width with 322px the sidebar width is smaler
than needed which causes issues of symetry AND issues when
there is an additional scrallbar needed.

Top borders at the sidebar's were removed
cause there is already an border at the top toolbar.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6c53132b273a2b83fd89c58778577e1b47cda125
2022-02-14 08:33:42 +01:00
andreas kainz
7ceb5346b5 Ruler use var color from color-scheme
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iccaa63a050721331c1b10553762424b1166bff25
2022-02-14 08:31:41 +01:00
andreas kainz
72089f09a2 toolbar selected text use --color-text-dark
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id18af50448bf4c4019baf6f9f4d6d75d69179f3a
2022-02-14 07:18:09 +01:00
andreas kainz
01323359eb Sidebar separator-horizontal use --color-border-lighter and 1px height
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie644be283add981ba5bc4f7d159479cb1187ccf2
2022-02-14 07:17:52 +01:00
andreas kainz
f49afc6c3d mobilewizard input checkbox disabled no gray background
there is a light text effect on mobile for commands
that aren't available (disabled) which work fine
but the additional gray background and border color
is not easy to recognize
and it cause visual issues on desktops

general everywhere in cool lighter text mean not available,
so no additional stuff is needed.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5315e1d6a84ae3caf037ec7ab4c1ab81dcfbe44d
2022-02-14 00:26:47 +01:00
andreas kainz
3016a266ce w2ui-toolbar border use --color-border
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Idf9303d8a0dae5b4c1aaff3e2befb4bd7956c017
2022-02-13 23:44:36 +01:00
andreas kainz
132d2fc2e5 toolbar-search border use --color-border
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9a5058b73a0c695078098d6d5fb5c48ad6534016
2022-02-13 23:44:36 +01:00
andreas kainz
03883b68e7 Document-signing-bar use var(--color-error)
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I59fe9a18ccb312452745bf8bdd3de35b4c3261f9
2022-02-13 23:44:36 +01:00
andreas kainz
41b14c18d9 Toolbar color update
In status-readonly-mode the element on the down toolbar
use --color-warning background color and --border-radius

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I55782f5632f55f5923d53ec9a03628e048fa45da
2022-02-13 23:44:36 +01:00
andreas kainz
23b1cdb69c Menubar use transparent background and correct border color
Menubar use transparent background color,
so the menubar use the color of the toolbar

In read only mode the bottom-border use --color-border var

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0f5b612cc2af7f10e62442b3568778be2ce4e52f
2022-02-13 23:23:00 +01:00
andreas kainz
08a500e938 About Dialog update
use color-scheme vars

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia4ed91f428673e66799e6cbd378e8fe5807e7173
2022-02-13 14:49:09 +01:00
andreas kainz
76121778ca Dialog style update
bottom buttons are better align with
buttons get hover effect with correct color vars
display: flex; and justify-content: space-between;
dialog get a border and a box-shadow
widget-header use --color-background-darker colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I1e77434b1d4fc166a22a9774bb3168852456d3d3
2022-02-13 00:18:46 +01:00
andreas kainz
a04f36b4a5 toolbar-mobile use color-palette var's
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5f8f5a18e8827960088d24eecdb5f91b88d0dd5c
2022-02-12 22:30:33 +01:00
andreas kainz
4a5b3b6465 Welcome dialog .css file use var's
the welcome dialog use the var's from the
color-scheme.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie3f0166f27d471dd21465bb76d680f63a592ee6b
2022-02-12 21:16:19 +01:00