diff --git a/app/component/ProgressChange.js b/app/component/ProgressChange.js new file mode 100644 index 0000000..bb22d36 --- /dev/null +++ b/app/component/ProgressChange.js @@ -0,0 +1,41 @@ +import { Slider } from "@mui/material" +import { useState } from "react" + +function ProgressChange({ data }) { + + const [value, setValue] = useState(70) + + return ( +
  • +

    {data.label}

    + setValue(e.target.value)} + sx={{ + '& .MuiSlider-rail': { + background: '#E8E8E8', + opacity: '100' + }, + '& .MuiSlider-track': { + background: '#05BA58', + border: 'none' + }, + '& .MuiSlider-thumb': { + marginRight: '-21px', + background: '#EBEBEB', + border: '1px solid #05BA58 !important' + }, + '& .MuiSlider-thumb.Mui-focusVisible, .MuiSlider-thumb:hover': { + boxShadow: 'none' + }, + }} + /> +

    + {value} +

    +
  • + ) +} + +export default ProgressChange \ No newline at end of file diff --git a/app/component/date/datePicker/index.js b/app/component/date/datePicker/index.js index b1f1728..971b5d4 100644 --- a/app/component/date/datePicker/index.js +++ b/app/component/date/datePicker/index.js @@ -4,6 +4,7 @@ import { useState } from 'react'; import { DatePicker as DatePickerJalali } from "jalaali-react-date-picker"; function DatePicker({ date, updateDate }) { + const [startDate, setStartDate] = useState(null); const [endDate, setEndDate] = useState(null); @@ -24,19 +25,20 @@ function DatePicker({ date, updateDate }) { }; return ( -
    +
    - +
    + +
    ); } diff --git a/app/component/date/dateTime/Hours.js b/app/component/date/dateTime/Hours.js index 7b60f1a..c498045 100644 --- a/app/component/date/dateTime/Hours.js +++ b/app/component/date/dateTime/Hours.js @@ -3,7 +3,7 @@ import { Button } from "@mui/material"; function Hours({ doctor, hour, setHour, value, nameHours }) { return (
    ) } diff --git a/app/globals.css b/app/globals.css index e4dc65a..be5435c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -301,8 +301,6 @@ html { } } - - /* Date Picker Style */ .panel-elevation { @@ -348,10 +346,6 @@ html { border-bottom: none !important; } -.day-label-bar-inner-rtl { - background: #FFF !important; -} - .day-label-bar-inner-rtl div { color: #6C757D !important; } @@ -391,4 +385,18 @@ html { border-radius: 50%; } +.day-label-bar-inner-rtl { + background: #FFF !important; +} + +@media (max-width: 1024px) { + + .day-label-bar-inner-rtl, + .panel-jalaali, + .panel-header-rtl, + .days-body { + background: #FAFAFA !important; + } +} + /* End Date Picker Style */ \ No newline at end of file diff --git a/components/account/detailDoctor/Detail.js b/components/account/detailDoctor/Detail.js index 48b0f48..93f8e74 100644 --- a/components/account/detailDoctor/Detail.js +++ b/components/account/detailDoctor/Detail.js @@ -7,53 +7,77 @@ import { Button } from "@mui/material" function Detail({ doctor }) { return ( -
    +
    - -