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

XWIKI-21115: @breadcrumb-color doesn't apply to links in the Breadcrumb #3536

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Oct 3, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-21115

Changes

Description

  • Updated the color used by the links in the breadcrumb bar.

Screenshots & Video

Here, I set the color @breadcrumb-color to a lightgreen in order to be able to see it easily.
Before the changes proposed in this PR:
Screenshot from 2024-10-03 16-53-56
After the changes proposed in this PR (also changed the @breadcrumb-active-color to a dark green to make sure it still works well together):
Screenshot from 2024-10-03 17-00-52

Executed Tests

Manual tests, see above. This is a style change only, and it doesn't change the UI layout, so it should be pretty safe for automated tests.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 15.10.X
    • 16.4.X

@Sereza7 Sereza7 added backport stable-15.10.x Used for automatic backport to 15.10.x branch. backport stable-16.4.x labels Oct 3, 2024
color: @breadcrumb-color;
&:hover, &:focus {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the :active and :visited states?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no specific style for the active and visited states. Checked directly on my local distribution.
Note that if there was, we'd probably need to override any style added by the visited state, because it doesn't make sense for the buttons next to the links.

image

@michitux
Copy link
Contributor

Technically, this looks good. However, looking at this pull request and the issue again I wonder if there is an agreement that these colors should actually be applied to the links. I think it would be good to have small proposal to agree about this. The issue also mentions introducing new color variables for the links as an alternative from what I understand.

@Sereza7
Copy link
Contributor Author

Sereza7 commented Oct 16, 2024

Started https://forum.xwiki.org/t/breadcrumb-links-color/15735 👍
Thanks for your review!

@Sereza7
Copy link
Contributor Author

Sereza7 commented Oct 16, 2024

Setting it as a draft:

If option 1. is picked (the one currently implemented), make sure to correct the looks of this solution with the default Iceberg,

@Sereza7 Sereza7 marked this pull request as draft October 16, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable-15.10.x Used for automatic backport to 15.10.x branch. backport stable-16.4.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants