|
|
@ -38,29 +38,22 @@ const PopupCard = ({ selectedChecklist }) => { |
|
|
|
> |
|
|
|
> |
|
|
|
<div className="relative p-4 w-full h-full md:h-auto"> |
|
|
|
<div className="relative p-4 w-full h-full md:h-auto"> |
|
|
|
<div className="max-w-[920px] mx-auto relative bg-white rounded-lg shadow dark:bg-gray-700"> |
|
|
|
<div className="max-w-[920px] mx-auto relative bg-white rounded-lg shadow dark:bg-gray-700"> |
|
|
|
|
|
|
|
{/* cancle icon */} |
|
|
|
<div className="flex justify-between items-start p-5 rounded-t"> |
|
|
|
<div className="flex justify-between items-start p-5 rounded-t"> |
|
|
|
{/* cancle icon */} |
|
|
|
|
|
|
|
<CancleIcon backgroundColor={"bg-[#F8F8F8]"} icon={cancleIcon} /> |
|
|
|
<CancleIcon backgroundColor={"bg-[#F8F8F8]"} icon={cancleIcon} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* modalBody */} |
|
|
|
{/* modalBody */} |
|
|
|
<div className="mx-5"> |
|
|
|
<div className="mx-5"> |
|
|
|
{/* top */} |
|
|
|
{/* top */} |
|
|
|
<div className="flex flex-row"> |
|
|
|
<div className="flex flex-row items-center justify-between divide-x-2 divide-[#DBDBDB77] divide-x-reverse "> |
|
|
|
{/* right */} |
|
|
|
{/* right */} |
|
|
|
<Input /> |
|
|
|
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
|
|
|
{/* <OutlineInput |
|
|
|
<Input /> |
|
|
|
divWidth="w-1/2" |
|
|
|
</div> |
|
|
|
textClr={activeInput ? "text-[#22577E]" : "text-[#06BACE]"} |
|
|
|
|
|
|
|
borderClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
|
|
|
|
outlineTitle={"نام کارت"} |
|
|
|
|
|
|
|
outlineTitleClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
|
|
|
|
onFocus={() => setActiveInput(true)} |
|
|
|
|
|
|
|
onBlur={() => setActiveInput(false)} |
|
|
|
|
|
|
|
/> */} |
|
|
|
|
|
|
|
{/* divider */} |
|
|
|
|
|
|
|
<div className="border border-[#DBDBDB77] rounded mx-5"></div> |
|
|
|
|
|
|
|
{/* left */} |
|
|
|
{/* left */} |
|
|
|
<Input /> |
|
|
|
<div className="flex-grow flex-1 flex flex-col gap-y-4 px-4"> |
|
|
|
|
|
|
|
<Input /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* divider */} |
|
|
|
{/* divider */} |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5"></div> |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5"></div> |
|
|
@ -232,3 +225,15 @@ PopupCard.defaultProps = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
/* <OutlineInput |
|
|
|
|
|
|
|
divWidth="w-1/2" |
|
|
|
|
|
|
|
textClr={activeInput ? "text-[#22577E]" : "text-[#06BACE]"} |
|
|
|
|
|
|
|
borderClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
|
|
|
|
outlineTitle={"نام کارت"} |
|
|
|
|
|
|
|
outlineTitleClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
|
|
|
|
onFocus={() => setActiveInput(true)} |
|
|
|
|
|
|
|
onBlur={() => setActiveInput(false)} |
|
|
|
|
|
|
|
/> */ |
|
|
|
|
|
|
|
} |
|
|
|