Skip to content

Commit

Permalink
Update breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed May 23, 2024
1 parent 2044ad9 commit 828b7ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ $nav-link-disabled-color: var(--btcpay-body-text-muted);
$alert-padding-y: .75rem;
$alert-link-font-weight: var(--btcpay-font-weight-normal);

$breadcrumb-margin-bottom: var(--btcpay-space-m);
$breadcrumb-divider-color: var(--btcpay-body-text);
$breadcrumb-active-color: var(--btcpay-body-text);
$breadcrumb-divider: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><path d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='#8F979E'/></svg>");

$table-bg: transparent;
$table-striped-color: var(--btcpay-body-text);
$table-striped-bg: var(--btcpay-body-bg-striped);
Expand Down
8 changes: 4 additions & 4 deletions src/static/styles/btcpayserver-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4725,12 +4725,12 @@ fieldset:disabled .btn {
.breadcrumb {
--btcpay-breadcrumb-padding-x: 0;
--btcpay-breadcrumb-padding-y: 0;
--btcpay-breadcrumb-margin-bottom: 1rem;
--btcpay-breadcrumb-margin-bottom: var(--btcpay-space-m);
--btcpay-breadcrumb-bg: ;
--btcpay-breadcrumb-border-radius: ;
--btcpay-breadcrumb-divider-color: var(--btcpay-secondary);
--btcpay-breadcrumb-divider-color: var(--btcpay-body-text);
--btcpay-breadcrumb-item-padding-x: 0.5rem;
--btcpay-breadcrumb-item-active-color: var(--btcpay-secondary);
--btcpay-breadcrumb-item-active-color: var(--btcpay-body-text);
display: flex;
flex-wrap: wrap;
padding: var(--btcpay-breadcrumb-padding-y) var(--btcpay-breadcrumb-padding-x);
Expand All @@ -4749,7 +4749,7 @@ fieldset:disabled .btn {
float: left;
padding-right: var(--btcpay-breadcrumb-item-padding-x);
color: var(--btcpay-breadcrumb-divider-color);
content: var(--btcpay-breadcrumb-divider, "/") /* rtl: var(--btcpay-breadcrumb-divider, "/") */;
content: var(--btcpay-breadcrumb-divider, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3e%3cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%238F979E'/%3e%3c/svg%3e")) /* rtl: var(--btcpay-breadcrumb-divider, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3e%3cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%238F979E'/%3e%3c/svg%3e")) */;
}

.breadcrumb-item.active {
Expand Down

0 comments on commit 828b7ab

Please sign in to comment.