Sha256: d099e2920a285c97b46bbfe45a0e98fed72c08ff1d27cab7932c7ffba2f62a41

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

// Brands Buttons

.btn-brand {
  border: 0;
  i {
    display: inline-block;
    width: (($btn-padding-y * 2) + ($font-size-base * $btn-line-height));
    margin: (- $btn-padding-y) (- $btn-padding-x);
    line-height: (($btn-padding-y * 2) + ($font-size-base * $btn-line-height));
    text-align: center;
    background-color: rgba(0, 0, 0, .2);
  }

  i + span {
    margin-left: ($btn-padding-x * 2);
  }

  &.btn-lg {
    i {
      width: (($btn-padding-y-lg * 2) + ($font-size-lg * $btn-line-height-lg));
      margin: (- $btn-padding-y-lg) (- $btn-padding-x-lg);
      line-height: (($btn-padding-y-lg * 2) + ($font-size-lg * $btn-line-height-lg));
    }

    i + span {
      margin-left: ($btn-padding-x-lg * 2);
    }
  }

  &.btn-sm {
    i {
      width: (($btn-padding-y-sm * 2) + ($font-size-sm * $btn-line-height-sm));
      margin: (- $btn-padding-y-sm) (- $btn-padding-x-sm);
      line-height: (($btn-padding-y-sm * 2) + ($font-size-sm * $btn-line-height-sm));
    }

    i + span {
      margin-left: ($btn-padding-x-sm * 2);
    }
  }
}

@each $color, $value in $brands-colors {
  .btn-#{$color} {
    @include button-variant($value, $value);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coreui-rails-0.2.6 app/assets/stylesheets/coreui/_brands-buttons.scss
coreui-rails-0.2.5 app/assets/stylesheets/coreui/_brands-buttons.scss
coreui-rails-0.2.4 app/assets/stylesheets/coreui/_brands-buttons.scss