forked from XRPLF/xrpl-dev-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_callouts.scss
81 lines (74 loc) · 2.04 KB
/
_callouts.scss
1
2
3
4
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/* Callouts ----------------------------------------------------------------- */
.devportal-callout.tip,
.devportal-callout.ヒント {
border-color: $success;
}
.devportal-callout.tip > strong:first-child:before,
.devportal-callout.ヒント > strong:first-child:before {
color: $success;
}
.devportal-callout.note > strong:first-child:before,
.devportal-callout.注記 > strong:first-child:before {
color: $info;
}
.devportal-callout.note,
.devportal-callout.注記 {
border-color: $info;
}
.devportal-callout.caution,
.devportal-callout.注意 {
border-color: $warning; /* not a typo */
}
.devportal-callout.caution > strong:first-child:before,
.devportal-callout.注意 > strong:first-child:before {
color: $warning; /* not a typo */
}
.devportal-callout.warning,
.devportal-callout.警告 {
border-color: $danger;
}
.devportal-callout.warning > strong:first-child:before,
.devportal-callout.警告 > strong:first-child:before {
color: $danger;
}
.devportal-callout {
border-style: solid;
border-radius: 0;
border-width: 1px;
border-left-width: 4px;
padding: 5px;
padding-left: 25px;
page-break-inside: avoid;
}
.devportal-callout > strong:first-child {
display: block;
page-break-after: avoid;
}
.devportal-callout.tip > strong:first-child:before {
content: "\f058"; /* fontawesome check-circle icon */
font-family: FontAwesome;
/* color in scss */
margin-left: -20px;
padding-right: 5px;
}
.devportal-callout.note > strong:first-child:before {
content: "\f05a"; /* fontawesome (i) info-circle icon */
font-family: FontAwesome;
/* color in scss */
margin-left: -20px;
padding-right: 5px;
}
.devportal-callout.caution > strong:first-child:before {
content: "\f071"; /* fontawesome /!\ exclamation-triangle icon */
font-family: FontAwesome;
/* color in scss */
margin-left: -20px;
padding-right: 5px;
}
.devportal-callout.warning > strong:first-child:before {
content: "\f057"; /* fontawesome (x) times-circle icon */
font-family: FontAwesome;
/* color in scss */
margin-left: -20px;
padding-right: 5px;
}