Sha256: 0d5e033bbcbc2d4f56f818a9045b36b3094a323add590e152148d1f3a56972e9

Contents?: true

Size: 1.31 KB

Versions: 28

Compression:

Stored size: 1.31 KB

Contents

.#{$prefix}breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: $breadcrumb-padding-y $breadcrumb-padding-x;
  margin-bottom: $breadcrumb-margin-bottom;
  list-style: none;
  background-color: $breadcrumb-bg;
  @include border-radius($breadcrumb-border-radius);
}

.#{$prefix}breadcrumb-item {
  // The separator between breadcrumbs (by default, a forward-slash: "/")
  + .#{$prefix}breadcrumb-item {
    padding-left: $breadcrumb-item-padding;

    &::before {
      display: inline-block; // Suppress underlining of the separator in modern browsers
      padding-right: $breadcrumb-item-padding;
      color: $breadcrumb-divider-color;
      content: $breadcrumb-divider;
    }
  }

  // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
  // without `<ul>`s. The `::before` pseudo-element generates an element
  // *within* the .#{$prefix}breadcrumb-item and thereby inherits the `text-decoration`.
  //
  // To trick IE into suppressing the underline, we give the pseudo-element an
  // underline and then immediately remove it.
  + .#{$prefix}breadcrumb-item:hover::before {
    text-decoration: underline;
  }
  // stylelint-disable-next-line no-duplicate-selectors
  + .#{$prefix}breadcrumb-item:hover::before {
    text-decoration: none;
  }

  &.active {
    color: $breadcrumb-active-color;
  }
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
mekari_ui_toolkit-1.0.32 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.31 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.30 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.29 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.28 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.27 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.26 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.25 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.24 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.23 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.22 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.21 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.20 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.18 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.17 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.16 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.15 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.14 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.13 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss
mekari_ui_toolkit-1.0.12 lib/assets/stylesheets/scss/vendors/_breadcrumb.scss