Sha256: 5c0528f1e93d064139729da72cf0dc51798658642d722527b6b5dcdd22792cad

Contents?: true

Size: 766 Bytes

Versions: 11

Compression:

Stored size: 766 Bytes

Contents

#{$all-buttons},
.button {
  appearance: none;
  background-color: $action-color;
  border: 0;
  border-radius: $base-border-radius;
  color: $white;
  cursor: pointer;
  display: inline-block;
  font-family: $base-font-family;
  font-size: $base-font-size;
  -webkit-font-smoothing: antialiased;
  font-weight: $bold-font-weight;
  line-height: 1;
  padding: $small-spacing $base-spacing;
  text-decoration: none;
  transition: background-color $base-duration $base-timing;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;

  &:hover,
  &:focus {
    background-color: shade($action-color, 20%);
    color: $white;
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.5;

    &:hover {
      background-color: $action-color;
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
administrate-0.6.0 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.5.0 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.4.0 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.3.0 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.2.2 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.2.1 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.2.0 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.2.0.rc1 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.1.5 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.1.4 app/assets/stylesheets/administrate/components/_buttons.scss
administrate-0.1.3 app/assets/stylesheets/administrate/components/_buttons.scss