Sha256: 1b677d99b4679810d9befa25d396e74d4069c6d6b32bb3f77d403aff30593559

Contents?: true

Size: 1.38 KB

Versions: 9

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: 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

9 entries across 9 versions & 1 rubygems

Version Path
bootstrap-email-1.3.1 core/scss/components/_button.scss
bootstrap-email-1.3.0 core/scss/components/_button.scss
bootstrap-email-1.2.0 core/scss/components/_button.scss
bootstrap-email-1.1.7 core/scss/components/_button.scss
bootstrap-email-1.1.6 core/scss/components/_button.scss
bootstrap-email-1.1.5 core/scss/components/_button.scss
bootstrap-email-1.1.4 core/scss/components/_button.scss
bootstrap-email-1.1.3 core/scss/components/_button.scss
bootstrap-email-1.1.2 core/scss/components/_button.scss