pkg-components
Version:
90 lines (80 loc) • 1.72 kB
CSS
.container_box {
display: block;
position: relative;
}
.dropZone {
min-height: 150px;
max-height: 300px;
overflow: hidden auto;
cursor: pointer;
border: 2px dashed var(--color-neutral-gray-light);
border-radius: 12px;
display: grid;
}
.preview {
position: relative;
display: flex;
vertical-align: top;
flex-flow: wrap;
}
.container_image {
position: relative;
z-index: 10;
margin: 10px 12px;
display: flex;
align-items: center;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border-radius: 4px;
width: 40%;
height: 25%;
max-height: 30px;
min-width: 80px;
min-height: 80px;
border: 1px solid var(--color-neutral-gray-silver);
transition: 1s ease-in-out;
}
.container_image:hover {
border: 1px solid var(--color-neutral-gray-dark);
}
.container_image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
}
.file_name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.container {
align-items: center;
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
width: 100%;
}
.button {
background-color: transparent;
border-radius: 5px;
border: 1px solid var(--PColor);
cursor: pointer;
padding: 5px;
width: 300px;
}
.button_remove {
cursor: pointer;
height: 100%;
position: absolute;
right: 0;
width: 30px;
z-index: var(--z-index-999);
}
.button_icon {
font-family: 'PFont-Light';
text-align: center;
}