UNPKG

@meleon/uni-ui

Version:

A uniapp components library written in vue3 and typescript

65 lines (64 loc) 1.56 kB
.ml-uploader { width: 100%; display: flex; align-items: flex-start; justify-content: flex-start; &-files { gap: 6px; display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; justify-content: flex-start; &-item { box-sizing: border-box; position: relative; width: var(--preview-size); height: var(--preview-size); border-radius: 4px; background-color: #ffffff; &--image { width: fit-content; height: fit-content; } &--close { position: absolute; top: 0; right: 0; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; border-radius: 0 0 0 8px; background-color: rgba(0, 0, 0, 0.4); ::v-deep.ml-icon { transform: translate(1px, -1px); } } } &-trigger { box-sizing: border-box; width: var(--preview-size); height: var(--preview-size); padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 4px; border: dashed 1px var(--info-color-4); background-color: var(--info-color-1); &-text { margin-top: 4px; font-size: 12px; white-space: nowrap; color: var(--info-color-7); } } } &--disabled { opacity: 0.5; pointer-events: none; } }