style: improve login notice ui
This commit is contained in:
1 file changed
+28
-3
@@ -43,6 +43,7 @@ import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice.js
|
|||||||
import { createApi, useApi } from "../../utils/store/api";
|
import { createApi, useApi } from "../../utils/store/api";
|
||||||
import "./login.module.scss";
|
import "./login.module.scss";
|
||||||
|
|
||||||
|
import { blue } from "@mui/material/colors";
|
||||||
import { setBackdrop } from "../../utils/store/backdrop.js";
|
import { setBackdrop } from "../../utils/store/backdrop.js";
|
||||||
|
|
||||||
export const LoginRoute = () => {
|
export const LoginRoute = () => {
|
||||||
@@ -938,9 +939,33 @@ export const UserLoginManual = () => {
|
|||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
<Grid sx={{ width: "100%" }}>
|
<Grid sx={{ width: "100%" }}>
|
||||||
<Typography variant="subtitle2">
|
<Paper
|
||||||
{server.isSuccess && server.data.LoginDisclaimer}
|
elevation={5}
|
||||||
</Typography>
|
style={{
|
||||||
|
marginTop: "1em",
|
||||||
|
padding: "1em",
|
||||||
|
borderRadius: "15px",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
className="flex flex-row flex-align-center"
|
||||||
|
style={{ gap: "0.5em", marginBottom: "0.5em" }}
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className="material-symbols-rounded"
|
||||||
|
style={{
|
||||||
|
color: blue[700],
|
||||||
|
"--fill": 1,
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
info
|
||||||
|
</span>
|
||||||
|
Notice
|
||||||
|
</div>
|
||||||
|
<Typography variant="subtitle2" style={{ opacity: 0.8 }}>
|
||||||
|
{server.isSuccess && server.data.LoginDisclaimer}
|
||||||
|
</Typography>
|
||||||
|
</Paper>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
Reference in new issue
Block a user