2014-12-02 17:02:35 -05:00
|
|
|
.breadcrumb {
|
2017-09-04 18:36:12 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2015-12-08 05:20:25 -05:00
|
|
|
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
2017-08-11 01:59:21 -04:00
|
|
|
margin-bottom: $breadcrumb-margin-bottom;
|
2019-10-03 11:54:34 -04:00
|
|
|
@include font-size($breadcrumb-font-size);
|
2014-12-02 17:02:35 -05:00
|
|
|
list-style: none;
|
|
|
|
background-color: $breadcrumb-bg;
|
2018-03-12 12:55:47 -04:00
|
|
|
@include border-radius($breadcrumb-border-radius);
|
2015-12-08 05:20:25 -05:00
|
|
|
}
|
2014-12-02 17:02:35 -05:00
|
|
|
|
2015-12-08 05:20:25 -05:00
|
|
|
.breadcrumb-item {
|
2016-01-06 21:34:28 -05:00
|
|
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
2018-04-01 21:15:57 -04:00
|
|
|
+ .breadcrumb-item {
|
2019-02-11 05:36:40 -05:00
|
|
|
padding-left: $breadcrumb-item-padding-x;
|
2018-04-01 21:15:57 -04:00
|
|
|
|
|
|
|
&::before {
|
2020-09-29 14:32:27 -04:00
|
|
|
float: left; // Suppress inline spacings and underlining of the separator
|
2019-02-11 05:36:40 -05:00
|
|
|
padding-right: $breadcrumb-item-padding-x;
|
2018-04-01 21:15:57 -04:00
|
|
|
color: $breadcrumb-divider-color;
|
2020-06-26 10:06:20 -04:00
|
|
|
content: var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
2018-04-01 21:15:57 -04:00
|
|
|
}
|
2014-12-02 17:02:35 -05:00
|
|
|
}
|
|
|
|
|
2015-12-08 05:20:25 -05:00
|
|
|
&.active {
|
2014-12-02 17:02:35 -05:00
|
|
|
color: $breadcrumb-active-color;
|
|
|
|
}
|
|
|
|
}
|