관리-도구
편집 파일: vendor-product.css
/* Image Upload */ .upload-file { position: relative; display: inline-block; margin: auto; max-width: 100%; } .upload-file__input { position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 100%; block-size: 100%; cursor: pointer; opacity: 0; z-index: 9; } .upload-file__wrapper { height: 100px; min-width: 100px; max-width: 100%; border-radius: 5px; background: var(--bs-white); border: 1px dashed var(--bs-border-color); display: flex; justify-content: center; align-items: center; aspect-ratio: 1; position: relative; overflow: hidden; transition: all 0.3s ease-in-out; } .upload-file__wrapper .upload-file-img { inline-size: 100%; block-size: 100%; -o-object-fit: cover; object-fit: cover; display: none; } .upload-file__wrapper .upload-file-textbox { -webkit-user-select: none; -moz-user-select: none; user-select: none; } .upload-file .overlay { position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 100%; block-size: 100%; opacity: 0; border-radius: 5px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%); transition: opacity 0.3s ease-in-out; z-index: 2; } .upload-file .overlay .icon-btn { inline-size: 20px; block-size: 20px; padding: 5px; font-size: 10px; background-color: var(--bs-white); cursor: pointer; } .upload-file:hover .overlay.show { opacity: 1; z-index: 10; } .upload-file .remove_btn { position: absolute; inset-block-start: -5px; inset-inline-end: -5px; z-index: 11; opacity: 0; } .upload-file.input-disabled .single_file_input { pointer-events: none; opacity: 0; } #imageModal .modal-dialog, #imageModal .modal-content { width: -moz-fit-content !important; width: fit-content !important; } .imageModal { background-color: rgba(0, 0, 0, 0.6); } .imageModal .modal-dialog, .imageModal .modal-content { width: auto; width: -moz-fit-content; width: fit-content; } .imageModal .modal-content { background: transparent; border: none; } .imageModal .imageModal_img_wrapper { position: relative; max-width: 700px; max-height: 90vh; margin: auto; background-color: #fff; border-radius: 10px; display: flex; justify-content: center; align-items: center; padding: 0.5rem; overflow: hidden; } .imageModal .imageModal_img_wrapper .imageModal_img { width: auto; height: auto; min-width: 100px; max-width: 100%; max-height: calc(90vh - 100px); text-align: center; -o-object-fit: contain; object-fit: contain; border-radius: inherit; } .imageModal .imageModal_img_wrapper .imageModal_btn_wrapper { position: absolute; bottom: 0.5rem; inset-inline-end: 0.5rem; display: flex; gap: 5px; align-items: center; } .imageModal .imageModal_img_wrapper .download_btn { color: var(--bs-dark); background-color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); } .imageModal .imageModal_img_wrapper .download_btn:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); } @media (max-width: 767px) { .imageModal .imageModal_img_wrapper { max-width: 100%; } } .tooltip-icon { color: var(--body-light-color); cursor: pointer; } /* fixed action button */ .action-btn-wrapper { --bs-bg-opacity: 0; transition: all 0.3s ease-in-out; animation: actionFooterShow 0.3s ease-out; } .action-btn-wrapper.fixed { inline-size: -moz-fit-content; inline-size: fit-content; padding: 1.25rem; box-shadow: var(--toaster-shadow); border-top-left-radius: 0.625rem; --bs-bg-opacity: 1; transition: all 0.3s ease-in-out; animation: actionFooterShow 0.3s ease-out; } @keyframes actionFooterShow { 0% { transform: translateY(-0.625rem); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } [dir=rtl] .action-btn-wrapper.fixed { border-top-left-radius: 0; border-top-right-radius: 0.625rem; } @media (max-width: 575px) { .action-btn-wrapper.fixed { border-top-left-radius: 0.625rem; border-top-right-radius: 0.625rem; padding: 1rem; } } @media (min-width: 576px) { .flex-grow-sm-0 { flex-grow: 0 !important; } } .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice__remove { color: #fff; background-color: var(--border-dark); border-radius: 20px; width: 1rem; height: 1rem; font-size: 15px; line-height: 1; border: none; padding: 0; padding-inline-start: 0; font-weight: 300; position: static; display: flex; justify-content: center; align-items: center; margin-inline-start: 5px; } .image-uploader { --aspect-ratio: 1; --size: 180px; overflow: hidden; position: relative; block-size: var(--size); min-inline-size: var(--size); max-inline-size: 100%; border-radius: 0.5rem; cursor: pointer; aspect-ratio: var(--aspect-ratio); border: 2px dashed var(--bs-border-color); } .image-uploader__zip { position: absolute; inline-size: 100%; block-size: 100%; opacity: 0; cursor: pointer; z-index: 2; inset: 0; } .image-uploader__zip-preview { display: flex; align-items: center; flex-direction: column; justify-content: center; inline-size: 100%; block-size: 100%; background-color: transparent; text-align: center; gap: 10px; padding: 10px; } .image-uploader__zip-preview img { width: 40px; height: 40px; -o-object-fit: contain; object-fit: contain; } .image-uploader__icon_delete, .image-uploader__icon { border-radius: inherit; } .image-uploader .zip-remove-btn { position: absolute; inset-inline-end: 16px; top: 16px; z-index: 4; padding-top: 7px; } .image-uploader .zip-remove-btn__outside { top: -10px; inset-inline-end: -10px; padding-top: 0; } .image-uploader__file { position: absolute; inline-size: 100%; block-size: 100%; opacity: 0; cursor: pointer; z-index: 2; inset: 0; } .overflow-visible { overflow: visible; } .document-upload-wrapper.lg { height: 180px; max-width: 100%; } .document-upload-wrapper.lg + .pdf-single { max-width: 100%; } .fs-18 { font-size: 18px !important; } .bootstrap-tagsinput .tag { overflow-wrap: anywhere; }/*# sourceMappingURL=vendor-product.css.map */