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

Merged
merged 8 commits into from
Nov 7, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@

// Styles for the tree navigation.
&.dropdown {
> .dropdown-toggle {
/* We make sure the dropdown toggle carets and the links get the same colors. */
& > .dropdown-toggle, & > a {
color: @breadcrumb-color;
&:hover, &:focus {
michitux marked this conversation as resolved.
Show resolved Hide resolved
color: @breadcrumb-active-color;
}
}

> .dropdown-toggle {
cursor: pointer;
/* Match the separator padding */
margin: 2px;
Expand All @@ -32,7 +39,6 @@
line-height: .5rem;

&:hover, &:focus {
color: @breadcrumb-active-color;
/* We want to revert the default from bootstrap where the outline is removed... */
outline: revert;
}
Expand Down