forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMessageBox.css
More file actions
75 lines (62 loc) · 1.4 KB
/
MessageBox.css
File metadata and controls
75 lines (62 loc) · 1.4 KB
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
/** 提示框样式 **/
.component-messageboxcontainer {
position: absolute;
top: 20px;
/*绝对定位左右居中(注:该方法需要设置最大宽度)*/
left: 0;
right: 0;
margin: auto;
min-height: 50px;
max-width: 500px;
border-radius: 2px;
background-color: white;
z-index: 1000;
}
.component-border-bottom-orange {
border-bottom: orange solid 1.5px;
}
.component-border-bottom-red {
border-bottom: red solid 1.5px;
}
.component-border-bottom-green {
border-bottom: green solid 1.5px;
}
.component-messageboxcontainer .icon {
float: left;
font-size: 24px;
margin-left: 20px;
margin-top: 6px;
display: inline-block;
}
.component-messageboxcontainer .supermapol-icons-message-success {
color: green;
}
.component-messageboxcontainer .supermapol-icons-message-failure {
color: red;
}
.component-messageboxcontainer .supermapol-icons-message-warning {
color: orange;
}
.component-messagebox {
float: left;
color: #595959;
font-size: 12px;
margin: 15px 10px;
}
.component-messagebox__cancelbtncontainer {
position: relative;
height: 5px;
}
.component-messagebox__cancelBtn {
position: absolute;
top: 15px;
right: 5px;
border: none;
background: transparent;
color: #A4A4A4;
cursor: pointer;
}
.component-messagebox__cancelBtn:hover {
border: none;
font-weight: 600;
}