-
Notifications
You must be signed in to change notification settings - Fork 8
/
BeAlert.css
87 lines (87 loc) · 1.86 KB
/
BeAlert.css
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
82
83
84
85
86
87
.BeAlert_overlay {
overflow: hidden;
position: fixed;
margin: 0;
padding: 0;
z-index: 9999;
background: url("overlay.png");
left: 0;
right: 0;
top: 0;
bottom: 0;
width: auto;
height: auto;
}
.BeAlert_box {
position: fixed;
top: 50%;
left: 50%;
background-color: #fff;
border-radius: 5px;
padding: 20px;
z-index: 10000;
font-family: 微软雅黑;
font-size: 12px;
text-align: center;
}
.BeAlert_box .BeAlert_image {
background: #fff;
width: 60px;
height: 60px;
margin: 10px auto;
}
.BeAlert_box .BeAlert_image.warning {
background: url("warning.png");
background-size: 60px;
}
.BeAlert_box .BeAlert_image.error {
background: url("error.png");
background-size: 60px;
}
.BeAlert_box .BeAlert_image.info {
background: url("info.png");
background-size: 60px;
}
.BeAlert_box .BeAlert_image.question {
background: url("question.png");
background-size: 60px;
}
.BeAlert_box .BeAlert_image.success {
background: url("success.png");
background-size: 60px;
}
.BeAlert_box .BeAlert_title {
font-size: 20px;
margin: 5px auto;
}
.BeAlert_box .BeAlert_message {
font-size: 14px;
margin: 5px auto;
}
.BeAlert_box .BeAlert_button {
margin-top: 20px;
}
.BeAlert_box .BeAlert_button button {
display: none;
background-color: #8CD4F5;
color: #fff;
border: none;
box-shadow: none;
font-size: 17px;
font-weight: 500;
-webkit-border-radius: 4px;
border-radius: 5px;
padding: 10px 30px;
cursor: pointer;
margin: 0 10px;
outline: none;
}
.BeAlert_box .BeAlert_button button.BeAlert_cancel {
background-color: #c1c1c1;
}
.BeAlert_box .BeAlert_button button.BeAlert_cancel:hover {
background-color: #b9b9b9;
}
.BeAlert_box .BeAlert_button button.BeAlert_confirm:hover {
background-color: #86CCEB;
}