Matteo Scandolo | 144c188 | 2016-03-25 17:20:27 -0700 | [diff] [blame] | 1 | // |
| 2 | // Breadcrumbs |
| 3 | // -------------------------------------------------- |
| 4 | |
| 5 | |
| 6 | .breadcrumb { |
| 7 | padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal; |
| 8 | margin-bottom: $line-height-computed; |
| 9 | list-style: none; |
| 10 | background-color: $breadcrumb-bg; |
| 11 | border-radius: $border-radius-base; |
| 12 | |
| 13 | > li { |
| 14 | display: inline-block; |
| 15 | |
| 16 | + li:before { |
| 17 | // [converter] Workaround for https://github.com/sass/libsass/issues/1115 |
| 18 | $nbsp: "\00a0"; |
| 19 | content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space |
| 20 | padding: 0 5px; |
| 21 | color: $breadcrumb-color; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | > .active { |
| 26 | color: $breadcrumb-active-color; |
| 27 | } |
| 28 | } |