Sha256: 473442a173b3ca422542adba3a84a8ddc412151bb668057d37555f0c4c5c7d3c

Contents?: true

Size: 970 Bytes

Versions: 3

Compression:

Stored size: 970 Bytes

Contents

// ------------------------------------------------------------------- //
//  Button Normalization
//  
//  General styles to better standardize / simplify default <button>
//  elements.
// ------------------------------------------------------------------- //

#{$all-button-inputs} {
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  display: inline-block;
  padding: ($base-spacing / 2) $base-spacing;
  background-color: $base-button-color;
  border: 0;
  border-radius: $base-border-radius;
  color: white;
  font-family: $base-font-family;
  font-size: $base-font-size;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;

  &:hover,
  &:focus {
    background-color: $hover-button-color;
    color: white;
  }

  &:disabled {
    cursor: not-allowed;
    opacity: .5;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kentucky-2.2.2 app/assets/stylesheets/kentucky/base/_buttons.scss
kentucky-2.2.1 app/assets/stylesheets/kentucky/base/_buttons.scss
kentucky-2.1.0 app/assets/stylesheets/kentucky/base/_buttons.scss