Skip to content

Commit

Permalink
Merge pull request #217 from eccenca/feature/updateBreadcrumbsLayout-…
Browse files Browse the repository at this point in the history
…CMEM-5936

Adjust color and separation char for breadcrumbs (CMEM-5936)
  • Loading branch information
emir89 authored Nov 7, 2024
2 parents 33a5602 + 7a87305 commit ae79a80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- `shouldHighlightActiveLine` optional property to highlight active line where the cursor is currently in.
- `shouldHaveMinimalSetup` optional property that imports codemirror's base minimal configurations.
- `additionalExtensions` optional property for additional extensions to customize the editor further.
- `<BreadcrumbItem/>`
- link color and separation char were adjusted

### Deprecated

Expand Down
9 changes: 8 additions & 1 deletion src/components/Breadcrumb/breadcrumb.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@import "~@blueprintjs/core/src/components/breadcrumbs/breadcrumbs";
@import "~@blueprintjs/core/src/components/overflow-list/overflow-list";

$eccgui-color-breadcrumb-link: $eccgui-color-accent !default;

.#{$eccgui}-breadcrumb__list {
height: auto;

Expand All @@ -19,7 +21,7 @@
margin: 0;
text-align: center;
vertical-align: middle;
content: "/";
content: ">";
background: none;
}

Expand Down Expand Up @@ -65,10 +67,15 @@
a {
@extend .#{$eccgui}-breadcrumb__item;
@extend .#{$ns}-breadcrumb;

color: $eccgui-color-breadcrumb-link;
cursor: pointer;
}
}

a.#{$eccgui}-breadcrumb__item {
color: $eccgui-color-breadcrumb-link;
cursor: pointer;
&:not(.#{$ns}-breadcrumb-current):not(.#{$ns}-disabled) {
text-decoration: underline;

Expand Down

0 comments on commit ae79a80

Please sign in to comment.