| Línea 1... |
Línea 1... |
| 1 |
.breadcrumb {
|
1 |
.breadcrumb {
|
| - |
|
2 |
// scss-docs-start breadcrumb-css-vars
|
| - |
|
3 |
--#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
|
| - |
|
4 |
--#{$prefix}breadcrumb-padding-y: #{$breadcrumb-padding-y};
|
| - |
|
5 |
--#{$prefix}breadcrumb-margin-bottom: #{$breadcrumb-margin-bottom};
|
| - |
|
6 |
@include rfs($breadcrumb-font-size, --#{$prefix}breadcrumb-font-size);
|
| - |
|
7 |
--#{$prefix}breadcrumb-bg: #{$breadcrumb-bg};
|
| - |
|
8 |
--#{$prefix}breadcrumb-border-radius: #{$breadcrumb-border-radius};
|
| - |
|
9 |
--#{$prefix}breadcrumb-divider-color: #{$breadcrumb-divider-color};
|
| - |
|
10 |
--#{$prefix}breadcrumb-item-padding-x: #{$breadcrumb-item-padding-x};
|
| - |
|
11 |
--#{$prefix}breadcrumb-item-active-color: #{$breadcrumb-active-color};
|
| - |
|
12 |
// scss-docs-end breadcrumb-css-vars
|
| - |
|
13 |
|
| 2 |
display: flex;
|
14 |
display: flex;
|
| 3 |
flex-wrap: wrap;
|
15 |
flex-wrap: wrap;
|
| 4 |
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
16 |
padding: var(--#{$prefix}breadcrumb-padding-y) var(--#{$prefix}breadcrumb-padding-x);
|
| 5 |
margin-bottom: $breadcrumb-margin-bottom;
|
17 |
margin-bottom: var(--#{$prefix}breadcrumb-margin-bottom);
|
| 6 |
@include font-size($breadcrumb-font-size);
|
18 |
@include font-size(var(--#{$prefix}breadcrumb-font-size));
|
| 7 |
list-style: none;
|
19 |
list-style: none;
|
| 8 |
background-color: $breadcrumb-bg;
|
20 |
background-color: var(--#{$prefix}breadcrumb-bg);
|
| 9 |
@include border-radius($breadcrumb-border-radius);
|
21 |
@include border-radius(var(--#{$prefix}breadcrumb-border-radius));
|
| 10 |
}
|
22 |
}
|
| Línea 11... |
Línea 23... |
| 11 |
|
23 |
|
| 12 |
.breadcrumb-item {
|
24 |
.breadcrumb-item {
|
| 13 |
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
25 |
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
| 14 |
+ .breadcrumb-item {
|
26 |
+ .breadcrumb-item {
|
| Línea 15... |
Línea 27... |
| 15 |
padding-left: $breadcrumb-item-padding;
|
27 |
padding-left: var(--#{$prefix}breadcrumb-item-padding-x);
|
| 16 |
|
28 |
|
| 17 |
&::before {
|
29 |
&::before {
|
| 18 |
float: left; // Suppress inline spacings and underlining of the separator
|
30 |
float: left; // Suppress inline spacings and underlining of the separator
|
| 19 |
padding-right: $breadcrumb-item-padding;
|
31 |
padding-right: var(--#{$prefix}breadcrumb-item-padding-x);
|
| 20 |
color: $breadcrumb-divider-color;
|
32 |
color: var(--#{$prefix}breadcrumb-divider-color);
|
| 21 |
content: escape-svg($breadcrumb-divider);
|
33 |
content: var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
| Línea 22... |
Línea -... |
| 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 {
|
- |
|
| 32 |
text-decoration: underline;
|
- |
|
| 33 |
}
|
- |
|
| 34 |
// stylelint-disable-next-line no-duplicate-selectors
|
- |
|
| 35 |
+ .breadcrumb-item:hover::before {
|
- |
|
| 36 |
text-decoration: none;
|
34 |
}
|
| 37 |
}
|
35 |
}
|
| 38 |
|
36 |
|
| 39 |
&.active {
|
37 |
&.active {
|