* Use lineHeight rule for centering the elements on mobile.
* Use parent element's rules for setting the styles of img and preview elements.
* Disable mobile-slide-sorter. It is not in use for a long while.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I06517467f269669c70294fb5a4dd0960eb16feb5
It seems that fitWidthZoom function is impress-only.
I will turn back to this later.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I95b02d53299bf1b8ce7daf31121b67dccd1c817c
There are some inconsistencies with impresstilelayer.
I think the reason is that impress has overwritten some of the canvastilelayer's functions like in updatemaxbounds (old one).
I bound impress' onresize function to canvastilelayer's synctilecontainersize and deleted the workarounds.
One 1year old commit will be reverted after this commit.
Only change that is not related to impress is the FIXME part on canvastilelayer. So i tested the mobile views.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I2dd127bd8d2280f2897d8c58281541f0aaa3c50f
So, we no longer need to set positions of HTML elements using margins or absolute positioning or attributes like "left: 30px".
Tested on mobile, desktop, tablet views with & without notebookbar.
The problem was:
On an unbranded build, side bar's width is different. So pre-assumed pixel based positioning would need to be changed according to existence of branding.
Instead, i tried to use CSS rules with flexbox.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ib301dfa8c06a9cf12acd33caf1b6a852a2faab20
There is an additional fixup for master branch included.
added missing uno commands
modified uno property to use full command (i.e: use prefix ".uno:")
some item had custom handling and adding uno property would interfere the correct functionality
but to make freemium work properly each item needs a command
to solve the problem a new propery to store the command introduced: freemiumUno
This unifies the button properties with other JSONs
This is also necessary for freemium, without uno property button can not be blocked
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I43fb0796507987817b8eb82828a506b1f874d8ca
Mobile:
- Checks if we are in presence of mobile mode and adjust layout
accordingly based on class
- Makes sure that the illustration resizes
depending on device's size
- Adds subtle animation to get the user excited or at least curious to
tap it (avoids making the disable status to dimmed/not legible)
- Fixes layout and buttons
Desktop:
- Adds hover state not only to button but to the locker
- Makes locker a discreet overlay above the respective button, suggesting
"this button is locked" but make it react so user is willing to click to
discover what is it
- Added CSS rules for top toolbar
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idbe66746c5ad07647cd62eb94d3b22a840bf70d7
Do not use external html file and instead use input attribute from vex
so we can send html while being able to use variables (those variables
should then be overwritten by integrator)
Also Fix styling and DOM elements creation:
- Avoid to many elements and messy notebookbar with multiple (states)
- Replace disabled feature icon with lock icon
- Also style it properly and make it similar in other properties as
the existent disable status
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9c2a07ef1fe5f089d5e63cb53d2d6b7f0b5083a8
- Add html file where structure can be changed
- Add illustration as default (in the case integrator doesn't
have one). Avoid any purple so to do not confuse the user about
who is requesting the subscription
- Set custom vex button text (to do: translations)
- Add custom class to vex so we can target it better in CSS
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6a4c0232f3728ba88f650ce28905ebfe2f6d9bfc
- So we can be sure nothing else is targeted
- Center illustration
- Container goes full width
- Fix Portrait and Landscape modes
- Add border radius so to differentiate this panel (busypopup) that
blocks the ui from any of the other ways we use the mobilewizard
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2391197477d465636143ca2b55c0723f60a4b339
This will prevent us from flickering if popup has to be shown
for less than 0.7s.
Change-Id: I5904e5f836dae40b83ca24d19e0b2fb779eb504b
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
This reverts commit a701f7c9094227422457d05cc5d90e9d1a9a7fc0.
I approved this one but it doesn't seem to work well, unfortunately.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iafc10a15dcf07aae661e7dd2562c6555f6b83596
Hide comment on scroll.
Don't show another while one is being edited.
Remove section properly, it was hanging on the background.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id0f85d4c84d3741a5120e24055061c2fe183b98a
Open new comments directly in the cell's position, without animation.
Focus on the comment box.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I0dda23baaa9c8cdd940fc9d429e0e72e5464b854
When used 120% zoom and selected any row after 50
there were multiple rows highlighted.
Change-Id: I4bc5f4272bf65fb0f9d00d96527890281377c0a8
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
- when we receive any notification - mark notebookbar as initialized
- if we haven't received any information eg. in impress - warn
reduce importance of this from error to warn as it is not important
probably there is no widget which sends updates (correct for draw and
impress)
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I88ae3a090014dd25e59e04993c0c244d8830435e
now it's possible to pass parameters
typing_speed, typing_duration, single_view, node_inspect
also replaced the old perf-test with new-perf-test
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I03f1f14db4ddd9afb9d4a9a60a87c135497db70c
This way both notebookbar and classic toolbar will have the select2
styling
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I9b8294cb1c0308fcfeeed8f9e886e3075c2eb3a1
The LO Core server will send the label of the status
indicator start.
Change-Id: Ie33aa56fcf2bb87362ad91c79498292c51bd32a8
Signed-off-by: Henry Castro <hcastro@collabora.com>
Thanks to cypress tests. It was being called in Impress document.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I4681486cdd0930429f824c5636a2becb26700ff6
we receive that information by welding updates
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9ff7f5d26740b1f13d1f1cccd88793ca35a4ee76
User can pause drawing before adding multiple sections.
When resumeDrawing is called, reNewAllSections function will be called automatically.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ie83265b5a57c11bd828a980c1797d6bfa3d6e287
if any of explorable toolitems was opened - open it also
after update
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If98f68befb1b0e7283564c2bda3f18524e498977
we need to force proper closing of popup to avoid empty popup
when it will be opened next time
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8e6b3164dc0d828bcb10c37c657d403664f0395a
we need it because toolboxes are sometimes hidden dynamically
and we need the DOM element with correct id for hiding.
example: colorbar_others / colorbar_writer in Characters Panel.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Idccb9cd46feda34c3093b61354a4352677bb582b
When update occurs and explorable entry was opened eg. color picker
in shape effects panel we need to rebuild it as opened.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7a564bb32c8e7ee075a2ac32235088bdda19130e