Sha256: f7d42e274d11483ae23f119388fb95167f161820c40384bd55700386038f3b93

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

.callout-box{
  @include callout($ash);

  &__close-btn{
    float: right;
  }

  &--green{
    @include callout($brand-green);
    margin-bottom: $base-margin;
    color: $white;
  }

  &--red{
    @include callout($brand-red);
    margin-bottom: $base-margin;
    color: $white;
  }

  &--ins-blue{
    @include callout($brand-blue-insurance);
    margin-bottom: $base-margin;
    color: $white;
  }

  &__sub-head{
    color: $white;
  }

  &__image-container{
    @include large-2;
  }

  &__image{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  &__content{
    @include large-10;
  }

  &__link{
    color: inherit;
    text-decoration: underline;

    &:hover{
      color: $ash;
    }
  }
}

.callout{
  &__side-arrow{ //this works best if it's a class on a svg element.
    position: absolute;
    z-index: 1;
    top: 0;

    @include breakpoint(small down){
      top: 100%;
      left: 0%;
      height: 30%;
      background-color: $white;
    }

    &--mobile-spacing{
      @include breakpoint(small down){
        margin-top: 50px;
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ama_layout-4.8.2 app/assets/stylesheets/ama_layout/layout_components/callouts.scss
ama_layout-4.8.1 app/assets/stylesheets/ama_layout/layout_components/callouts.scss
ama_layout-4.8.0 app/assets/stylesheets/ama_layout/layout_components/callouts.scss