Commit graph

2600 commits

Author SHA1 Message Date
Szymon Kłos
8e81725635 jsdialog: make expanders work correctly
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I37a679fac92073172b7960a8d9a4eb116dd441d6
2023-05-15 07:55:22 +02:00
Szymon Kłos
7311927c15 jsdialog: fix snackbar css rule
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie7442eb5f9b15556989e478718e07d34e65d0eab
2023-05-15 07:55:22 +02:00
Szymon Kłos
afbf052bb5 jsdialog: use minial size of a dialog needed
Use 'position: absolute' in jsdialog-window and jsdialog-container
so we don't stretch the dialog. It will use minimal needed size.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7b38b9200e190cfc184bf4bfe8b7bd814c60d5a6
2023-05-15 07:55:22 +02:00
Szymon Kłos
fd71e664b6 jsdialog: fix jumping ans dragging Page Style dialog
when html document has <form> and inside <button> with
id=style, instead of having map with properties in
style attribute, the form has reference to the button!

that caused not working dragging and updating the position
in writer format -> page style dialog

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic3e35c096f537e6f3cdd4bd7b1a06af1302e7c9e
2023-05-15 07:55:22 +02:00
Szymon Kłos
e8e1e261dd jsdialog: dialog adjusted to size of biggest tab
this uses css grid to position all the tabs stacked
on each other at row 1 col 1. then when tab is hidden
we use 'visibility: hidden' instead of 'display: none'
so we hide content but leave white space needed for it.
this way we don't change dialog's size on tab switch when
tab has different size requirement, but we match dialog
to the size of biggest content

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I634e9f610c4e6dda4df38b85ee15cd58b3b18432
2023-05-15 07:55:22 +02:00
Henry Castro
107509260b browser: fix bundle exceptions
builddir != srcdir

Change-Id: I0c129d2bc9ea11fc0d46b37a72faa6a32a69b002
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-05-14 14:40:24 +02:00
Gülşah Köse
da19d1b39f Impress Draw: Fix insert field buttons
Draw: We should use uno:InsertPage* commands instead of uno:InsertSlide same
like compact view. We should use "Page Count, Page Number" instead of
Slide count Slide Number as button text. "Slide" word should be used for
only impress.

Impress: We should use InsertPage* commands instead of InsertSlide* same
like compact view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I91989d4d61b65bd3b719753300a14a5177ca9e95
2023-05-14 14:22:56 +02:00
Gülşah Köse
4220305fb6 Fix the layout of page number diaog #6285
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I00bd8d75a2e0ae509f78eda3ae1af687da088419
2023-05-13 22:32:09 +02:00
Szymon Kłos
888448f597 jsdialog: fix spelling dialog layout
rules from sidebar were applied to dialog

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I18d274d0aaeeeba3ba47d839f82efaa5805eaa28
2023-05-11 21:08:51 +02:00
Szymon Kłos
99e57059a4 jsdialog: show expander content
can be tested with calc -> insert -> pivot table -> ok
or calc -> insert -> define range

- main expander content should have visible state so we show it on
  toggle
- use expanded state to detect if we should be expanded

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5ad2f8d22fa0746ab5324cbf1f211b6ea3d69886
2023-05-11 14:44:52 +02:00
andreas kainz
06f69a8813 jsdialog ui-widget-header border-radius and color fix
ui-widget-header has no border-bottom-radius
ui-widget-content has no border-top-radius
cause both widgets are next to each other

