-
Notifications
You must be signed in to change notification settings - Fork 10
/
_nb-alert-boxes.scss
executable file
·62 lines (53 loc) · 1012 Bytes
/
_nb-alert-boxes.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
// NationBuilder Alert Styles
@import
"global",
"grid",
"alert-boxes";
#flash {
margin-bottom: 1em;
background-color: $alert-color;
}
.notice {
border: none;
display: block;
font-weight: normal;
margin-bottom: 1.25rem;
position: relative;
padding: 0.875rem 1.5rem 0.875rem 0.875rem;
background-color: $alert-color;
font-size: 0.8125rem;
color: #333;
max-width: $row-width;
margin: 0 auto;
border: none;
}
.flash-close {
font-size: 1.375rem;
padding: 0 9px 6px 4px;
line-height: 0;
position: absolute;
top: 50%;
margin: -0.6875rem 0 0 0;
right: 0.25rem;
color: #333333;
opacity: 0.3;
height: 1.375rem;
background: transparent;
}
.flash-close:hover {
background: transparent;
}
.success {
background-color: $success-color !important;
color: white !important;
}
.error {
background-color: $warning-color !important;
color: white !important;
}
.alert-box.error {
border-color: $warning-color;
}
.alert-box .row {
max-width: $row-width;
}