image.css 1.14 KB
Newer Older
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
/* Uploaded image */
.rwmb-images {
	overflow: hidden;
}
.rwmb-images li {
	margin: 0 10px 10px 0;
	float: left;
	width: 150px;
	height: 150px;
	text-align: center;
	cursor: move;
	position: relative;
	-webkit-transition: width .25s, opacity .25s, -webkit-opacity .25s;
	        transition: width .25s, opacity .25s;
}
.rwmb-images img {
	width: 150px;
	height: 150px;
}
.rwmb-image-bar {
	color: #fff;
	font-weight: bold;
	background: #000;
	background: rgba(0, 0, 0, .5);
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px;
	display: none;
	text-align: center;
}
li:hover .rwmb-image-bar {
	display: block;
}
.rwmb-image-bar a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	vertical-align: middle;
}
.rwmb-image-bar a.rwmb-delete-file {
	font-size: 23px;
	width: 18px;
	font-weight: normal;
}
.rwmb-images li.removed {
	width: 0;
	margin: 0;
	        opacity: 0;
	-webkit-opacity: 0;
	   -moz-opacity: 0;
	     -o-opacity: 0;
}
.rwmb-images li.removed:after {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	opacity: .4;
	background-color: #f00;
}
.rwmb-images li.ui-state-highlight {
	background: #ddd;
}