Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

private/pedro/new doc type css var and notebookbar tab style #10581

Conversation

pedropintosilva
Copy link
Contributor

  • Introduce CSS color var doc-type and remove color dependent rules
  • Notebookbar: new tabs style and tint them with the doc-type color

We now have data-doctype attribute that is being added to the <body>
as an additional attribute so, use that to set a single css color var
that changes depending on the attributes value and remove duplicated
css bits.

Additional note: for now it seems we can just use those colors also
for dark mode so, no need to add additional lines to the color-palette-dark.css

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ife75487b3dfbe5d6ec6e4c961721c8734520786e
Also add animation on hover effect.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia68d38b7c2581699a31a9e4e17faca244c7028c9
@eszkadev
Copy link
Contributor

it fails on Page X of Y kind of problem, did we change size of top/bottom toolbars ?

@pedropintosilva
Copy link
Contributor Author

it fails on Page X of Y kind of problem, did we change size of top/bottom toolbars ?

no I didn;t I on purpose didn remove the border or change it : bc636e3#diff-5ebc1fc2a7ebdec867e4923cb0717249c9d25144496d92757e1c9690ff799519L24

and I see the tests have passed

@pedropintosilva pedropintosilva merged commit 387756d into master Nov 22, 2024
13 checks passed
@pedropintosilva pedropintosilva deleted the private/pedro/new-doc-type-css-var-and-notebookbar-tab-style branch November 22, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants