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