Commit graph

889 commits

Author SHA1 Message Date
Pranam Lashkari
7821ce5368 image operation: make sure embedded svgs are shown in writer only
fixed regression caused by 1c86fd2ff869d36
regression: while we move textbox in impress previews would not go away

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1b3cfefdd6abb7f81ff741eee4edab7e349c932d
2022-03-18 15:48:46 +01:00
Pedro Pinto Silva
91ab74f65c Buttons: Remove unnecessary CSS on calc
Many of those CSS rules were added in the past where not all main btns
had the same class.

All of those are now generated and stamped with
`.ui-pushbutton` class. Thus we can now remove those very specific
and outdated rules.

imgs:
https://archive.org/download/cool-github-commit-imgs/statistics-dailog-define-name-pushbutton.png
https://archive.org/download/cool-github-commit-imgs/statistics-dailog-ftest-pushbutton.png
https://archive.org/download/cool-github-commit-imgs/statistics-dailog-manage-names-pushbutton.png
https://archive.org/download/cool-github-commit-imgs/statistics-dailog-sampling-pushbutton.png

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ief0211c2825c23f113fccb88e1ce6fea59d1500c
2022-03-18 13:36:19 +01:00
Pedro Pinto Silva
961f43027b Simplify CSS for vex btns on mobile, flex
Now with changes from 451d11ebacaa72307ea6b70c57a83544cbd65ce5
change-id: Ia4ab1de407ca7658242282181eeb215fb6dc0d99 we can now safely
target all the vex buttons for mobile without exception

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I660463733fa9e6ce8feb46a08e9217f7c9f414da
2022-03-18 13:36:19 +01:00
Pedro Pinto Silva
6b4293b6d4 Target all buttons, fix mixed display properties
Now with annotations btns being created with new ids it's crucial to
make sure we target them all

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8c2dc9d0a088290fa0c2b9b3cbf83ee2f7d0dd76
2022-03-18 13:36:19 +01:00
Pedro Pinto Silva
320b4095b6 Annotations: Fix cancel confirm btns flex CSS and add class for container
This affects annotations (vex) and jsdialogs

- Set annotations btns' container to flex so we can reduce CSS rules
around specific buttons

----

