0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/scss/_breadcrumb.scss

24 lines
577 B
SCSS
Raw Normal View History

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