Skip to content

Commit

Permalink
adjust color and separation char for breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
haschek committed Nov 7, 2024
1 parent 33a5602 commit 7a87305
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 7a87305

Please sign in to comment.