mixins
3 years ago
utilities
3 years ago
vendor
3 years ago
_alert.scss
3 years ago
_badge.scss
3 years ago
_breadcrumb.scss
3 years ago
_button-group.scss
3 years ago
_buttons.scss
3 years ago
_card.scss
3 years ago
_carousel.scss
3 years ago
_close.scss
3 years ago
_code.scss
3 years ago
_custom-forms.scss
3 years ago
_dropdown.scss
3 years ago
_forms.scss
3 years ago
_functions.scss
3 years ago
_grid.scss
3 years ago
_images.scss
3 years ago
_input-group.scss
3 years ago
_jumbotron.scss
3 years ago
_list-group.scss
3 years ago
_media.scss
3 years ago
_mixins.scss
3 years ago
_modal.scss
3 years ago
_nav.scss
3 years ago
_navbar.scss
3 years ago
_pagination.scss
3 years ago
_popover.scss
3 years ago
_print.scss
3 years ago
_progress.scss
3 years ago
_reboot.scss
3 years ago
_root.scss
3 years ago
_spinners.scss
3 years ago
_tables.scss
3 years ago
_toasts.scss
3 years ago
_tooltip.scss
3 years ago
_transitions.scss
3 years ago
_type.scss
3 years ago
_utilities.scss
3 years ago
_variables.scss
3 years ago
bootstrap-grid.scss
3 years ago
bootstrap-reboot.scss
3 years ago
bootstrap-sidepanel.scss
3 years ago
bootstrap.scss
1 year ago
_breadcrumb.scss
45 lines
| 1 | .breadcrumb { |
| 2 | display: flex; |
| 3 | flex-wrap: wrap; |
| 4 | padding: $breadcrumb-padding-y $breadcrumb-padding-x; |
| 5 | margin-bottom: $breadcrumb-margin-bottom; |
| 6 | @include font-size($breadcrumb-font-size); |
| 7 | list-style: none; |
| 8 | background-color: $breadcrumb-bg; |
| 9 | @include border-radius($breadcrumb-border-radius); |
| 10 | } |
| 11 | |
| 12 | .breadcrumb-item { |
| 13 | display: flex; |
| 14 | |
| 15 | // The separator between breadcrumbs (by default, a forward-slash: "/") |
| 16 | + .breadcrumb-item { |
| 17 | padding-left: $breadcrumb-item-padding; |
| 18 | |
| 19 | &::before { |
| 20 | display: inline-block; // Suppress underlining of the separator in modern browsers |
| 21 | padding-right: $breadcrumb-item-padding; |
| 22 | color: $breadcrumb-divider-color; |
| 23 | content: escape-svg($breadcrumb-divider); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built |
| 28 | // without `<ul>`s. The `::before` pseudo-element generates an element |
| 29 | // *within* the .breadcrumb-item and thereby inherits the `text-decoration`. |
| 30 | // |
| 31 | // To trick IE into suppressing the underline, we give the pseudo-element an |
| 32 | // underline and then immediately remove it. |
| 33 | + .breadcrumb-item:hover::before { |
| 34 | text-decoration: underline; |
| 35 | } |
| 36 | // stylelint-disable-next-line no-duplicate-selectors |
| 37 | + .breadcrumb-item:hover::before { |
| 38 | text-decoration: none; |
| 39 | } |
| 40 | |
| 41 | &.active { |
| 42 | color: $breadcrumb-active-color; |
| 43 | } |
| 44 | } |
| 45 |