talos
1.breadcrumb {
2display: flex;
3flex-wrap: wrap;
4padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5margin-bottom: $breadcrumb-margin-bottom;
6@include font-size($breadcrumb-font-size);
7list-style: none;
8background-color: $breadcrumb-bg;
9@include border-radius($breadcrumb-border-radius);
10}
11
12.breadcrumb-item {
13// The separator between breadcrumbs (by default, a forward-slash: "/")
14+ .breadcrumb-item {
15padding-left: $breadcrumb-item-padding;
16
17&::before {
18float: left; // Suppress inline spacings and underlining of the separator
19padding-right: $breadcrumb-item-padding;
20color: $breadcrumb-divider-color;
21content: escape-svg($breadcrumb-divider);
22}
23}
24
25// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
26// without `<ul>`s. The `::before` pseudo-element generates an element
27// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
28//
29// To trick IE into suppressing the underline, we give the pseudo-element an
30// underline and then immediately remove it.
31+ .breadcrumb-item:hover::before {
32text-decoration: underline;
33}
34// stylelint-disable-next-line no-duplicate-selectors
35+ .breadcrumb-item:hover::before {
36text-decoration: none;
37}
38
39&.active {
40color: $breadcrumb-active-color;
41}
42}
43