58 lines
1.2 KiB
CSS
58 lines
1.2 KiB
CSS
.placeholder {
|
|
width: 100%;
|
|
position: relative;
|
|
text-align: center;
|
|
cursor: default;
|
|
border: 1px dashed #c3c4c7;
|
|
box-sizing: border-box;
|
|
padding: 9px 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.images:has(.image-item) + .placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.suggested-image-item,
|
|
.image-item {
|
|
width: 100%;
|
|
height: 150px;
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
-webkit-box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
|
|
box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
|
|
background: #eee;
|
|
cursor: pointer;
|
|
vertical-align: middle;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.suggested-image-item::before,
|
|
.image-item::before {
|
|
content: '';
|
|
position: absolute;
|
|
display: none;
|
|
top: 0px;
|
|
right: 0px;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
box-shadow: 0 0 0 5px #2271b1 inset;
|
|
}
|
|
|
|
.image-item::before {
|
|
box-shadow: 0 0 0 5px #b12222 inset;
|
|
}
|
|
|
|
.suggested-image-item:hover::before,
|
|
.image-item:hover::before {
|
|
display: block;
|
|
}
|
|
|
|
.actions {
|
|
padding: 1em 0;
|
|
} |