2020-05-19 16:53:54 +00:00
|
|
|
.breadcrumb {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
|
|
margin-bottom: $breadcrumb-margin-bottom;
|
|
|
|
@include font-size($breadcrumb-font-size);
|
|
|
|
list-style: none;
|
|
|
|
background-color: $breadcrumb-bg;
|
|
|
|
@include border-radius($breadcrumb-border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-item {
|
|
|
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
|
|
+ .breadcrumb-item {
|
2021-07-07 11:12:38 +00:00
|
|
|
padding-left: $breadcrumb-item-padding-x;
|
2020-05-19 16:53:54 +00:00
|
|
|
|
|
|
|
&::before {
|
2021-03-30 12:34:31 +00:00
|
|
|
float: left; // Suppress inline spacings and underlining of the separator
|
2021-07-07 11:12:38 +00:00
|
|
|
padding-right: $breadcrumb-item-padding-x;
|
2020-05-19 16:53:54 +00:00
|
|
|
color: $breadcrumb-divider-color;
|
2021-07-07 11:12:38 +00:00
|
|
|
content: var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
2020-05-19 16:53:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $breadcrumb-active-color;
|
|
|
|
}
|
|
|
|
}
|