feat: add transparent background to fields
This commit is contained in:
@@ -316,7 +316,7 @@ export const AddFieldsFormPartial = ({
|
|||||||
{selectedField && (
|
{selectedField && (
|
||||||
<Card
|
<Card
|
||||||
className={cn(
|
className={cn(
|
||||||
'bg-background pointer-events-none fixed z-50 cursor-pointer transition-opacity',
|
'bg-documenso pointer-events-none fixed z-50 cursor-pointer border-2 bg-opacity-20 backdrop-blur-[1.2px]',
|
||||||
{
|
{
|
||||||
'border-primary': isFieldWithinBounds,
|
'border-primary': isFieldWithinBounds,
|
||||||
'opacity-50': !isFieldWithinBounds,
|
'opacity-50': !isFieldWithinBounds,
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ export const FieldItem = ({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<Card
|
<Card
|
||||||
className={cn('bg-background h-full w-full', {
|
className={cn('bg-documenso h-full w-full bg-opacity-20 backdrop-blur-[1.2px]', {
|
||||||
'border-primary': !disabled,
|
'border-primary': !disabled,
|
||||||
'border-primary/80': active,
|
'border-primary/80': active,
|
||||||
})}
|
})}
|
||||||
@@ -143,9 +143,7 @@ export const FieldItem = ({
|
|||||||
>
|
>
|
||||||
{FRIENDLY_FIELD_TYPE[field.type]}
|
{FRIENDLY_FIELD_TYPE[field.type]}
|
||||||
|
|
||||||
<p className="text-muted-foreground/50 w-full truncate text-center text-xs">
|
<p className="w-full truncate text-center text-xs">{field.signerEmail}</p>
|
||||||
{field.signerEmail}
|
|
||||||
</p>
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</Rnd>,
|
</Rnd>,
|
||||||
|
|||||||
Reference in New Issue
Block a user