Commit graph

17 commits

Author SHA1 Message Date
andreas kainz
23b1cdb69c Menubar use transparent background and correct border color
Menubar use transparent background color,
so the menubar use the color of the toolbar

In read only mode the bottom-border use --color-border var

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I0f5b612cc2af7f10e62442b3568778be2ce4e52f
2022-02-13 23:23:00 +01:00
andreas kainz
5734f70309 Color-palette remove non needed var's
remove --color-text-accent
with   --color-text-darker
cause the accent color was used for select or hover

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifbba9337b70aa0970e0b6654c482ca830e8ce066
2022-02-12 19:28:47 +01:00
andreas kainz
931ddfefe3 Menubar: use vars for the menubar
hover use --darker colors
disabled use --lighter colors
default use main colors
hover effect for better hightlighting

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibc37e6ecd87962ab4981b669006088a87ccf0468
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
2022-02-11 20:25:55 +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
Andreas_K
1554b05a20 Classic Toolbar Menubar no juming up at hover menu element
If you hover at the classic toolbar at the menubar,
a border was shown and the string jump at 1px size.

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I5d03a380c2bfa34bd169bb12295d535875e54a5f
2022-01-31 13:32:36 +01:00
Andreas_K
ff2d2fea31 last-mod string removed underline and add hover accent color
if you hover over the last-mod string the color switch from
var(--color-text-lighter) to var(--color-text-accent).

In addition the text-decoration: underline was removed
cause it use text-lighter the focus shouldn't be there
with an underline.

Signed-off-by: Andreas_K <andreas_k@abwesend.de>
Change-Id: I750981730b6daa8605f8d70ebd3df4029f990e36
2022-01-28 11:41:37 +01:00
Andreas Kainz
c60a563379 Use variables for text colors
there are 3 color var's added

var(--color-main-text)
this is the default text color EVERYWHERE

var(--color-text-accent)
will be used when a label was selected, or during hover
also for the filename accent text color was used

var(--color-text-lighter)
was use for saved date or when a label was disabled

PR was tested for classic and notebookbar
for the sidebar and dropdown elements.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I21795875e58b956081f2020422e77ccecd9bfba3
2022-01-27 09:40:22 +01:00
Pedro Pinto Silva
73854de008 RTL: Force Doc header border to respect direction
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I171053816e5f516cdf9fd7171686e73196e7cd00
2022-01-18 11:34:46 +01:00
Andreas Kainz
38153369ad Classic: Vertical align main menu
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I38aa26df8849795ec39956b6309e979421c50b8a
2022-01-12 22:43:12 +01:00
Pedro Pinto Silva
9544e9297c Notebookbar: Fix smartmenus visibility and set overflow dynamically
c9b4b619cf fixed the tabs overlap issue
but for the smartmenus on notebookbar (hamburger menu) to work the CSS
overflow property needs to be set (both for x and y) to visible, any
other value and the smartmenus' visibility suffers (gets cropped).
- Make set the CSS overflow property of .main-nav elm dynamically
	depending on menu state.
		- If it's open: set to `visible`
			(this disables the .main nav scroll but that's completely fine
			for when the Hamburger menu is open since it's not needed)
		- If it's close: back to `scroll hidden`.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8a5522cb4a107d0583cde252e2ee551124c06f02
2022-01-12 10:19:07 +01:00
andreas kainz
6a7c3df385 Remove background color from every header element
So it's possible to switch the global header color easy later on

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9e275ab7105ace8147f3d07ca73a59a3818dbc29
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
2022-01-11 11:27:58 +01:00
Pedro Pinto Silva
c9b4b619cf Notebookbar: Fix Tabs' overlapping into other elements
Make the whole nav bar scroll-able, specially important when still on
desktop but using small factor screen or simply when resizing window

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib0011c8353a5c4d09f5f150032088bc69e0f7d90
2022-01-11 10:13:36 +01:00
Pedro Pinto Silva
eb91df3e86 Classic: shortened size of menus
To occupy less space critical in some languages where the last save
string is quite long also increase its height so the click target
is not too small

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I16affef5b5ecb484a14c7f6ff03ba8a28b3eef63
2022-01-05 08:32:42 +01:00
Julius Härtl
40c8152ee4 browser: Move menubar to a flex-based layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I80fecf7c08b6cc0360fb606bbb7ba3f0171cf52e
2021-11-19 19:37:09 +01:00
Gökay ŞATIR
0ccd45464a Last updated text: Change color in order to comply with a11y.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id3066ed269009ae45f96a9b629a6559c81403532
2021-11-18 15:20:12 +03: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/menubar.css (Browse further)