Newer
Older
border: 1px solid $color;
margin: 2em 0.625em;
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
display: flex;
align-items: stretch;
.callout__icon {
float: left;
background: $color;
color: white;
text-align: center;
display: flex;
align-items: center;
}
.svg-inline--fa {
font-size: 1.5em;
margin: 0 0.5em;
&.fa-exclamation {
font-size: 1.625em;
margin: 0 0.6875em;
}
}
.callout__body {
margin: 1em 1.25em 1em 1.5em;
line-height: 1.4;
}
}
.callout {
@include callout();
}
.callout--caution {
@include callout($orange);
}
.callout--ux-tip {
@include callout($violet);
}
.callout {
p:last-child {
margin-bottom: 0;
}
}