Sha256: 6c59e232794451fefa0f4c183b936a368e56260ada5fb567df54b119ebb7173f

Contents?: true

Size: 1.32 KB

Versions: 4

Compression:

Stored size: 1.32 KB

Contents

&--user-navigation {
  @extend %thredded--list-unstyled;
  @include thredded--clearfix;
  border-bottom: $thredded-base-border;
  margin-bottom: 1rem;
  text-align: left;

  @include thredded-media-tablet-and-up {
    font-size: $thredded-font-size-small;
    margin-bottom: 0;
    margin-top: $thredded-large-spacing;
  }

  a {
    @extend %thredded--nav-link;
    color: $thredded-secondary-nav-color;
  }

  > ul {
    @extend %thredded--list-unstyled;
  }
}

&--user-navigation--item {
  display: inline-block;
  margin-right: 1rem;

  a {
    padding: $thredded-small-spacing 0;
  }

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

  @include thredded-media-tablet-and-up {
    padding: $thredded-small-spacing 0;
  }
}

.thredded--preferences &--user-navigation--settings,
.thredded--new-private-topic &--user-navigation--private-topics,
.thredded--private-topics-index &--user-navigation--private-topics,
.thredded--private-topic-show &--user-navigation--private-topics {
  border-bottom: 1px solid $thredded-action-color;
  margin-bottom: -1px;

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

&--user-navigation--private-topics--unread {
  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

4 entries across 4 versions & 1 rubygems

Version Path
thredded-0.4.0 app/assets/stylesheets/thredded/layout/_user-navigation.scss
thredded-0.3.2 app/assets/stylesheets/thredded/layout/_user-navigation.scss
thredded-0.3.1 app/assets/stylesheets/thredded/layout/_user-navigation.scss
thredded-0.3.0 app/assets/stylesheets/thredded/layout/_user-navigation.scss