ui-icon use the blue hightlight colors
and the blue icons for more consistancy

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id891548c56b540f8d0b27f65b805c1823fe28906
2023-05-11 08:22:52 +01:00
Paris
584017eeba Revert "Dark Mode add color-scheme: dark setting"
This reverts commit 603f912d86.

Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I2ab3ae372f1d64598d39a4b450d621f0ea75a9ae
2023-05-09 21:54:38 +03:00
Gökay Şatır
0e184458cc Make insert graphic menu accessible (with integration).
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I4a4717de5fb0ed641684f43decbae7249a06621a
2023-05-09 18:44:15 +03:00
Gökay Şatır
ebcf0aef36 Make conditional format menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If72a96a13585223f80fd84498a3a484b16251e7e
2023-05-09 18:44:15 +03:00
Gökay Şatır
828c0dd865 Make downloadas menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I42a733861813b8690a848f8abd3203decedaa8b2
2023-05-09 18:44:15 +03:00
Gökay Şatır
de6875521b Make linespaces menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8423051861de6726b3d2c37b40f0e805b62a3616
2023-05-09 18:44:15 +03:00
Gökay Şatır
97475cae68 Make char space menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I7a6736d17633bd4b9148bb4a80713d8e6b257526
2023-05-09 18:44:15 +03:00
Gökay Şatır
8f1fc8245b Make paste menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie48d5c8f43d54ba998faf862a51367346d7e1257
2023-05-09 18:44:15 +03:00
Szymon Kłos
f6d6b70c8b jsdialog: show accelerator key for labels
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ide726eef59c83ed003d4c0c492e38dc8aa3cce2c
2023-05-09 11:27:41 +02:00
Gökay Şatır
ce9fa7d25b Add aria-haspopup attribute if button opens a popup.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie305a48ab5509b52eb604eb73bdef042993b1083
2023-05-09 10:07:00 +03:00
Gökay Şatır
9d6296e4b3 Remove unused document signing code.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I30cf381d1fa282cf222ab5abc676374ab7eefb6c
2023-05-08 21:51:47 +03:00
Szymon Kłos
2662dec86d navigator: use standard command for deck switch
This reverts commit d816daef16.

