form.scss
2.1 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
@import "../../../scss/krhr/_mixins-component";
/*table section*/
.table{
width: 100%;
th{
height: 40px;text-align: center;background-color: #f7f7f7;font-size: 12px;
}
th,td{
border: 1px solid #ccc;height: 32px;
}
input{
border-style: none;width: 100%;height: 32px;margin: 0;text-align: center;
font-size: 14px;padding-left: 10px;
}
tbody{
width: 100%;
}
}
.tabular_item_wrap{
margin: 25px 40px;
.tabular_title{
padding: 10px 15px;
}
}
/*file section*/
.part{
width: 100%;min-height:105px; //margin-bottom: 40px;
i,b{
cursor: pointer;
}
.partContain{
width:100%;
border-top: 1px solid #ccc; margin-bottom: 20px;
float: left;
.iconE{
font-size: 60px;color: #ccc;cursor: pointer;position: relative;display: inline-block;width: 80px;
}
.imgBox{
width: 60px;height: 80px;text-align: center;padding-top: 20px;position: relative;display: inline-block;
.preview{
width: 60px;height: 60px;margin: 0 auto;position: relative;overflow: hidden;
img{
width: 60px;height: 60px;border: 1px solid #ccc;
}
.miss{
width: 100%;height: 100%;position: absolute;left: 0;top: 0;margin-left: -60px;
opacity: 0;
transition: margin-left 500ms ease,opacity 1s ease;
//shadow
.shadow{
width: 100%;height: 100%;background-color: #aaa;opacity: 0.5;position: absolute;
left: 0;top: 0;
}
i{
font-size: 20px;font-style: normal;margin: -30px 12px 0 0;color: #fff;
}
b{
width: 100%;height: 20px;background-color: rgba(0,0,0,.5);color: #fff;position: absolute;
bottom: 0;left: 0;line-height: 20px;font-size: 10px;
}
}
}
//delete
.remove_btn{
color: red;font-size: 18px;position: absolute;right:-13px;top: 10px;cursor: pointer;
}
//down
i{
font-style: normal;font-size: 16px;position: absolute;right: 5px;
top: 45px;
}
.textBox{
text-align: center;
}
}
.imgBox:hover .miss{
margin-left: 0px;opacity: 1;
}
}
}
.file_item_wrap{
position: relative;
display: block;
min-height: 105px;
}
.clearfix:after{
content: '';display: block;;clear: both;
}