blob: d85e9127aa8ed96e26ae405d5949034d07a79d15 (
plain)
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
|
.alert {
display: flex;
padding: $spacer;
border-width: 0 0 0 3px;
color: gray("800");
margin-bottom: $spacer;
&.small {
padding: $spacer / 2;
font-size: 1rem;
}
.close {
font-weight: 300;
opacity: 1;
}
.alert-icon {
display: inline-flex;
align-items: flex-start;
margin-right: $spacer;
margin-bottom: $spacer;
@include media-breakpoint-up(sm) {
margin-bottom: 0;
}
}
.alert-content {
flex: 1 1 auto;
}
.alert-title {
margin-bottom: $spacer / 2;
}
.alert-msg {
p + p {
margin-bottom: $spacer;
}
p:last-of-type {
margin-bottom: 0;
}
}
&.alert-info {
border-left-color: theme-color("info");
background-color: theme-color-light("info");
fill: theme-color("info");
}
&.alert-success {
border-left-color: theme-color("success");
background-color: theme-color-light("success");
fill: theme-color("success");
}
&.alert-danger {
border-left-color: theme-color("danger");
background-color: theme-color-light("danger");
fill: theme-color("danger");
}
&.alert-warning {
border-left-color: theme-color("warning");
background-color: theme-color-light("warning");
fill: theme-color("warning");
}
}
|