Sha256: c346a15d1fd48854d1a933f8d53047355abca22f04d0522f7c00701000b90a73

Contents?: true

Size: 768 Bytes

Versions: 4

Compression:

Stored size: 768 Bytes

Contents

.scopes {
  @extend .nav;
  @extend .nav-pills;

  display: flex;
  flex-wrap: wrap;

  margin-top: -4px;

  > li {
    margin-top: 4px;
    margin-right: 4px;

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

  > li > a {
    background-color: rgba(black, 0.025);
    color: rgba(black, 0.3);

    font-size: 11px;
    font-weight: normal;
    white-space: nowrap;

    border-radius: 15px;
    padding: 2px 8px;

    &:hover {
      background-color: rgba(black, 0.05);
    }
  }

  > li.active a {
    &, &:hover, &:focus, strong {
      color: white;
    }

    &, &:hover, &:focus {
      background-color: rgba(black, 0.25);
      box-shadow: inset 0 2px 4px rgba(black, 0.075);
    }
  }

  strong {
    font-weight: 500;
    color: rgba(black, 0.4);
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.8.13 app/assets/stylesheets/trestle/components/_scopes.scss
trestle-0.8.12 app/assets/stylesheets/trestle/components/_scopes.scss
trestle-0.8.11 app/assets/stylesheets/trestle/components/_scopes.scss
trestle-0.8.10 app/assets/stylesheets/trestle/components/_scopes.scss