Sha256: 8a717559ce061a346d82707bf7f986841ce402ef5883bd983ce294900f0830e5

Contents?: true

Size: 950 Bytes

Versions: 5

Compression:

Stored size: 950 Bytes

Contents

// base buttons

.btn {
  display: inline-block;
  padding: 0 1.5em;
  border-radius: 2px;
  text-align: center;
  line-height: 56px;
  cursor: pointer;
  transition: box-shadow .125s ease-out;
  &:hover {
    @include shadow-lg;
  }
}

.btn--submit {
  background-color: $base-color;
  color: #fff;
}

.btn--success {
  background-color: $success;
  color: #fff;
}

.btn--default {
  background-color: #fff;
  color: #333;
}

.btn--default-border {
  background-color: transparent;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.15);
  line-height: 54px;
  transition: none;
  transition: color .125s ease-out;
  transition: border-color .125s ease-out;
  &:hover {
    @include shadow-none;
    border-color: rgba(0, 0, 0, 0.35);
    color: #000;
  }
}

.btn--error {
  background-color: #222;
  color: #fff;
}

// variants

.btn--sm {
  padding: 0 1em;
  line-height: 44px;
}

.btn--default-border {
  &.btn--sm {
    line-height: 42px;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 lib/generators/project/app/assets/stylesheets/base/_buttons.scss
digital_heroes_startkit-0.1.1.3 lib/generators/project/app/assets/stylesheets/base/_buttons.scss
digital_heroes_startkit-0.1.1.2 lib/generators/project/app/assets/stylesheets/base/_buttons.scss
digital_heroes_startkit-0.1.1.1 lib/generators/project/app/assets/stylesheets/base/_buttons.scss
digital_heroes_startkit-0.1.1 lib/generators/project/app/assets/stylesheets/base/_buttons.scss