Sha256: edeb6b5772500f36ad46a5c80a3583f2bb8674aa08b80758430dfe9437de5750

Contents?: true

Size: 1.38 KB

Versions: 13

Compression:

Stored size: 1.38 KB

Contents

.btn {
  border-radius: $btn-border-radius;
  border-collapse: separate !important;
}

.btn td {
  border-radius: $btn-border-radius;
  text-align: center;
}

.btn td a {
  font-size: $btn-font-size;
  font-family: $btn-font-family;
  text-decoration: none;
  border-radius: $btn-border-radius;
  padding: $btn-padding-y $btn-padding-x;
  line-height: $btn-line-height;
  border: $btn-border-width solid transparent;
  display: inline-block;
  font-weight: $btn-font-weight;
  white-space: nowrap;
}

@each $name, $color in $all-colors {
  @if $name != "transparent" {
    .btn-#{$name} td {
      background-color: $color;
    }
    .btn-#{$name} td a {
      background-color: $color;
      @include color-contrast($color);
      border-color: $color;
    }
  }
}

@each $name, $color in $all-colors {
  @if $name != "transparent" {
    .btn-outline-#{$name} td {
      background-color: transparent;
      border-color: $color;
    }
    .btn-outline-#{$name} td a {
      background-color: transparent;
      border-color: $color;
      color: $color;
    }
  }
}

.btn-sm td a {
  font-size: $btn-font-size-sm;
  padding: $btn-padding-y-sm $btn-padding-x-sm;
  line-height: $btn-line-height-sm;
  border-radius: $btn-border-radius-sm;
}

.btn-lg td a {
  font-size: $btn-font-size-lg;
  padding: $btn-padding-y-lg $btn-padding-x-lg;
  line-height: $btn-line-height-lg;
  border-radius: $btn-border-radius-lg;
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
bootstrap-email-1.1.1 core/scss/components/_button.scss
bootstrap-email-1.1.0 core/scss/components/_button.scss
bootstrap-email-1.0.2 core/scss/components/_button.scss
bootstrap-email-1.0.1 core/scss/components/_button.scss
bootstrap-email-1.0.0 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha4 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha3.1 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha3 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha2.1 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha2 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha1.2 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha1.1 core/scss/components/_button.scss
bootstrap-email-1.0.0.alpha1 core/scss/components/_button.scss