-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlert.scss
More file actions
47 lines (43 loc) · 763 Bytes
/
Copy pathAlert.scss
File metadata and controls
47 lines (43 loc) · 763 Bytes
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
@import "../common.scss";
.Alert {
display: flex;
flex-flow: row nowrap;
margin: 1rem 0;
align-items: center;
.Alert-label {
text-transform: uppercase;
margin-right: 1rem;
}
.Alert-label, .Alert-iconWrapper {
display: inline-block;
vertical-align: middle;
}
.Icon {
display: inline-block;
vertical-align: middle;
margin: -1px 0.5em 0 0;
font-size: 1.2em;
line-height: 1.2em;
}
&--info {
color: $brand-color;
}
&--success {
color: $success-color;
}
&--warning {
color: $warning-color;
}
&--error {
color: $error-color;
}
&--centerAlign {
justify-content: center;
}
&--rightAlign {
justify-content: flex-end;
}
&--inline {
display: inline-flex;
}
}