Sha256: 3810638aa067be777899a7a386a16796f1322da6ffca270f43428f3ed77cb25a

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

$navigation-link-padding: 0.6em;

.navigation {
  flex: 1 0 10rem;
  padding: $base-spacing;
  padding-left: 0;
}

.navigation__link {
  background-color: transparent;
  color: $base-font-color;
  display: block;
  line-height: 1;
  margin-left: -($navigation-link-padding);
  padding: $navigation-link-padding;
  transition: background-color $base-duration $base-timing,
              color $base-duration $base-timing;

  &:not(:last-of-type) {
    margin-bottom: $small-spacing;
  }

  &:hover {
    background-color: mix($black, $base-background-color, 5%);
    border-radius: $base-border-radius;
    color: $base-font-color;
  }
}

.navigation__link--active {
  font-weight: $bold-font-weight;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
administrate-1.0.0.beta3 app/assets/stylesheets/administrate/components/_navigation.scss
administrate-1.0.0.beta2 app/assets/stylesheets/administrate/components/_navigation.scss
administrate-1.0.0.beta1 app/assets/stylesheets/administrate/components/_navigation.scss