Sha256: 3aaa43907db2d5564bc5d18de625010ac07c7b8d1da6edf8a61caa1c05d5b539

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

// =============================================================================
// BUTTONS
// =============================================================================

.btn {
  display: inline-block;
  font-family: inherit;
  background: #fff;
  color: $blue;
  padding: .75em 1em;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 1px rgba(#000, 0.15);
}

.btn--primary {
  background-color: $blue;
  color: #fff;
  box-shadow: none;
  &.btn--disabled {
    box-shadow: 0 0 0 1px rgba(#000, 0.15);
  }
  &.btn--warning {
    background-color: $yellow;
  }
}

.btn--disabled {
  color: #999;
  background-color: #fafafa;
  cursor: default;
}

.btn--delete {
  color: #fff;
  border: none;
  background-color: $bright-red;
  &.btn-disabled {
    color: #999;
    background-color: $light-red;
  }
}

.btn--alert {
  color: #fff;
  background-color: $orange;
  &.btn-disabled {
    color: #999;
    background-color: $light-orange;
  }
}

.btn--large {
  font-size: 1rem;
  padding: 1em 1.25em;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shipit-engine-0.16.0 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.15.0 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.14.0 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.13.0 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.12.1 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.12.0 app/assets/stylesheets/_base/_buttons.scss
shipit-engine-0.11.0 app/assets/stylesheets/_base/_buttons.scss