0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00
Bootstrap/scss/_breadcrumb.scss

29 lines
651 B
SCSS
Raw Normal View History

2014-12-02 14:02:35 -08:00
//
// Breadcrumbs
// --------------------------------------------------
.breadcrumb {
padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
margin-bottom: $spacer-y;
2014-12-02 14:02:35 -08:00
list-style: none;
background-color: $breadcrumb-bg;
@include border-radius($border-radius);
2014-12-02 14:02:35 -08:00
> li {
display: inline-block;
+ li:before {
2015-08-12 22:14:44 -07:00
$nbsp: "\00a0";
2014-12-02 14:02:35 -08:00
padding-right: .5rem;
padding-left: .5rem;
2014-12-02 14:02:35 -08:00
color: $breadcrumb-divider-color;
2015-08-12 22:14:44 -07:00
content: "#{$breadcrumb-divider}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
2014-12-02 14:02:35 -08:00
}
}
> .active {
color: $breadcrumb-active-color;
}
}