jquery.fileUpload.css 1.07 KB
.file-upload {
	position: relative;
	display: inline-block;
	background: #D0EEFF;
	border: 1px solid #99D3F5;
	border-radius: 4px;
	padding: 4px 12px;
	color: #1E88C7;
	text-decoration: none;
	text-indent: 0;
	line-height: 20px;
	cursor: pointer;
}

.file-upload input {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%; height : 100%;
	opacity: 0;
	cursor: pointer;
	height: 100%;
}

.file-upload span {
	cursor: pointer;
}

.file-upload:hover {
	background: #AADFFD;
	border-color: #78C3F3;
	color: #004974;
	text-decoration: none;
}

.file-close {
	position: absolute;
	display: inline-block;
	top: -10px;
	right: -10px;
	width: 20px;
	height: 20px;
	overflow: hidden;
	border-radius: 50px;
	background: black;
	opacity: 0.5;
	z-index: 100;
}

.file-close:hover {
	cursor: pointer;
	opacity: 1;
}

.file-close::before, .file-close::after {
	content: '';
	position: absolute;
	width: 80%;
	top: 50%;
	left: 10%;
	height: 6px;
	margin-top: -3px;
	border-radius: 5px;
	background: #ffffff;
}

.file-close::before {
	transform: rotate(45deg);
}

.file-close::after {
	transform: rotate(-45deg);
}