Files
frontend/packages/common/business_components/src/ui/file-upload/file-upload.css
T

68 lines
1.1 KiB
CSS

@tailwind components;
@layer components {
.fileup_root {
@apply relative rounded-lg bg-background p-2;
}
.fileup_dropzone {
@apply border border-border outline-dashed outline-1 outline-border;
}
.fileup_panel {
@apply flex w-full flex-col items-center justify-center p-1;
}
.fileup_icon {
@apply h-4 w-5 text-label;
}
.fileup_hint {
@apply mb-1 text-sm text-label;
}
.fileup_hint_strong {
@apply font-semibold text-foreground;
}
.fileup_meta {
@apply text-xs text-label;
}
.fileup_item {
@apply text-foreground;
}
.fileup_item_active {
@apply bg-muted;
}
.fileup_item_name {
@apply flex h-full w-4/5 items-center gap-1.5 overflow-hidden font-medium leading-normal tracking-tight;
}
.fileup_item_remove {
@apply text-label;
}
.fileup_item_remove_icon {
@apply h-4 w-4 transition-colors duration-200 ease-in-out hover:stroke-destructive;
}
.fileup_input {
@apply border;
}
.fileup_input_idle {
@apply border-border;
}
.fileup_input_accept {
@apply border-primary;
}
.fileup_input_reject {
@apply border-destructive;
}
}