|
|
@ -13,9 +13,11 @@ import OutlineInput from "../OutlineInput"; |
|
|
|
import OutlineTextarea from "../OutlineTextarea"; |
|
|
|
import OutlineTextarea from "../OutlineTextarea"; |
|
|
|
import ButtonNewDesign from "../ButtonNewDesign"; |
|
|
|
import ButtonNewDesign from "../ButtonNewDesign"; |
|
|
|
import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; |
|
|
|
import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; |
|
|
|
|
|
|
|
import Input from "../AnimatedInput/Input"; |
|
|
|
|
|
|
|
|
|
|
|
const PopupCard = ({ selectedChecklist }) => { |
|
|
|
const PopupCard = ({ selectedChecklist }) => { |
|
|
|
const [activeInput, setActiveInput] = useState(false); |
|
|
|
// const [activeInput, setActiveInput] = useState(false);
|
|
|
|
|
|
|
|
|
|
|
|
const [checklist, setChecklist] = useState(0); |
|
|
|
const [checklist, setChecklist] = useState(0); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
@ -35,17 +37,18 @@ const PopupCard = ({ selectedChecklist }) => { |
|
|
|
className="hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full justify-center items-center" |
|
|
|
className="hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full justify-center items-center" |
|
|
|
> |
|
|
|
> |
|
|
|
<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="w-7/12 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"> |
|
|
|
<div className="flex justify-between items-start p-5 rounded-t"> |
|
|
|
<div className="flex justify-between items-start p-5 rounded-t"> |
|
|
|
{/* cancle icon */} |
|
|
|
{/* cancle icon */} |
|
|
|
<CancleIcon backgroundColor={"bg-[#F8F8F8]"} icon={cancleIcon} /> |
|
|
|
<CancleIcon backgroundColor={"bg-[#F8F8F8]"} icon={cancleIcon} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* modalBody */} |
|
|
|
{/* modalBody */} |
|
|
|
<div className="w-11/12 mx-auto"> |
|
|
|
<div className="mx-5"> |
|
|
|
{/* top */} |
|
|
|
{/* top */} |
|
|
|
<div className="flex flex-row "> |
|
|
|
<div className="flex flex-row"> |
|
|
|
{/* right */} |
|
|
|
{/* right */} |
|
|
|
<OutlineInput |
|
|
|
<Input /> |
|
|
|
|
|
|
|
{/* <OutlineInput |
|
|
|
divWidth="w-1/2" |
|
|
|
divWidth="w-1/2" |
|
|
|
textClr={activeInput ? "text-[#22577E]" : "text-[#06BACE]"} |
|
|
|
textClr={activeInput ? "text-[#22577E]" : "text-[#06BACE]"} |
|
|
|
borderClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
borderClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
@ -53,26 +56,11 @@ const PopupCard = ({ selectedChecklist }) => { |
|
|
|
outlineTitleClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
outlineTitleClr={activeInput ? "#22577E" : "#06BACE"} |
|
|
|
onFocus={() => setActiveInput(true)} |
|
|
|
onFocus={() => setActiveInput(true)} |
|
|
|
onBlur={() => setActiveInput(false)} |
|
|
|
onBlur={() => setActiveInput(false)} |
|
|
|
/> |
|
|
|
/> */} |
|
|
|
{/* divider */} |
|
|
|
{/* divider */} |
|
|
|
<div className="border border-[#DBDBDB77] rounded mx-5"></div> |
|
|
|
<div className="border border-[#DBDBDB77] rounded mx-5"></div> |
|
|
|
{/* left */} |
|
|
|
{/* left */} |
|
|
|
<div date-rangepicker className="flex items-center w-1/2"> |
|
|
|
<Input /> |
|
|
|
<div className="relative w-full"> |
|
|
|
|
|
|
|
<img |
|
|
|
|
|
|
|
src={calender} |
|
|
|
|
|
|
|
className="absolute top-3 left-2" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<input |
|
|
|
|
|
|
|
name="start" |
|
|
|
|
|
|
|
type="text" |
|
|
|
|
|
|
|
className="w-full border-2 border-blue-400 rounded-md text-sm h-12 |
|
|
|
|
|
|
|
focus:outline-none focus:border-[#22577E] focus:ring-1 focus:ring-[#22577E]" |
|
|
|
|
|
|
|
placeholder="چهارشنبه 10 فروردین 1401 بماند به یادگار" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{/* divider */} |
|
|
|
{/* divider */} |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5"></div> |
|
|
|
<div className="border border-[#DBDBDB77] rounded my-5"></div> |
|
|
|