Commit graph

29 commits

Author SHA1 Message Date
Pedro Pinto Silva
5aa5703885 Fixes #6946 and all unstyled kbd elements
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I09583d7c27cffc0f5b9722de1925977089bf832b
2023-07-24 16:30:02 +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
f142a28468 Remove outdated vex hyperlink warn popup related css
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I04eb48bb14d31dcb53141d245bb61fd5420a61d2
2022-11-29 15:11:38 +01:00
Pedro Pinto Silva
52f0c3dd0d Fix multiple line list within feature_lock dialog
Before this commit, list entries with multiple lines where not being
properly aligned.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0ca9861289f471285ace2dc1d39104d608eb8f15
2022-10-11 11:23:42 +02:00
Pedro Pinto Silva
d4c4774a57 Improve infobar's component contrast
Reduce inconsistencies by inherit component properties such as
shadow, border and bg.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia978b229cf4c9616d1d38ccac09644114972b39b
2022-09-29 10:28:18 +03:00
Pedro Pinto Silva
191a012559 Improve 3btn dialogs: don't allow btn to have 0 height
Particularly visible when on mobile and the conflict
dialog appears. Without this change primary button can shrunk.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id27761b53a425d16ab4bd2ef2a801890d899ee69
2022-09-06 17:01:21 +02:00
Pedro Pinto Silva
1a29f1004a Don't use vex btn default btn CSS classes (rename)
By Renaming .vex-dialog-button-primary -> .button-primary and
.vex-dialog-button-secondary -> .button-secondary

- So we can remove duplicity on CSS buttons
- Easier to set vex primary and secondary button to use our css classes
- This way there is no need to hunt those specific cases down.
- Update cypress tests

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I82f4b33560367805eeeeb5aec9af8d1abd313788
2022-09-06 17:01:21 +02:00
Rash419
3c5cc61fb6 feature locked dialog visual improvements
fixed:
- image overlapping with high res image
- shows empty bullet when highlight text is empty
- no space between bullet points and text

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I0e3bcd11d9132913d69f8a7c74d21cc0b4ab3305
2022-08-24 14:39:09 +05:30
Rash419
9bb0b6fabd introduce new options to customize featurelock dialog
- adds two new options
1. localize the dialog
2. change upsell image shown in dialog using proxy handler
- provides all the settings using dynamic configuration

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7e21c1b31c806c88bf54f891de40f02fa342168f
2022-07-20 17:41:19 +05:30
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
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
6f2be29ab7 overwrite-vex.css use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Idddf62b6c8a3be87df4893d01fe1860d69ab7284
2022-03-12 16:46:26 +01:00
andreas kainz
d33b5b5f92 vex dialog use var(--color-box-shadow) for dialog shadow
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I4358567f9a37df6c97e544be3f53329cd138890d
2022-03-10 09:06:29 +01:00
andreas kainz
06bd2b9bc9 vex dialog close button is bigger and easier to grap
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Iac201d815782d96cab872a9415218c8a5c384ed4
2022-03-10 09:06:29 +01:00
andreas kainz
f2aeb8e042 Use Var colors
shortcut dialog
- use var colors

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibaa0a3166971378186aeb684ee250340c85df3ad
2022-03-10 09:06:29 +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
andreas kainz
ddb9317ab5 use var(--border-radius) instead of fixed px size
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I77deb75387a75bcd569186a2eb042fd955313073
2022-03-09 07:15:57 +01:00
andreas kainz
314e29a9fb css vars use header-font-size and default-font-size
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0388e2b38cc13920eb5c2de74ad34fde56f4d417
2022-02-27 23:30:00 +01:00
andreas kainz
bbf8d27e30 CSS Vars: idle Dialog use var colors
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ic0ca5860f67d4d0299e5d33c73c973db462a147d
2022-02-27 09:35:59 +01:00
andreas kainz
5012f600ab Add Color Scheme Var's
to dialog, popup widgets

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I8f0170b181f88ed8e4b3f1b9a4303a9f21ab0083
2022-02-25 09:54:52 +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
Pranam Lashkari
7e22a01d4d refactored feature disabling bits
now it is known as feature locking

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I2935edbfe1eb8dcc194641afa2461cf77b2b29d3
2022-02-11 17:00:11 +00:00
Pedro Pinto Silva
95bd65d2f6 Document has been changed: Fix for mobile n add cancel btn
- Generate cancel button but only show it on mobile
	- Hide dialog's top corner close button on mobile
	- If Saving to a new file is new file is not possible then set cancel
		as primary button

- Fix mobile vex dialogs layout
	- Make sure the elements are spaced out so the buttons are aligned to
		the bottom of the screen making it easier to reach on mobile. This
		happens only if the dialog doe not have input fields;
	- Make sure all the vex dialogs that have input fields are not affected
		by this change. why? Because interacting with input fields triggers
		the on screen keyboard and this these dialogs do benefit from having
		the btns aligned to the top together with their content.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5e28d5c2e9169f59caff0422a541bce5b17f10d7
2021-12-06 17:35:04 +01:00
Pedro Pinto Silva
60a6f796f1 Document has been changed: Add missing title
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib602bb5d9c48268013e83b65047be128f3d7b558
2021-12-06 17:35:04 +01:00
Pedro Pinto Silva
8327de7b7b Document has been changed: Improve 3 button layout
- Use flex box
- Space out elements
- Create and use spacer element to visually group buttons without the
need to custom adjust vex dialog's html structure. Thus we can keep
creating btns as we always had
	- This is specially important when from the 3 actions, two are
		destructive (overwrite, discard) and one is not (Save new file)
- Make use of new css class for these 3 button dialogs that can be
reused in the future

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic36584321256fe96ebe6158bef7cbd8d67951261
2021-12-06 17:35:04 +01:00
Pedro Pinto Silva
932229a5f1 Welcome dialog: new layout
- Add slider
	- Less content and easier to scan/read
- More clear call to actions
	- But less CAT per screen / slide

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5faf9ac5ef3bfa57f19d1b9f5f2bdcee4c91ecb7
2021-11-24 20:09:49 +01:00
Luka Trovic
ec2e5e1ec6 update idle document modal style
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Change-Id: I03ab8867f757da43b440019503c01e0feb0c3f51
2021-11-16 14:04:57 +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/override-vex.css (Browse further)