appeal.less
3.18 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
.appeal {
box-sizing: border-box;
background: #f5f5f5;
font-family: 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimHei, tahoma, sans-serif;
font-weight: normal;
}
.appealing .section-form label {
margin: 0;
box-sizing: border-box;
display: block;
height: 40px;
padding: 0 15px;
padding-top: 16px;
padding-bottom: 10px;
font-size: 14px;
line-height: 14px;
color: #666;
background: #f5f5f5;
font-weight: lighter;
}
.appealing .section-form .form-content {
padding: 15px;
border-top: 1px solid #ddd;
background: #fff;
}
.appealing .section-form .content {
display: block;
width: 100%;
height: 90px;
font-size: 14px;
line-height: 20px;
overflow: auto;
outline: none;
resize: none;
}
.appealing .section-form .desc {
color: #666;
line-height: 20px;
}
.appealing .section-form .upload-img-list {
margin-top: 15px;
margin-left: -10px;
}
.appealing .upload-img-list .item {
width: 65px;
height: 65px;
float: left;
margin-left: 10px;
position: relative;
}
.appealing .upload-img-list .item.plus {
position: relative;
}
.appealing .upload-img-list .item.plus:before,
.appealing .upload-img-list .item.plus:after {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 60%;
height: 4px;
margin: -2px 0 0 -30%;
background-color: #ccc;
}
.appealing .upload-img-list .item.plus:after {
width: 4px;
height: 60%;
margin: -30% 0 0 -2px;
}
.appealing .upload-img-list .btn-upload {
width: 65px;
height: 65px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
filter: alpha(opacity=0);
}
.appealing .upload-img-list img {
max-width: 100%;
}
.appealing .upload-img-list .remove {
position: absolute;
width: 24px;
height: 24px;
right: -8px;
top: -8px;
border-radius: 100%;
background: rgba(0, 0, 0, 0.4);
cursor: pointer;
}
.appealing .upload-img-list .remove:before,
.appealing .upload-img-list .remove:after {
position: absolute;
content: '';
left: 50%;
top: 50%;
width: 16px;
height: 2px;
margin: -1px 0 0 -8px;
background-color: #fff;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
.appealing .upload-img-list .remove:after {
height: 16px;
width: 2px;
margin: -8px 0 0 -1px;
}
#preview {
width: 200px;
margin-left: -100px;
-webkit-transform: translate(0, 100%) translateZ(0);
-moz-transform: translate(0, 100%) translateZ(0);
-ms-transform: translate(0, 100%) translateZ(0);
-o-transform: translate(0, 100%) translateZ(0);
transform: translate(0, 100%) translateZ(0);
}
#preview .remove {
position: absolute;
width: 24px;
height: 24px;
right: -8px;
top: -8px;
border-radius: 100%;
background: rgba(0, 0, 0, 0.4);
cursor: pointer;
display: none;
}
#preview .remove:before,
#preview .remove:after {
position: absolute;
content: '';
left: 50%;
top: 50%;
width: 16px;
height: 2px;
margin: -1px 0 0 -8px;
background-color: #fff;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#preview .remove:after {
height: 16px;
width: 2px;
margin: -8px 0 0 -1px;
}
.m-animate-show#preview .remove {
display: block;
}