Added pulse dot effect to the rest of monitor pages
This commit is contained in:
1 parent
122d9d8f56
commit
35ae180865
4 files changed
+86
-14
No files matched your search
@@ -168,8 +168,34 @@ const PageSpeedConfigure = () => {
|
||||
flex={1}
|
||||
gap={theme.gap.large}
|
||||
>
|
||||
<Stack direction="row" gap={theme.gap.small}>
|
||||
{monitor?.status ? <GreenCheck /> : <RedCheck />}
|
||||
<Stack direction="row" gap={theme.gap.xs}>
|
||||
<Stack
|
||||
width={theme.gap.large}
|
||||
height={theme.gap.large}
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
>
|
||||
<Box
|
||||
width="14px"
|
||||
height="14px"
|
||||
sx={{
|
||||
position: "relative",
|
||||
backgroundColor: monitor?.status
|
||||
? theme.label.up.dotColor
|
||||
: theme.label.down.dotColor,
|
||||
borderRadius: "50%",
|
||||
"&::before": {
|
||||
content: `""`,
|
||||
position: "absolute",
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
backgroundColor: "inherit",
|
||||
borderRadius: "50%",
|
||||
animation: "ripple 1.8s ease-out infinite",
|
||||
},
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
<Box>
|
||||
<Typography
|
||||
component="h1"
|
||||
|
||||
Reference in new issue
Block a user