Sha256: 237b272c43e84c61172ed048341746ea121957c0240fca951350bc494d15a336

Contents?: true

Size: 815 Bytes

Versions: 4

Compression:

Stored size: 815 Bytes

Contents

.scopes {
  list-style: none;

  margin-top: -0.25rem;
  margin-bottom: 0;

  padding: 0;

  display: flex;
  flex-wrap: wrap;

  li {
    margin-top: 0.25rem;
    margin-right: 0.35rem;

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

  a {
    background-color: $scope-bg;

    font-size: 0.8rem;
    font-weight: normal;
    white-space: nowrap;

    border-radius: 50rem;
    padding: $scope-padding;

    &, &:hover, &:focus {
      color: $scope-color;
    }

    &:hover, &:focus {
      background-color: $scope-hover-bg;
      text-decoration: none;
    }
  }

  li.active a {
    &, &:hover, &:focus, strong {
      color: $scope-active-color;
    }

    &, &:hover, &:focus {
      background-color: $scope-active-bg;
    }
  }

  strong {
    font-weight: 500;
    color: $scope-label-color;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.9.3 frontend/css/components/_scopes.scss
trestle-0.9.2 frontend/css/components/_scopes.scss
trestle-0.9.1 frontend/css/components/_scopes.scss
trestle-0.9.0 frontend/css/components/_scopes.scss