Sha256: 334568808732afca6d9bedb575f286bea892a55c25ff54a482aca54d514fcfa0
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 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; left: 50%; @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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ama_layout-4.8.3 | app/assets/stylesheets/ama_layout/layout_components/callouts.scss |