4 padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5 margin-bottom: $breadcrumb-margin-bottom;
7 background-color: $breadcrumb-bg;
8 @include border-radius($border-radius);
12 // The separator between breadcrumbs (by default, a forward-slash: "/")
13 + .breadcrumb-item::before {
14 display: inline-block; // Suppress underlining of the separator in modern browsers
15 padding-right: $breadcrumb-item-padding;
16 padding-left: $breadcrumb-item-padding;
17 color: $breadcrumb-divider-color;
18 content: "#{$breadcrumb-divider}";
21 // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
22 // without `<ul>`s. The `::before` pseudo-element generates an element
23 // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
25 // To trick IE into suppressing the underline, we give the pseudo-element an
26 // underline and then immediately remove it.
27 + .breadcrumb-item:hover::before {
28 text-decoration: underline;
30 // stylelint-disable-next-line no-duplicate-selectors
31 + .breadcrumb-item:hover::before {
32 text-decoration: none;
36 color: $breadcrumb-active-color;