Before we were relying solely on cancel button to change the layout,
by setting it to flex and let ok/submit/confirm btn untouched. This
was causing some inconsistencies plus it was forcing us to add CSS on a
case by case instead of fixing the root cause

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia4ab1de407ca7658242282181eeb215fb6dc0d99
2022-03-18 13:36:19 +01:00
Pedro Pinto Silva
3223b69c88 Code refactoring: swap annotations' size for CSS var
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id6de428f2182520290424b33f2f7f539c0c09e4c
2022-03-18 09:54:19 +01:00
Pedro Pinto Silva
0beb1fd426 Laptop, mobile: Make it easier to insert text on a new comment
- Increase height of text area when in presence of dialog be that on
mobile or small screen size desktop or tablet for that matter

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3791cb5ba3cc5ce10d250993b49ba058d0847dfc
2022-03-18 09:54:19 +01:00
Pedro Pinto Silva
8801b9593a Remove extra margins and padding for annotations content
These styles were initially intended to align to the user avatar but
they are not ideal anymore (specially when factoring in the compact
/collapsed mode on desktop for small screens)
- Remove these from desktop and make sure they are only avaialble on
mobile

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1518373b1eda574e0aecbd5c76c5fdc1f5fc1c28
2022-03-18 09:54:19 +01:00
Pedro Pinto Silva
6f9ed98046 Set max height for comment annotation contents
iteration on top of
commit hash: 31284e40f573843189c001c04a13479f67e3f832
commit change-id: I03693f67c69d108ef3dcbf5cc9cd0127bd37b5a3

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2b52243a4367f43f7449c12854261ac6235493e6
2022-03-18 09:54:19 +01:00
Mert Tumer
e99fb5309d fix comment reply is too wide when the content is big enough
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I03693f67c69d108ef3dcbf5cc9cd0127bd37b5a3
2022-03-18 09:54:19 +01:00
andreas kainz
c3bbba1ea6 Menubar add DrawText and VerticalText commands
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6d07df1a3a97b9e896c883e87803d2f2b986ee56
2022-03-17 13:23:38 +01:00
Kristopher Maxwell
90825d065e Remove unused svg icons
Signed-off-by: Kristopher Maxwell <kristophermaxwellc@gmail.com>
Change-Id: I5fae30f1b829f9ce664dc225f9aec217740845ea
2022-03-17 12:22:39 +01:00
Kristopher Maxwell
d9c3933ae6 Unify icons used between toolbar and sidebar, see issue #3405
Signed-off-by: Kristopher Maxwell <kristophermaxwellc@gmail.com>
Change-Id: I3a244e855d53cc70dd1ae3c0524b1db8aa575f9a
2022-03-17 12:22:39 +01:00
andreas kainz
97f478fcc7 Calc Sidebar Alignemten section fix leftindent alignment
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If77f343e66cea627a7eb2afadd2905df8b332c82
2022-03-17 12:05:41 +01:00
Henry Castro
6ebd84831e infobar: show message every five days
Change-Id: Iedf6aff2f026f4530bfed06cd4bf5e7acae15a50
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-16 23:00:13 +03:00
Pedro Pinto Silva
5361456a77 Fix Welcome dialog for mobile when served from outside
Make sure it occupies the whole view

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If492fdca19aac024a749b7273c515047be208d7d
2022-03-16 15:13:49 +01:00
Martin Srebotnjak
a878b83f26 Translated using Weblate (Slovenian)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icec61949668e03a1e02ae2282cd557f5fb3c131a
2022-03-15 17:56:39 +01:00
Yaron Shahrabani
435ac3a346 Translated using Weblate (Hebrew)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id421f50b620da5d3ba4c11e27c1bbabe3ce83994
2022-03-15 17:56:39 +01:00
Nathan
de79985def Translated using Weblate (French)
Currently translated at 99.7% (437 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie4ee014ee9bbca6013d70e4f9da0b2f856da4d5d
2022-03-15 17:56:39 +01:00
Marc Rodrigues
eeba89f91d Translated using Weblate (German)
Currently translated at 100.0% (457 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4ef99404580061d72de245f57ae57031698250cb
2022-03-15 17:56:39 +01:00
Marc Rodrigues
8323ecea13 Translated using Weblate (German)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I750bbd366dfc25526c4471be7d619c1ae6a6d3a0
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
8d8972b8a7 Translated using Weblate (Catalan)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iad1a9173d7c77cc822c4f473eea1061c4db18e5c
2022-03-15 17:56:39 +01:00
Ihor Hordiichuk
8bd77049e8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I37454484741d46a38523dba25cb89ceecdf8561c
2022-03-15 17:56:39 +01:00
Yaron Shahrabani
50d1a64ac6 Translated using Weblate (Hebrew)
Currently translated at 69.3% (317 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I84c05604ec0436d27456b54939060c4495ac63c9
2022-03-15 17:56:39 +01:00
Sveinn í Felli
4aac40e326 Translated using Weblate (Icelandic)
Currently translated at 99.3% (435 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ief8904c52f30d5028fdb9b66dbedf211418044ab
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
b8491a9638 Translated using Weblate (Spanish)
Currently translated at 100.0% (438 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I28a9f641bf0867df1042ce945137b62617c22796
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
459b7e4e7e Translated using Weblate (Catalan)
Currently translated at 100.0% (457 of 457 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic771fee3ce09b39f8a5fdb9bd0e6051cb134b6c4
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
fe4d2c451d Translated using Weblate (Catalan)
Currently translated at 99.3% (435 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I539f8d6dc7d33d163aae417c00bd330e99e7678c
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
be26a7f67d Translated using Weblate (Asturian)
Currently translated at 48.4% (212 of 438 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If9f282d89a8309e14cadd6be2568c2d024d2f4d2
2022-03-15 17:56:39 +01:00
Omar Macías Molina
783832be01 Translated using Weblate (Catalan)
Currently translated at 98.8% (433 of 438 strings)

Co-authored-by: Omar Macías Molina <omar.maciasmolina@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9480681148d8b84bdf602dd80a17bb661e59c914
2022-03-15 17:56:39 +01:00
Adolfo Jayme Barrientos
f82ae10d37 Translated using Weblate (Catalan)
Currently translated at 98.8% (433 of 438 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic38fb6cec95c5598cf7e4561866cfa17e9d18590
2022-03-15 17:56:38 +01:00
Mert Tumer
c26c05349a calc: fix cells become empty after closing sidebar
this patch not only fixes the issue in the title
also fixes similar problems such as lets say the
browser page is not maximized and then it is decided
to be maximized. This operation normally does trigger redrawing
but it only draws tiles that are in the cache already and does not
trigger tile invalidation and cells can stay empty until something
retriggers tile invalidation again

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I5981aa36c77a87626809c92e72e1cd6263826953
2022-03-15 17:25:16 +03:00
Henry Castro
68876cdf71 browser: fix to show cursor blinking
When an image is inserted, the cursor is not shown.

Change-Id: Iea305a9a666bf06c68e7407eac3252f7faab627a
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-03-15 16:43:08 +05:30
andreas kainz
e87351ba7f Sidebar fixes desktop only css rules
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iec66fb657654b770e6b47d30ee9df98609d6f9ae
2022-03-15 11:47:02 +01:00
andreas kainz
a6ff172aaa Mobile Button use color-primary as background color
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I8a80c91f1358c83fe6d4309da91f1bbf539c5f2c
2022-03-15 11:47:02 +01:00
andreas kainz
a42efeacc9 Mobile Sidebar Fontwork fix
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Icdf017c2d130f81db3af7122d2b45f77bcc12741
2022-03-15 11:47:02 +01:00
andreas kainz
bf717ba8e5 Desktop Sidebar specific fixes only for desktop not mobile
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iad7ccd3b61a532b5ff922e862b808e3c0a8fd8eb
2022-03-15 11:47:02 +01:00
andreas kainz
f066a2ce74 Mobile Sidebar fix alignments
header-left use max-width instead of min-widt

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iebadf80864fb70e723bde9269a89d61ec43a2845
2022-03-15 11:47:02 +01:00
Dennis Francis
bb1035e49a calcRTL: chart selection's svg does not match the tile
The svg sent from core does not exactly match the corresponding contents
in tile of the shape - especially the legend texts. This commit does not
attempt to fix that.

Before the commit e64ff372fc, the svg
embedded image was always hidden when a shape/chart/ole is merely
selected and it is only shown while the shape is being resized or moved.
Because of the strict inequality used with getAttribute('opacity') this
condition is always true at least in Chrome as getAttribute() returns a
string.  Comparing the parsed integer version of that results in the
intended behaviour and also hides the svg preview when chart/shape is
not dragged or resized.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0aef873e392b0959e93057e6399e8f77cf70042c
2022-03-14 18:36:14 +03:00
Pedro Pinto Silva
881d9feb1d JS btn: fix disabled status
With changes from 76121778ca
- We started to overwrite default user agent styles and with it
decreasing the difference between disabled and enabled buttons making it
very difficult to distinguish between the two.
- Also border width was set to different values (disabled btn getting it
from our stylesheet and enabled from browsers styles) causing the btn to
"jump" in size and position when changing between states

Fix those and add new css vars for btns so to avoid mistakes
in the future

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3ec865ecbbff44c90357d1d6de44a2e6f633bc3f
2022-03-14 15:22:13 +01:00
Pedro Pinto Silva
5709b49386 JS Dialogs: Fix regressions background and overlay color
- Make sure overlay stays an overlay and not a solid opaque color
- Make sure dialogs' background is white and not gray
  - Since they appear above the content they shouldn't be darker
- Also make sure Welcome dialog is not gray

related:
6f2be29ab7
4a5b3b6465
08a500e938

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4fbaa3f79f7fb1c348b5fe0ef87e98f9007ce007
2022-03-14 12:21:40 +01:00
Gökay Şatır
7410e2ff85 Enable translations for paragraphs containing links.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I9b66f7b301487cf345c9a136943a6148827a2d49
2022-03-14 08:32:27 +01:00
andreas kainz
31130d50ea Remove all gray colors with var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id57e01587ad2f78ca5d8d46f6b8f42e3563ed874
2022-03-14 00:03:30 +01:00
andreas kainz
3afd168e8c Remove all white colors with var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I1018fad2739d5bd54d63843983b65d44e8f6a2ab
2022-03-14 00:03:30 +01:00
andreas kainz
4654b2f77a Use Var colors
replace white with var's
autofilter-container use var colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If724c88829c0c69d09be4a29b218593542693add
2022-03-14 00:03:30 +01:00
andreas kainz
479e8c5bcb Savemodified placement of the box-shadow was misaligned
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I583502733a9fd7053a67b8cd3445896fb56c74a8
2022-03-13 23:40:25 +01:00
Andras Timar
1db0251dff welcome: fix translation of string with version number variable
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia8d5e89b15017c68fe18ea88b5f29dc79de2e06c
2022-03-12 19:31:34 +01:00
Oğuz Ersen
17258e67d4 Translated using Weblate (Turkish)
Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
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: I873f5290273f42d618ca315fd0854ee985ec04f9
2022-03-12 19:31:34 +01:00
Matthaiks
ea65be0a1c Translated using Weblate (Polish)
Currently translated at 100.0% (438 of 438 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: I0a3873959db58a503dc61aa67a58b76a5049365f
2022-03-12 19:31:34 +01:00
Yaron Shahrabani
1607b16cce Translated using Weblate (Hebrew)
Currently translated at 98.8% (433 of 438 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: If40c52ed944e2e42d3772fa4f4216f8f3dc3076d
2022-03-12 19:31:34 +01:00