1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #6115: scope breadcrumb styles to immediate children only

This commit is contained in:
Mark Otto 2012-12-03 13:09:38 -08:00
parent 06582edb2a
commit 869b69c66c
2 changed files with 6 additions and 6 deletions

View file

@ -4859,19 +4859,19 @@ input[type="submit"].btn.btn-mini {
border-radius: 4px; border-radius: 4px;
} }
.breadcrumb li { .breadcrumb > li {
display: inline-block; display: inline-block;
*display: inline; *display: inline;
text-shadow: 0 1px 0 #ffffff; text-shadow: 0 1px 0 #ffffff;
*zoom: 1; *zoom: 1;
} }
.breadcrumb .divider { .breadcrumb > .divider {
padding: 0 5px; padding: 0 5px;
color: #ccc; color: #ccc;
} }
.breadcrumb .active { .breadcrumb > .active {
color: #999999; color: #999999;
} }

View file

@ -9,16 +9,16 @@
list-style: none; list-style: none;
background-color: #f5f5f5; background-color: #f5f5f5;
.border-radius(@baseBorderRadius); .border-radius(@baseBorderRadius);
li { > li {
display: inline-block; display: inline-block;
.ie7-inline-block(); .ie7-inline-block();
text-shadow: 0 1px 0 @white; text-shadow: 0 1px 0 @white;
} }
.divider { > .divider {
padding: 0 5px; padding: 0 5px;
color: #ccc; color: #ccc;
} }
.active { > .active {
color: @grayLight; color: @grayLight;
} }
} }