Commit graph

11 commits

Author SHA1 Message Date
Pedro Pinto Silva
218583ce22 Tablet: Hide document file name input field
The input field is already being hidden for mobile. For Tablet and
with the increased amount of UI elements on the top bar best to hide
it also. Renaming the document is a quite rare used action when
compared to any of the other top bar actions (switching tabs, open
sidebar etc). Better to hide the #document-name-input when on tablets
instead of trying to fit everything (and end up obstructing tabs for example)

Tablet user can always:
- Use the integration (already used to do many other file manipulations) to rename the file
- Use the in-app Save as can still be used to save a copy of the current
document with a different name

----

Possible future improvements would be to add the possibility to rename
the file when using a tablet:
- Add menu entry and tabbed view button
  - Control.Menubar.js something like {name: _('Rename Document'), id: 'renamedocumentbtn'}
  - Control.NotebookbarWriter.js add bigtoolitem Rename Document
- Maybe in Control.UIManager.js add a renameDocumentBtn function that
  - Creates a JSDialog with document-name-input element + Cancel btn +
  OK btn
  - Ideally that input element would re-use the functionality from L.control.documentNameInput() -> Control.DocumentNameInput.js

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I968e806a4a9e0018b38b87fc249a57e5af099c78
2023-08-01 09:26:35 +02:00
Pedro Pinto Silva
70a5ec53aa CSS Refactoring: one btn-size to rule them all
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iedac492e206e15a1aad65e07dc8cdc3d95a4a488
2023-04-11 13:01:54 +02:00
Gökay Şatır
51bb1d3aa7 Remove unused vex definitions.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I16a5df46bced608952c22bf979808bc735645366
2023-03-22 07:49:07 +03:00
Pedro Pinto Silva
d0436fb67c Remove notebookbar tab indicators on tablet
These used to make sense in the past, when we had completely
different look and feel. Plus even back then this was not super
elegant way of showing that the tab container is draggable.
Furthermore, currently, the tab container is quite distinguishable
form its parent making it visible that the notebookbar-tabs-container
has more content to show.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6e4c0d5b3bc5e0e21d6cd470446d13b9811846ab
2022-09-12 17:07:49 +02:00
Pedro Pinto Silva
8eaa96840b Allow notebookbar-tabs-container to occupy full width
Remove the now necessary max-width from tablets
- We now have those parent elements being set as flex box
and thus we have now no need to limit the max width of this container
- Plus by limiting the max-width we were hiding more of the tabs while
not gaining anything useful in return

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1ef477902fd95a4751009f8bf08350b6ce88aa97
2022-03-24 10:32:12 +01:00
andreas kainz
907d9b8d95 device-tablet.css use var colors
simplify the notebookbar.tabs-container:after and :before
use box-shadow similar to toolbar-up scroll-left and scroll-right

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I236ae45f2418bb10be0ac76d4c1a406e487e759e
2022-03-12 16:46:26 +01:00
andreas kainz
19715471c7 cleanup css vars
the following vars are not needed anymore
--gray-light-txt--color
--gray-light-bg-color
--gray-color

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ia23954e50629b60d3df50ea778c57de4e26bea88
2022-03-09 21:18:27 +01:00
Pedro Pinto Silva
ed6119f0c2 Aboud: Ipad: Fix git hash formatting
In the wsd version git hash was getting set right after the previous
word (completely adjacent and without space and brackets)
- Fix outdated "loolwsd-*" class name and make sure the CSS rules does
	get applied

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I77ea5ac19a5dbaa798437ec70489a1aee1051b1f
2022-01-10 13:57:39 +02:00
Pedro Pinto Silva
772978efa7 Aboud: Fix Desktop-only rules, affect also tablets
Those spaces and brackets are also needed when using tables

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9af86ecddc335e212ad76700ce66531453db2274
2021-12-01 15:26:41 +01:00
Henry Castro
85009cde46 browser: update CSS class names
rename loleaflet -> cool

Change-Id: Ia9c14ccef395c0a2290b083396e35c2058342dbf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Renamed from loleaflet/css/device-tablet.css (Browse further)