54 lines
827 B
SCSS
54 lines
827 B
SCSS
.callout {
|
|
@extend .alert;
|
|
padding: 0px;
|
|
border-left: none !important;
|
|
border-radius: 4px;
|
|
|
|
header {
|
|
color: $white;
|
|
@include line-height(24);
|
|
font-weight: 500;
|
|
padding: 8px 16px;
|
|
margin: 0;
|
|
text-transform: uppercase;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
p {
|
|
padding: 16px;
|
|
margin: 0px;
|
|
@include font-size(14);
|
|
}
|
|
|
|
> *:not(:first-child) {
|
|
padding: 16px 24px;
|
|
}
|
|
|
|
&.is-critical {
|
|
border-color: $brightred;
|
|
background: rgba($brightred, 0.05);
|
|
|
|
header {
|
|
background: $brightred;
|
|
}
|
|
}
|
|
|
|
&.is-important {
|
|
border-color: $orange;
|
|
background: rgba($orange, 0.05);
|
|
|
|
header {
|
|
background: $amber-700;
|
|
}
|
|
}
|
|
|
|
&.is-helpful {
|
|
border-color: $blue;
|
|
background: rgba($blue, 0.05);
|
|
|
|
header {
|
|
background: $blue;
|
|
}
|
|
}
|
|
}
|