diff options
| author | Mark Otto <[email protected]> | 2013-07-19 11:44:35 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-19 11:44:35 -0700 |
| commit | 4b0fa356f3c00c850ec56815f8a8e07eb927c960 (patch) | |
| tree | 8523c011065b0c81308cebd320485c890faa21ec /less | |
| parent | b1819755b8f962be7e2d85f4145a71c6cfbe4d7d (diff) | |
| download | bootstrap-4b0fa356f3c00c850ec56815f8a8e07eb927c960.tar.xz bootstrap-4b0fa356f3c00c850ec56815f8a8e07eb927c960.zip | |
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`
Diffstat (limited to 'less')
| -rw-r--r-- | less/breadcrumbs.less | 7 | ||||
| -rw-r--r-- | less/variables.less | 33 |
2 files changed, 22 insertions, 18 deletions
diff --git a/less/breadcrumbs.less b/less/breadcrumbs.less index 36fb4cd47..b127473a7 100644 --- a/less/breadcrumbs.less +++ b/less/breadcrumbs.less @@ -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; } } diff --git a/less/variables.less b/less/variables.less index fa230d667..5f2020afa 100644 --- a/less/variables.less +++ b/less/variables.less @@ -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 // ------------------------- |
