Sha256: 0ee63d2de3d54ef9e660ec63ebd9ebd75f95f665c08d95a3a1ba9004c0198e03

Contents?: true

Size: 1.78 KB

Versions: 29

Compression:

Stored size: 1.78 KB

Contents

.thredded--navigation {
  position: relative;
  .thredded--icon {
    display: none;
  }
}

@include thredded-media-tablet-and-down {
  $icon-nav-item-width: 2.625rem;
  .thredded--navigation {
    position: relative;
    width: 100%;
  }
  .thredded--main-navigation {
    position: relative;
    border: none;
  }
  .thredded--navigation-breadcrumbs {
    font-size: $thredded-font-size-small;
    padding-right: $icon-nav-item-width * 2;
    .thredded--is-moderator & {
      padding-right: $icon-nav-item-width * 3;
    }
  }
  .thredded--navigation--search-topics {
    display: none;
    .thredded--messageboards-index &,
    .thredded--topics-index &,
    .thredded--topic-search-results & {
      @media screen {
        display: block;
      }
    }
  }
  .thredded--user-navigation {
    border-bottom: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    &-standalone {
      display: block;
      margin-bottom: 0;
    }
    %icon-nav-item {
      box-sizing: border-box;
      display: inline-block;
      margin: 0 0 0 ($thredded-small-spacing/2);
      padding: 0;
      vertical-align: top;
      a {
        position: relative;
        display: block;
        padding: 0.4375rem 0 0.375rem 0;
      }
      .thredded--icon {
        display: block;
        width: 2rem;
        height: 2rem;
      }
    }
    %icon-counter {
      bottom: 0.3125rem;
      position: absolute;
      right: -0.1875rem;
    }
    .thredded--nav-text {
      display: none;
    }
    &--settings {
      @extend %icon-nav-item;
    }
    &--private-topics {
      @extend %icon-nav-item;
      margin-top: 1px;
      &--unread {
        @extend %icon-counter;
      }
    }
    &--moderation {
      @extend %icon-nav-item;
      &--pending-count {
        @extend %icon-counter
      }
    }
  }
}

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
thredded-0.15.1 app/assets/stylesheets/thredded/layout/_navigation.scss
threddedDANIEL-0.14.5 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.14.4 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.14.3 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.14.2 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.14.1 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.14.0 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.8 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.7 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.6 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.5 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.4 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.3 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.2 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.1 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.13.0 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.12.4 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.12.3 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.12.2 app/assets/stylesheets/thredded/layout/_navigation.scss
thredded-0.12.1 app/assets/stylesheets/thredded/layout/_navigation.scss