change design modal & components & home and login page
This commit is contained in:
@@ -25,6 +25,12 @@ function AutoCompleteSelect({ list, isError, updateData, name, label }) {
|
|||||||
"& .MuiInputBase-root": {
|
"& .MuiInputBase-root": {
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
padding: "0 !important",
|
padding: "0 !important",
|
||||||
|
height: {
|
||||||
|
xs: "43px !important",
|
||||||
|
sm: "43px !important",
|
||||||
|
md: "46px !important",
|
||||||
|
lg: "48px !important",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"& .MuiOutlinedInput-notchedOutline": {
|
"& .MuiOutlinedInput-notchedOutline": {
|
||||||
border: "1px solid #D7D7D7",
|
border: "1px solid #D7D7D7",
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
import { TextField } from "@mui/material";
|
import { TextField } from "@mui/material";
|
||||||
import { styleTextSelectRight } from "@/mui";
|
import { styleTextSelectRight } from "@/mui";
|
||||||
|
|
||||||
function Field({ title, type, isPlaceHolder }) {
|
function Field({
|
||||||
|
title,
|
||||||
|
type,
|
||||||
|
dir,
|
||||||
|
// isPlaceHolder
|
||||||
|
}) {
|
||||||
return (
|
return (
|
||||||
<TextField
|
<TextField
|
||||||
label={title}
|
label={title}
|
||||||
dir="rtl"
|
dir={dir || "rtl"}
|
||||||
type={type || "text"}
|
type={type || "text"}
|
||||||
className="!w-full !mx-auto !bg-[#FFF]"
|
className="!w-full !mx-auto !bg-[#FFF]"
|
||||||
sx={{
|
sx={{
|
||||||
@@ -18,7 +23,7 @@ function Field({ title, type, isPlaceHolder }) {
|
|||||||
"& input[type=number]": {
|
"& input[type=number]": {
|
||||||
MozAppearance: "textfield",
|
MozAppearance: "textfield",
|
||||||
},
|
},
|
||||||
"& .MuiFormLabel-root": { top: "-7px !important" },
|
// "& .MuiFormLabel-root": { top: "-7px !important" },
|
||||||
"& .MuiInputBase-input": { padding: "12.5px 14px" },
|
"& .MuiInputBase-input": { padding: "12.5px 14px" },
|
||||||
"& .MuiInputBase-root": { borderRadius: "6px !important" },
|
"& .MuiInputBase-root": { borderRadius: "6px !important" },
|
||||||
"& .MuiOutlinedInput-notchedOutline": {
|
"& .MuiOutlinedInput-notchedOutline": {
|
||||||
@@ -26,7 +31,7 @@ function Field({ title, type, isPlaceHolder }) {
|
|||||||
},
|
},
|
||||||
".Mui-focused": {
|
".Mui-focused": {
|
||||||
"& .MuiOutlinedInput-notchedOutline": {
|
"& .MuiOutlinedInput-notchedOutline": {
|
||||||
border: "1px solid #0FA1B3 !important",
|
border: "1px solid #5559CE !important",
|
||||||
transition: "0.5s all",
|
transition: "0.5s all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -285,6 +285,10 @@ html {
|
|||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.MuiModal-root div:nth-child(3) {
|
||||||
|
border-radius: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hidden Scroll */
|
/* Hidden Scroll */
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import FrequentSearches from "./FrequentSearches";
|
|||||||
function HomePage() {
|
function HomePage() {
|
||||||
return (
|
return (
|
||||||
<div className="bg-banner-home after:z-[2] !bg-bottom !bg-no-repeat !bg-cover md:!min-h-[115vh]">
|
<div className="bg-banner-home after:z-[2] !bg-bottom !bg-no-repeat !bg-cover md:!min-h-[115vh]">
|
||||||
<div className="padding-responsive z-20 min-h-screen py-[120px] flex items-center justify-center flex-col gap-[50px]">
|
<div className="padding-responsive z-20 min-h-screen py-[120px] flex items-center justify-center flex-col gap-[40px]">
|
||||||
<div className="">
|
<div className="">
|
||||||
<p className="text-[#F17732] text-center font-kalame text-[20px] sm:text-[24px] md:text-[28px] lg:text-[32px] font-bold">
|
<p className="text-[#F17732] text-center font-kalame text-[20px] sm:text-[24px] md:text-[28px] lg:text-[32px] font-bold">
|
||||||
با نوبت724
|
با نوبت724
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ function SearchBar() {
|
|||||||
variant="contained"
|
variant="contained"
|
||||||
className="
|
className="
|
||||||
!py-[4px] sm:!py-[7px] md:!py-[10px] lg:!py-[12px] !gap-3
|
!py-[4px] sm:!py-[7px] md:!py-[10px] lg:!py-[12px] !gap-3
|
||||||
!px-[4px] sm:!px-[8px] md:!px-[12px] lg:!px-[16px] !mt-[50px]
|
!px-[4px] sm:!px-[8px] md:!px-[12px] lg:!px-[16px] !mt-[22px] sm:!mt-[34px] md:!mt-[46px] lg:!mt-[60px]
|
||||||
!bg-[#FAFAFA] !transition-all !duration-500 !shadow-[0px_1px_24.8px_0px_rgba(204,_204,_204,_0.18)] w-full lg:w-fit
|
!bg-[#FAFAFA] !transition-all !duration-500 !shadow-[0px_1px_24.8px_0px_rgba(204,_204,_204,_0.18)] w-full lg:w-fit
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ function LogInPage({ setIsSendMsg, setStep }) {
|
|||||||
شماره همراه خود را وارد نمایید.
|
شماره همراه خود را وارد نمایید.
|
||||||
</p>
|
</p>
|
||||||
<div className="mt-[16px] sm:mt-[19px] md:mt-[22px] lg:mt-[24px] mb-[40px] sm:mb-[37px] md:mb-[36px] lg:mb-[32px]">
|
<div className="mt-[16px] sm:mt-[19px] md:mt-[22px] lg:mt-[24px] mb-[40px] sm:mb-[37px] md:mb-[36px] lg:mb-[32px]">
|
||||||
<Field type="number" title="شماره همراه" />
|
<Field type="number" title="شماره همراه" dir="ltr" />
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
fullWidth
|
fullWidth
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ function SetCodePage({ setIsSendMsg, link, setStep }) {
|
|||||||
</p>
|
</p>
|
||||||
<div className="mt-[26px] sm:mt-[28px] md:mt-[30px] lg:mt-[32px] mb-[56px] sm:mb-[47px] md:mb-[38px] lg:mb-[30px]">
|
<div className="mt-[26px] sm:mt-[28px] md:mt-[30px] lg:mt-[32px] mb-[56px] sm:mb-[47px] md:mb-[38px] lg:mb-[30px]">
|
||||||
<div
|
<div
|
||||||
className="w-full mb-[27px] flex items-center justify-center gap-2 sm:gap-6"
|
className="w-full mb-[27px] flex items-center justify-center gap-6 sm:gap-6"
|
||||||
dir="ltr"
|
dir="ltr"
|
||||||
>
|
>
|
||||||
<OTPForm handleOTP={handleOTP} />
|
<OTPForm handleOTP={handleOTP} />
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ function OTPForm({ handleOTP }) {
|
|||||||
return (
|
return (
|
||||||
<input
|
<input
|
||||||
value={code}
|
value={code}
|
||||||
|
type="number"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const value = e.target.value;
|
const value = e.target.value;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const about = ["سوالات متداول", "تماس با ما", "درباره
|
|||||||
function RegisterPage({ children }) {
|
function RegisterPage({ children }) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="flex padding-responsive items-center justify-start sm:justify-start pt-[32px]
|
className="flex padding-responsive items-center justify-center pt-[32px]
|
||||||
overflow-auto flex-col h-screen w-full bg-banner-stroke !bg-bottom !bg-no-repeat !bg-cover
|
overflow-auto flex-col h-screen w-full bg-banner-stroke !bg-bottom !bg-no-repeat !bg-cover
|
||||||
!pb-[calc(108px_+_40px)] md:!pb-[calc(111px_+_40px)]"
|
!pb-[calc(108px_+_40px)] md:!pb-[calc(111px_+_40px)]"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user