Sha256: 3cc08ae02266da5b02c9353a4a6a991655520c3f5c9356741fb92e932b01887b

Contents?: true

Size: 817 Bytes

Versions: 3

Compression:

Stored size: 817 Bytes

Contents

button,
[type='button'],
[type='reset'],
[type='submit'] {
  appearance: none;
  background-color: $action-color;
  border: 0;
  border-radius: var(--border-radius);
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-family-base);
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  line-height: 1;
  padding: var(--spacing--small) var(--spacing);
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration) var(--timing);
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;

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

  &:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bitters-2.0.2 core/_buttons.scss
bitters-2.0.1 core/_buttons.scss
bitters-2.0.0 core/_buttons.scss