form.scss 2.1 KB
@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;
}