Sha256: 2f07f60235f86bbfbce2503b22e671b88f2ce0889be301c8ae3abcea15923a3e

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 KB

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;
    }
  }
}

%thredded--buttons-list {
  text-align: center;
  a, .button_to {
    display: block;
    margin-top: $thredded-small-spacing;
  }
  @include thredded-media-tablet-and-up {
    a, .button_to {
      display: inline-block;
    }
    a + a, .button_to + .button_to {
      margin-left: $thredded-small-spacing;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-0.6.2 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.6.1 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.6.0 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.5.1 app/assets/stylesheets/thredded/base/_buttons.scss
thredded-0.5.0 app/assets/stylesheets/thredded/base/_buttons.scss