Sha256: eab78d051ff2b632fa6dc2f688d5c2d071641fd407cdfdca7fa36f4a45348cf7

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

//
// Sidebar
// ------------------------------

.sidebar {
  @media (min-width: $screen-sm-min) {
    width: 160px;
  }
  @media (min-width: $screen-lg-min) {
    width: 250px;
  }
}

.sidebar {
  &.affix {
    @media (max-width: $screen-sm-min) {
      position: relative;
    }
  }
}

.sidebar {
  .list-group {
    margin-bottom: 0;
    margin-top: 0;
  }
  .list-group-item {
    border-width: 1px 0;
    word-break: break-word;
    &:first-of-type {
      border-radius: 0;
      border-top: 0 none;
    }
    &:last-of-type {
      border-bottom: 0 none;
    }
    &.child-resource {
      padding-left: 2.5em;
    }
    &.group-selected {
      border-left: 2px solid $link-color;
    }
  }
}

.tab-list-group {
  border: 1px solid $nav-tabs-border-color;
  border-radius: 3px;
  margin-top: 1rem;
}

.sidebar {
  .nav-tabs {
    border: 1px solid $nav-tabs-border-color;
    border-width: 0 0 1px 0;
    li {
      &:first-of-type {
        a,
        a:hover,
        a:focus {
          border-left: 0 none;
          border-radius: 2px 2px 0 0;
        }
      }
      &:last-of-type {
        a,
        a:hover,
        a:focus {
          border-radius: 2px 2px 0 0;
          border-right: 0 none;
        }
      }
      a {
        border-bottom: 0;
        font-size: 12px;
        &:hover {
          background-color: #fff;
          border-color: transparent;
          color: $link-hover-color;
        }
      }
    }
    .active a,
    .active a:hover,
    .active a:focus {
      border-top: 2px solid $link-color;
      color: $link-color;
      font-weight: bold;
      margin-bottom: -1px;
    }

  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
praxis-0.18.1 lib/api_browser/app/sass/modules/_sidebar.scss
praxis-0.18.0 lib/api_browser/app/sass/modules/_sidebar.scss
praxis-0.17.1 lib/api_browser/app/sass/modules/_sidebar.scss
praxis-0.17.0 lib/api_browser/app/sass/modules/_sidebar.scss