Small styling changes
This commit is contained in:
1 parent
fa766d259b
commit
a0f1b5bee8
7 files changed
+20
-21
No files matched your search
@@ -148,7 +148,7 @@
|
|||||||
height: 22px;
|
height: 22px;
|
||||||
}
|
}
|
||||||
.MuiTablePagination-root svg path {
|
.MuiTablePagination-root svg path {
|
||||||
stroke: var(--env-var-color-5);
|
stroke: var(--env-var-color-2);
|
||||||
stroke-width: 1.3;
|
stroke-width: 1.3;
|
||||||
}
|
}
|
||||||
.MuiTablePagination-root .MuiSelect-icon {
|
.MuiTablePagination-root .MuiSelect-icon {
|
||||||
@@ -175,7 +175,8 @@
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
.pagination-dropdown li {
|
.pagination-dropdown li,
|
||||||
|
body:has(.pagination-dropdown) p:has(+ .MuiTablePagination-root) {
|
||||||
font-size: var(--env-var-font-size-medium);
|
font-size: var(--env-var-font-size-medium);
|
||||||
color: var(--env-var-color-2);
|
color: var(--env-var-color-2);
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ const BasicTable = ({ data, paginated, reversed, rows = 5 }) => {
|
|||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
<Stack direction="row" alignItems="center" justifyContent="space-between">
|
{paginated && <Stack direction="row" alignItems="center" justifyContent="space-between">
|
||||||
<Typography sx={{ opacity: 0.7 }}>
|
<Typography sx={{ opacity: 0.7 }}>
|
||||||
Showing {getRange()} of {data.rows.length} monitor(s)
|
Showing {getRange()} of {data.rows.length} monitor(s)
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -254,7 +254,7 @@ const BasicTable = ({ data, paginated, reversed, rows = 5 }) => {
|
|||||||
}}
|
}}
|
||||||
sx={{ mt: theme.gap.medium }}
|
sx={{ mt: theme.gap.medium }}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ aside
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-left: solid 1px var(--env-var-color-5);
|
border-left: solid 1px var(--env-var-color-5);
|
||||||
opacity: 0.3;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
aside
|
aside
|
||||||
.MuiCollapse-wrapperInner
|
.MuiCollapse-wrapperInner
|
||||||
@@ -75,13 +75,13 @@ aside .MuiList-root .MuiListItemText-root + svg {
|
|||||||
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root::after {
|
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -7px;
|
left: -8px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
height: 1px;
|
transform: translateY(-50%);
|
||||||
width: 6px;
|
height: 3px;
|
||||||
|
width: 3px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: var(--env-var-color-5);
|
background-color: #d6d9dd;
|
||||||
opacity: 0.3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
|
|||||||
@@ -322,13 +322,13 @@ const ProfilePanel = () => {
|
|||||||
<Divider aria-hidden="true" />
|
<Divider aria-hidden="true" />
|
||||||
<form className="delete-profile-form" noValidate spellCheck="false">
|
<form className="delete-profile-form" noValidate spellCheck="false">
|
||||||
<div className="delete-profile-form__wrapper">
|
<div className="delete-profile-form__wrapper">
|
||||||
<Stack direction="column" gap="15px">
|
<Stack direction="column" gap="8px">
|
||||||
<Typography component="h1">Delete account</Typography>
|
<Typography component="h1">Delete account</Typography>
|
||||||
<Typography component="p">
|
<Typography component="p">
|
||||||
Note that deleting your account will remove all data from our
|
Note that deleting your account will remove all data from our
|
||||||
system. This is permanent and non-recoverable.
|
system. This is permanent and non-recoverable.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Box sx={{ mt: theme.spacing(1) }}>
|
<Box sx={{ mt: theme.spacing(2) }}>
|
||||||
<Button
|
<Button
|
||||||
level="error"
|
level="error"
|
||||||
label="Delete account"
|
label="Delete account"
|
||||||
@@ -399,7 +399,7 @@ const ProfilePanel = () => {
|
|||||||
top: "50%",
|
top: "50%",
|
||||||
left: "50%",
|
left: "50%",
|
||||||
transform: "translate(-50%, -50%)",
|
transform: "translate(-50%, -50%)",
|
||||||
width: 400,
|
width: 450,
|
||||||
bgcolor: "white",
|
bgcolor: "white",
|
||||||
border: "solid 1px #f2f2f2",
|
border: "solid 1px #f2f2f2",
|
||||||
borderRadius: `${theme.shape.borderRadius}px`,
|
borderRadius: `${theme.shape.borderRadius}px`,
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { useState } from "react";
|
import { useNavigate } from "react-router";
|
||||||
|
import { useSelector } from "react-redux";
|
||||||
import { Box, Tab, useTheme } from "@mui/material";
|
import { Box, Tab, useTheme } from "@mui/material";
|
||||||
import TabContext from "@mui/lab/TabContext";
|
import TabContext from "@mui/lab/TabContext";
|
||||||
import TabList from "@mui/lab/TabList";
|
import TabList from "@mui/lab/TabList";
|
||||||
import "./index.css";
|
|
||||||
import ProfilePanel from "../../Components/TabPanels/Account/ProfilePanel";
|
import ProfilePanel from "../../Components/TabPanels/Account/ProfilePanel";
|
||||||
import PasswordPanel from "../../Components/TabPanels/Account/PasswordPanel";
|
import PasswordPanel from "../../Components/TabPanels/Account/PasswordPanel";
|
||||||
import TeamPanel from "../../Components/TabPanels/Account/TeamPanel";
|
import TeamPanel from "../../Components/TabPanels/Account/TeamPanel";
|
||||||
import { useNavigate } from "react-router";
|
import "./index.css";
|
||||||
import { useSelector } from "react-redux";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Account component renders a settings page with tabs for Profile, Password, and Team settings.
|
* Account component renders a settings page with tabs for Profile, Password, and Team settings.
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
}
|
}
|
||||||
.monitors p.MuiTypography-root {
|
.monitors p.MuiTypography-root {
|
||||||
font-size: var(--env-var-font-size-medium);
|
font-size: var(--env-var-font-size-medium);
|
||||||
}
|
|
||||||
.monitors p.MuiTypography-root {
|
|
||||||
color: var(--env-var-color-5);
|
color: var(--env-var-color-5);
|
||||||
}
|
}
|
||||||
.monitors .MuiStack-root > button:not(.MuiIconButton-root) {
|
.monitors .MuiStack-root > button:not(.MuiIconButton-root) {
|
||||||
|
|||||||
@@ -376,7 +376,7 @@ const Monitors = () => {
|
|||||||
let loading = monitorState.isLoading && monitorState.monitors.length === 0;
|
let loading = monitorState.isLoading && monitorState.monitors.length === 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className="monitors" pt={theme.gap.xl} gap={theme.gap.large}>
|
<Stack className="monitors" gap={theme.gap.large}>
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<SkeletonLayout />
|
<SkeletonLayout />
|
||||||
) : (
|
) : (
|
||||||
@@ -395,10 +395,11 @@ const Monitors = () => {
|
|||||||
{monitorState.monitors?.length !== 0 && (
|
{monitorState.monitors?.length !== 0 && (
|
||||||
<Button
|
<Button
|
||||||
level="primary"
|
level="primary"
|
||||||
label="Create new monitor"
|
label="Create monitor"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
navigate("/monitors/create");
|
navigate("/monitors/create");
|
||||||
}}
|
}}
|
||||||
|
sx={{ fontWeight: 500 }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in new issue
Block a user