Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
getfitter-elements / app / assets / stylesheets / _buttons.scss
Size: Mime:
%button {
  background-color: transparent;
  border: 1px solid $blue;
  border-radius: $base-border-radius;
  color: $blue;
  display: inline-block;
  font-weight: bold;
  line-height: 1;
  padding: 0.75em 1em;
  text-decoration: none;

  &:hover {
    background-color: $blue;
    color: $white;
  }

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

button, .button, input[type="submit"] {
  @extend %button;
  @include appearance(none);
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
}

button.destructive, .button.destructive {
  color: $red;
  border-color: $red;

  &:hover {
    background-color: $red;
    color: $white;
  }
}

a.destructive {
  color: $red;

  &:hover {
    color: darken($red, 10%);
  }
}

button.secondary, .button.secondary {
  color: $dark-gray;
  border-color: $dark-gray;

  &:hover {
    background-color: $dark-gray;
    color: $white;
  }
}

a.secondary {
  color: $dark-gray;

  &:hover {
    color: darken($dark-gray, 10%);
  }
}