mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
ed89be1f44
We have it set to `1` right now just to avoid compilation errors, but it’s been replaced everywhere with our new spacer classes anywho. We’ll likely want to remap that var to custom component vars though (e.g., `$pagination-margin` instead of `$spacer-y`).
28 lines
631 B
SCSS
28 lines
631 B
SCSS
//
|
|
// Breadcrumbs
|
|
// --------------------------------------------------
|
|
|
|
|
|
.breadcrumb {
|
|
padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
|
|
margin-bottom: $spacer-y;
|
|
list-style: none;
|
|
background-color: $breadcrumb-bg;
|
|
@include border-radius($border-radius-base);
|
|
|
|
> li {
|
|
display: inline-block;
|
|
|
|
+ li:before {
|
|
padding-right: .5rem;
|
|
padding-left: .5rem;
|
|
color: $breadcrumb-divider-color;
|
|
content: "#{$breadcrumb-divider}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
|
}
|
|
}
|
|
|
|
> .active {
|
|
color: $breadcrumb-active-color;
|
|
}
|
|
}
|