it didn't help for switching the deck...

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9443bee328ff8032ba910668fc56cdd33e7be7f7
2023-05-08 11:15:52 +02:00
Szymon Kłos
d816daef16 navigator: use different command for deck switch
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I321827c719caad4e894264ef8f2a33a7863c9fbe
2023-05-08 10:59:15 +02:00
andreas kainz
eee955c31d fix --color-box-shadow name
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I115f6ded6691209e2bf7a92d2d70465b9b33d9bb
2023-05-06 08:26:34 +02:00
andreas kainz
05d5a1675e dialogue's Add hover effects
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5c3f4be87cb86bd7a19ce503aa6d1fcc19858fc1
2023-05-06 08:26:34 +02:00
andreas kainz
8c66ba6497 use css vars for disabled buttons
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I8f88682fefb13a010dab89e758b077e2199fe6b0
2023-05-06 08:26:34 +02:00
andreas kainz
e88018fd0f Fix spinfieldcontainer and disabled .jsdialog items
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie715f3829d42efd2536c5653127e9a143ce91147
2023-05-06 08:26:34 +02:00
andreas kainz
7a0f90b466 Dark Mode Dialog css fixes
input elements use css var's

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ie2ebe22bcf7fc377894f4b43c1bb081a3d5f5c16
2023-05-06 08:26:34 +02:00
Darshan-upadhyay1110
09bfd4cb9b fixed element styling in hyperlink dialog box
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I5ad67a1dfc0ac1fd8b3a3eb75f4caa5e6727d895
2023-05-06 08:23:00 +02:00
Pedro Pinto Silva
05d19c2ca5 Navigator styling n layout fixes
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9c83079e5e399bcaa4396ac1d823f5f5adbe7504
2023-05-05 15:44:10 +02:00
Szymon Kłos
9765cf4628 jsdialog: detect current entry in tree view
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ife21b08194e0f44b1e667eb90d960a1708cd5a59
2023-05-05 14:38:05 +02:00
Szymon Kłos
f6e2599dc0 jsdialog: treeview entry activate on enter
on space select entry - single click
on enter activate entry - double click

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I042ad4d4b10c9913fee1ccd5140ac2e173bf6ea9
2023-05-05 14:38:05 +02:00
Szymon Kłos
22371ec0c5 navigator: fix alignment of tree items
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib28be9f4b0a9d00eff6185172979bc68b3b6953b
2023-05-05 14:38:05 +02:00
Szymon Kłos
7ab66505aa navigator: full height in calc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie3b1b40f039f5e4bbe3cf0791f1f9f60571d2128
2023-05-05 14:38:05 +02:00
Szymon Kłos
3dc239f26b navigator: make property panel accessible
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I98c928ac1da3b5be6f55d30c97a115fb4b84cfdd
2023-05-05 14:38:05 +02:00
Szymon Kłos
9f7097de27 navigator: add icon for navigator
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8440204abe56395722334b1f672cd7a13f1d40a0
2023-05-05 14:38:05 +02:00
Szymon Kłos
1897778c74 navigator: expand navigator to fill sidebar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I95bcdedd027871f10dbc14e6763ab9f70e4a72ed
2023-05-05 14:38:05 +02:00
Attila Szűcs
9951a621fc navigator: fix tree dblclick on images in calc/impress
Implemented an additional scroll in _onGraphicSelectionMsg() because
i did not found other events that called when in calc or impress
we doubleclicked on a graphical item in the tree of navigator.
It works different from writer, because here we dont have a cursor,
so we dont get any cursor related event.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I0322dfd30db907bc993f20714d0e3be916f2c352
2023-05-05 14:38:05 +02:00
Attila Szűcs
98f31fb1c9 navigator: fix tree dblclick on images
Altered a condition why it does not scrolled to the cursor, when
graphics was selected.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Ib12cc9e0432685d46462ef52936cec2f5e5a753f
2023-05-05 14:38:05 +02:00
Attila Szűcs
fbd6e25026 navigator: fixed error when dblclick on frames
Make conditions to not send rendershapeselection message when a
frame activated in the tree.
This may not the ideal fix, as it may be a bug in the
rendershapeselection... it start to export as svg image, and failed
because it does not have background property.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I909d4855c5f6e515a24b85700786f76571708e47
2023-05-05 14:38:05 +02:00
Attila Szűcs
819b37642f navigator: added icons for navigator in calc and impress
Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Ib5a012d59458b886510978e74c1f62b9ceae300a
2023-05-05 14:38:05 +02:00
Attila Szűcs
351d6bcc98 navigator: fixed tree scroll
fixed treeContent scroll, when selection is changed, so now it
scroll only the minimum to make the selected line visible.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Ief818069692a1bb54bd75736a97062d41826e802
2023-05-05 14:38:05 +02:00
Attila Szűcs
5cbc9c61b1 navigator: added icons for navigator in writer
Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I324dfd7f8fa58fcfcdf6d547a15eea79368459bd
2023-05-05 14:38:05 +02:00
Attila Szűcs
612fa34b54 navigator: added Navigator button
For core, use this:
https://gerrit.libreoffice.org/c/core/+/151307

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Icbe59959d5f25b001577512b4538c50086538890
2023-05-05 14:38:05 +02:00
andreas kainz
24e2f6f78c mobilewizard button color fix #6263
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I68ac07c50759a2ea1bc7c3c5122b74eecb8d741d
2023-05-05 14:17:46 +02:00
Paris Oplopoios
fd00190cc2 Adding dark and light theme on startup
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I1d1e0daae9764bf38721d99c0e590a83cd8acd39
2023-05-05 12:38:59 +03:00
Paris Oplopoios
cac930db0c Request new tiles on canonicalidchange
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I4a123b53f3a22a8e4d7f29ff4c83e481a1f2a4ae
2023-05-05 12:38:59 +03:00
Paris Oplopoios
26c55fc417 Handle LOK_CALLBACK_APPLICATION_BACKGROUND_COLOR in ChildSession
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Icef1e490e847ca21bc525dfd989190940b746b78
2023-05-05 12:38:59 +03:00
Paris Oplopoios
2527e6ff7d Add debug data row for canonicalidchange
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Idaf22bec5f488ff65916ca639c568edfa695b78b
2023-05-05 12:38:59 +03:00
Pedro Pinto Silva
30903fa6f9 Impress: Fix imperceptible active (current) slide border
- Make it bigger
- Also size is not enough, specially for slides that have backgrounds
  - Add white inner margin so there is a clear distinction between
- what is the slide preview (image) and its contour

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ifee386b98d74c937efa35c19551334482ec18632
2023-05-05 09:20:06 +02:00