Sha256: 25828c1f9c2ec5d3007e25834c8a69591ca880eebd658203ea7639bfd1d6b894

Contents?: true

Size: 933 Bytes

Versions: 4

Compression:

Stored size: 933 Bytes

Contents

%thredded--button {
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background: $thredded-button-background;
  border-radius: $thredded-button-border-radius;
  border: none;
  color: $thredded-button-color;
  cursor: pointer;
  display: inline-block;
  font-family: $thredded-button-font-family;
  font-size: $thredded-button-font-size;
  font-weight: $thredded-button-font-weight;
  line-height: $thredded-button-line-height;
  padding: 0.75em 1em;
  text-decoration: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;

  &:hover,
  &:focus {
    background-color: $thredded-button-hover-background;
    color: $thredded-button-hover-color;
    text-decoration: none;
  }

  &:focus {
    box-shadow: 0 0 3px $thredded-button-background;
    outline: none;
  }

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

    &:hover {
      background: $thredded-button-background;
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thredded-0.4.0 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.3.2 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.3.1 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.3.0 app/assets/stylesheets/thredded/base/_buttons.scss