mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
76a4c303ee
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors, so as to no longer require the usage of `<ol>`-based markup. Rename variables to follow naming conventions: * $breadcrumb-padding-vertical => $breadcrumb-padding-y * $breadcrumb-padding-horizontal => $breadcrumb-padding-x Introduce new variable: $breadcrumb-item-padding [skip sauce]
24 lines
513 B
SCSS
24 lines
513 B
SCSS
.breadcrumb {
|
|
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
margin-bottom: $spacer-y;
|
|
list-style: none;
|
|
background-color: $breadcrumb-bg;
|
|
@include border-radius($border-radius);
|
|
@include clearfix;
|
|
}
|
|
|
|
.breadcrumb-item {
|
|
float: left;
|
|
|
|
+ .breadcrumb-item::before {
|
|
padding-right: $breadcrumb-item-padding;
|
|
padding-left: $breadcrumb-item-padding;
|
|
color: $breadcrumb-divider-color;
|
|
content: "#{$breadcrumb-divider}";
|
|
}
|
|
|
|
&.active {
|
|
color: $breadcrumb-active-color;
|
|
}
|
|
}
|