@use "../../reset"; .hulk_affef_dropzone_wrap { max-width: 100%; flex-basis: 100%; display: flex; flex-wrap: nowrap; flex-direction: column; align-items: flex-start; position: relative; .hulk-field-container { display: block; width: 100%; font-family: var(--e-global-typography-text-font-family), Sans-serif, serif; font-weight: var(--e-global-typography-text-font-weight); color: var(--e-global-color-text); > p { font-size: 1rem; } > em { font-size: .8rem; } } .hulk-dropzone { display: flex; flex-direction: column; align-items: center; padding: 20px; background-color: #ffffff; border-radius: 2px; outline: none; transition: border .24s ease-in-out; border: 2px dashed #69727D; justify-content: center; height: 100px; &:focus { border-color: var(--e-global-color-accent);; } .disabled { opacity: 0.6; } p { margin: 0 !important; padding: 0 !important; } } .hulk-files { @extend %element-reset; width: 100%; padding: 0; vertical-align: top; margin: 10px 0; position: relative; list-style: none; display: flex; flex-direction: column; gap: 10px; > li { position: relative; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } } .hulk-drop-wrap { height: 50px; display: flex; gap: 10px; align-items: center; } .hulk-icon-wrap { display: flex; position: relative; width: 50px; height: 50px; } .hulk-drop-type { width: 50px; height: 50px; position: absolute; top: 0; left: 0; overflow: hidden; color: #7a7a7a; svg { width: inherit; height: inherit; fill: currentColor; } img { object-fit: cover; height: 100%; width: 100%; border-radius: 2px; } } .hulk-drop-type-file { display: block; position: absolute; top: 25px; left: 0; font-size: 12px; font-weight: 700; line-height: 13px; padding: 0 4px; border-radius: 2px; box-shadow: 1px 1px 2px #abc; color: #fff; background: #0080c8; text-transform: uppercase; } .hulk-info-wrap { flex-basis: 100%; display: flex; flex-direction: column; gap: 2px; width: calc(100% - 60px); } .hulk-file-info { display: flex; gap: 5px; width: calc(100% - 50px); color: #7a7a7a; } .hulk-drop-filename { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hulk-drop-filesize { display: block; color: #444242; font-weight: 700; white-space: nowrap; } .hulk-drop-remove { @extend %element-reset; position: absolute; top: 0; right: 0; width: 20px; height: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; border: 2px solid #69727D; border-radius: 100px; color: #69727D; svg { fill: currentColor; } } .hulk-drop-progressBar { border-radius: 5px; overflow: hidden; width: 100%; background-color: var(--e-global-color-accent); height: 15px; font-size: 11px; text-align: right; color: #ffffff; font-weight: 700; padding: 0 4px; display: flex; align-items: center; justify-content: flex-end; align-content: center; min-width: 50px; } .hulk-drop-text-error { display: block; width: 100%; clear: both; white-space: normal; font-size: 1em; line-height: 1; color: #d9534f; font-family: inherit; font-weight: inherit; &:before { content: "\e87f"; display: inline-block; font-family: eicons, serif; font-weight: normal; font-style: normal; vertical-align: middle; margin-inline-end: 5px; } } .hulk-drop-pause { position: absolute; top: 0; right: 0; display: none !important; } .hulk-drop-upload { display: none; } }