update style
This commit is contained in:
@@ -39,39 +39,30 @@ function AskForKeepData({ filterData, sortData, hideData, user_id, page_name, ta
|
|||||||
return (
|
return (
|
||||||
<Box sx={{ width: "100%" }}>
|
<Box sx={{ width: "100%" }}>
|
||||||
<Box sx={{ display: "flex", alignItems: "center", justifyContent: "space-between", mb: 1 }}>
|
<Box sx={{ display: "flex", alignItems: "center", justifyContent: "space-between", mb: 1 }}>
|
||||||
<Typography color="#155175" variant="subtitle1" sx={{ fontWeight: "500" }}>
|
<Typography color="primary.main" variant="subtitle1" sx={{ fontWeight: "500" }}>
|
||||||
ذخیره سازی تغییرات
|
ذخیره سازی تغییرات
|
||||||
</Typography>
|
</Typography>
|
||||||
<SaveIcon sx={{ color: "#155175" }} />
|
<SaveIcon sx={{ color: "primary.main" }} />
|
||||||
</Box>
|
</Box>
|
||||||
<Box sx={{ display: "flex", flexDirection: "column" }}>
|
<Box sx={{ display: "flex", flexDirection: "column" }}>
|
||||||
<Typography variant="caption">آیا مایل به ذخیره تغییر های اعمال شده برای دفعات بعد هستید؟</Typography>
|
<Typography variant="caption">آیا مایل به ذخیره تغییر های اعمال شده برای دفعات بعد هستید؟</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Box sx={{ display: "flex", gap: 1, mt: 1 }}>
|
<Box sx={{ display: "flex", gap: 1, mt: 2 }}>
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
onClick={handleDismiss}
|
size="small"
|
||||||
sx={{
|
|
||||||
backgroundColor: "#792626",
|
|
||||||
":hover": { backgroundColor: "#792626" },
|
|
||||||
boxShadow: "rgba(0, 0, 0, 0.23) 0px 6px 6px, rgba(0, 0, 0, 0.19) 10px 0px 20px",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
رد کردن
|
|
||||||
</Button>
|
|
||||||
<Button
|
|
||||||
variant="contained"
|
|
||||||
component="label"
|
|
||||||
endIcon={<DownloadIcon />}
|
endIcon={<DownloadIcon />}
|
||||||
onClick={onSaveFilter}
|
onClick={onSaveFilter}
|
||||||
sx={{
|
|
||||||
backgroundColor: "#155175",
|
|
||||||
":hover": { backgroundColor: "#155175" },
|
|
||||||
boxShadow: "rgba(0, 0, 0, 0.23) 0px 6px 6px, rgba(0, 0, 0, 0.19) 10px 0px 20px",
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
ذخیره
|
ذخیره
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="outlined"
|
||||||
|
size="small"
|
||||||
|
onClick={handleDismiss}
|
||||||
|
>
|
||||||
|
رد کردن
|
||||||
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user