_dialog.css
2.14 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.yoho-dialog {
position: fixed;
padding: 40px;
top: 50%;
left: 50%;
min-height: 130px;
min-width: 420px;
background: #ffffff;
z-index: 1001;
padding-right: 0;
/*border: 1px solid #8f8f8f;*/
.close {
padding: 5px;
text-align: center;
position: absolute;
top: 14px;
right: 14px;
cursor: pointer;
> * {
font-size: 16px;
margin: 0;
}
}
.content {
text-align: center;
}
.btns {
padding: 15px 0;
text-align: center;
}
.alert-sure {
background: #1b1b1b;
color: #fff;
}
.confirm-sure {
background: #1b1b1b;
color: #fff;
}
.confirm-cancel {
background: #fff;
color: #1b1b1b;
}
.btn {
display: inline-block;
width: 130px;
height: 30px;
line-height: 30px;
font-size: 14px;
text-align: center;
border: 1px solid #1b1b1b;
cursor: pointer;
margin-left: 10px;
&:first-child {
margin-left: 0;
}
}
&.alert-dialog .content,
&.confirm-dialog .content {
width: 350px;
height: auto;
min-height: 90px;
overflow: hidden;
line-height: 20px;
position: relative;
padding-top: 40px;
padding-bottom: 20px;
margin: 0 auto; /* IE8 */
.title {
font-size: 22px;
font-weight: bold;
padding-bottom: 40px;
}
}
&.subcontent-dialog {
padding: 30px 0;
.content {
font-weight: bold;
margin: 0 auto 30px;
}
.sub-content {
text-align: center;
font-size: 12px;
color: #555;
margin-left: 5px;
margin-bottom: 5px;
}
.btn {
margin-top: 25px;
width: 100px;
font-size: 13px;
margin-left: 0;
margin-right: 0;
&.black {
background-color: #000;
color: #fff;
}
}
}
}