Files

44 lines
769 B
CSS

/* Image */
.mashsb-rwmb-image-item {
position: relative;
float: left;
padding: 0;
margin: 0 5px 5px 0;
box-sizing: border-box;
width: 150px;
}
.mashsb-rwmb-image-item .mashsb-rwmb-media-preview {
width: 150px;
}
.mashsb-rwmb-image-item .dashicons {
font-size: 20px;
width: 20px;
height: 20px;
}
.mashsb-rwmb-media-bar {
position: absolute;
z-index: 10;
display: none;
right: 5px;
top: 5px;
color: #fff;
}
.mashsb-rwmb-media-bar a {
text-decoration: none;
color: inherit;
}
.mashsb-rwmb-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, .6);
display: none;
}
.mashsb-rwmb-image-item:hover .mashsb-rwmb-media-bar,
.mashsb-rwmb-image-item:hover .mashsb-rwmb-overlay {
display: block;
cursor: move;
}