Sha256: a2528645be56accd9ec21fba97f53dd5ed16748326d1129af99c0fd25bc0b846

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

.btn {
  align-items: center;
  background-color: var(--btn-background, transparent);
  border-radius: var(--btn-border-radius, var(--rounded-lg));
  border: 1px solid var(--btn-border-color, var(--color-border));
  color: var(--btn-color, var(--color-text));
  column-gap: var(--btn-column-gap, var(--size-1));
  cursor: pointer;
  display: inline-flex;
  font-size: var(--btn-font-size, var(--text-sm));
  font-weight: var(--btn-font-weight, var(--font-semibold));
  justify-content: center;
  line-height: var(--btn-line-height, var(--leading-6));
  padding: var(--btn-padding, var(--size-1_5) var(--size-3_5));
  text-align: center;

  &:disabled {
    opacity: var(--opacity-50);
    pointer-events: none;
  }
}

.btn--primary {
  --btn-background: var(--color-primary);
  --btn-border-color: transparent;
  --btn-color: white;
}

.btn--plain {
  --btn-border-color: transparent;
}

.btn--small {
  --btn-font-size: var(--text-xs);
  --btn-line-height: var(--leading-5);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
css-zero-0.0.6 app/assets/stylesheets/buttons.css