vuetify
Version:
Vue Material Component Framework
78 lines (73 loc) • 1.44 kB
CSS
.v-file-upload {
padding: 64px 16px;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
}
.v-file-upload.v-sheet {
display: flex;
border-radius: 4px;
border-style: dashed;
border-width: 2px;
}
.v-file-upload.v-file-upload--density-compact {
padding: 32px 0;
flex-direction: row;
gap: 1rem;
}
.v-file-upload .v-overlay__scrim {
pointer-events: none;
}
.v-file-upload--disabled {
pointer-events: none;
opacity: var(--v-disabled-opacity);
}
.v-file-upload--dragging > * {
pointer-events: none;
}
.v-file-upload--clickable {
cursor: pointer;
}
.v-file-upload input[type=file] {
left: 0;
opacity: 0;
position: absolute;
cursor: pointer;
top: 0;
z-index: -1;
}
.v-file-upload-title {
font-size: 1.5rem;
font-weight: 600;
text-align: center;
}
.v-file-upload-icon {
opacity: var(--v-medium-emphasis-opacity);
font-size: 3rem;
margin-bottom: 1rem;
}
.v-file-upload--density-comfortable .v-file-upload-icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.v-file-upload--density-compact .v-file-upload-icon {
font-size: 2rem;
margin-bottom: 0rem;
}
.v-file-upload-divider {
align-items: center;
display: flex;
margin: 32px 0;
justify-content: center;
width: 100%;
}
.v-file-upload-divider .v-divider__wrapper {
max-width: 100%;
}
.v-file-upload-items {
margin: 16px 0;
}
.v-file-upload-item:not(:first-child) {
margin-top: 8px;
}