akaunting/public/css/third_party/dropzone_custom.css
2023-07-26 10:50:51 +03:00

138 lines
2.2 KiB
CSS
Vendored

.dropzone {
position: relative;
display: flex;
flex-direction: column;
margin-top: 0.25rem;
}
.dropzone-column {
height: calc(100% - 23px);
height: -webkit-calc(100% - 23px);
height: -moz-calc(100% - 23px);
}
.dz-preview-cover, .dz-preview-single {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: .375rem;
}
.dz-message,
.dz-preview-message {
padding: 5rem 1rem;
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
border: 2px dashed #C7C9D9;
border-radius: .375rem;
font-weight: 500;
text-align: center;
color: #595959;
transition: all .15s ease;
order: -1;
cursor: pointer;
}
.dz-message {
z-index: 9;
}
.dz-message:hover,
.dz-preview-message:hover {
border-color: #918b8b;
}
.dropzone-multiple .dz-message,
.dropzone-multiple .dz-preview-message {
height: 5rem;
padding: 0;
}
.dropzone-single .dz-message,
.dropzone-single .dz-preview-message {
height: 100%;
padding: 1rem 0;
}
.dropzone-column .dz-message,
.dropzone-column .dz-preview-message {
height: 100%;
padding: 0;
}
.dropzone-single.dz-max-files-reached .dz-message {
background-color: rgba(0,0,0,.2);
color: #fff;
opacity: 0;
}
.dropzone-single.dz-max-files-reached .dz-message:hover {
opacity:1
}
.dz-message .dz-button,
.dz-preview-message .dz-button {
background: hsla(0,0%,100%,0);
border: none;
color: #C7C9D9;
}
.dz-preview-img {
object-fit: cover;
width: 100%;
height: 100%;
border-radius: .375rem;
}
.dropzone-single.dz-max-files-reached .dz-message {
background-color: rgba(0,0,0,.9);
color: #fff;
opacity: 0;
}
.dropzone .avatar {
color: #fff;
background-color: #adb5bd;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: .375rem;
font-size: 1rem;
height: 45px;
width: 45px;
}
.form-file [data-dz-remove] {
bottom: 7px;
z-index: 99;
}
.dz-import-text {
color: #6B7280;
font-weight: 600;
}
.dz-import-upload {
color: #6B7280;
font-weight: 500;
}
.dz-import-icon {
font-size: 38px;
outline: none;
}
.dz-import {
padding: 20px;
background: hsla(0,0%,100%,0);
border: none;
color: #C7C9D9;
}
.dz-import-width {
width: 120%;
}