1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Variables reorganization and breadcrumbs update

* Place component vars alongside the rest of the component vars
* Redo some of the breadcrumbs code to add a var and remove
`text-shadow`
This commit is contained in:
Mark Otto
2013-07-19 11:44:35 -07:00
parent b1819755b8
commit 4b0fa356f3
4 changed files with 28 additions and 25 deletions

View File

@@ -5,21 +5,20 @@
.breadcrumb {
padding: 8px 15px;
margin: 0 0 @line-height-computed;
margin-bottom: @line-height-computed;
list-style: none;
background-color: @breadcrumb-bg;
border-radius: @border-radius-base;
> li {
display: inline-block;
text-shadow: @breadcrumb-text-shadow;
&+li:before {
display: inline-block;
content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: #ccc;
color: @breadcrumb-color;
}
}
> .active {
color: @gray-light;
color: @breadcrumb-active-color;
}
}

View File

@@ -6,20 +6,6 @@
// Global values
// --------------------------------------------------
// Inner Files color variables (can say inline colors)
// --------------------------------------------------
@accordion-border-color: #e5e5e5;
@badge-color: #fff;
@badge-active-bg: #fff;
@badge-link-hover-color: #fff;
@breadcrumb-bg: #f5f5f5;
@breadcrumb-text-shadow: 0 1px 0 #fff;
// Grays
// -------------------------
@@ -383,6 +369,25 @@
@well-bg: #f5f5f5;
// Accordion
// -------------------------
@accordion-border-color: #e5e5e5;
// Badges
// -------------------------
@badge-color: #fff;
@badge-active-bg: #fff;
@badge-link-hover-color: #fff;
// Breadcrumbs
// -------------------------
@breadcrumb-bg: #f5f5f5;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
// Miscellaneous
// -------------------------