Sha256: 5e48ced47a695753c24984a7ffc0246d5fa291c3293a8966a0fadde20e8622a5

Contents?: true

Size: 820 Bytes

Versions: 5

Compression:

Stored size: 820 Bytes

Contents

.callout {
  position: relative;
  padding: 0 $spacer;
  margin: $spacer 0;
  border: 0 solid $border-color;
  border-left-width: .25rem;

  @if $enable-rounded {
    border-radius: .25rem;
  }

  .chart-wrapper {
    position: absolute;
    top: 10px;
    left: 50%;
    float: right;
    width: 50%;
  }
}

.callout-bordered {
  border: 1px solid $border-color;
  border-left-width: .25rem;
}
.callout code {
  border-radius: .25rem;
}
.callout h4 {
  margin-top: 0;
  margin-bottom: .25rem;
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout + .callout {
  margin-top: - .25rem;
}

.callout-default {
  border-left-color: $text-muted;

  h4 {
    color: $text-muted;
  }
}

@each $color, $value in $theme-colors {
  .callout-#{$color} {
    border-left-color: $value;

    h4 {
      color: $value;
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coreui-rails-1.1.0 vendor/assets/stylesheets/coreui/_callout.scss
coreui-rails-1.0.1 vendor/assets/stylesheets/coreui/_callout.scss
coreui-rails-0.2.6 app/assets/stylesheets/coreui/_callout.scss
coreui-rails-0.2.5 app/assets/stylesheets/coreui/_callout.scss
coreui-rails-0.2.4 app/assets/stylesheets/coreui/_callout.scss