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