Sha256: 2c8181fbbb5372d6c3764b79f688a84425d55a3c770cbded6155455201c2c229

Contents?: true

Size: 1.2 KB

Versions: 22

Compression:

Stored size: 1.2 KB

Contents

%thredded--nav-link {
  color: $thredded-nav-color;
  text-decoration: none;
  transition: $thredded-action-transition;

  &:active,
  &:focus,
  &:hover {
    color: $thredded-nav-hover-color;
    text-decoration: none;
  }

  &:active,
  &:focus {
    outline: none;
  }
}

%thredded--nav-link-current {
  color: $thredded-nav-current-color;
}


%thredded--nav-tabs {
  @extend %thredded--list-unstyled;
  border-bottom: $thredded-base-border;
  font-size: $thredded-font-size-small;
  margin-left: 0;
  text-align: left;
  list-style-type: none;
}

%thredded--nav-tabs--item {
  display: inline-block;
  margin-right: 1rem;

  a {
    @extend %thredded--nav-link;
    display: inline-block;
    color: $thredded-secondary-nav-color;
    padding: $thredded-small-spacing 0;
  }

  &:last-child {
    margin-right: 0;
  }
}

%thredded--nav-tabs--item-current {
  border-bottom: 1px solid $thredded-action-color;
  margin-bottom: -1px;

  a {
    @extend %thredded--nav-link-current;
  }
}

%thredded--nav-tabs--item--badge {
  background: $thredded-badge-active-background;
  border-radius: 10px;
  color: $thredded-badge-active-color;
  font-size: 0.75rem; // 12px
  line-height: 1;
  margin-left: 0.4rem;
  padding: 2px 6px;
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
thredded-1.1.0 app/assets/stylesheets/thredded/base/_nav.scss
thredded-1.0.1 app/assets/stylesheets/thredded/base/_nav.scss
thredded-1.0.0 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.16 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.15 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.14 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.13 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.12 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.11 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.10 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.9 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.8 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.7 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.6 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.5 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.4 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.3 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.1 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.16.0 app/assets/stylesheets/thredded/base/_nav.scss
thredded-0.15.5 app/assets/stylesheets/thredded/base/_nav.scss