diff --git a/src/components/addServerDialog/index.tsx b/src/components/addServerDialog/index.tsx
index ea4bf36..c8e42b5 100644
--- a/src/components/addServerDialog/index.tsx
+++ b/src/components/addServerDialog/index.tsx
@@ -1,17 +1,17 @@
-import { setServer } from "@/utils/storage/servers";
-import { jellyfin } from "@/utils/store/api";
import { LoadingButton } from "@mui/lab";
import {
+ Box,
Button,
Dialog,
- DialogActions,
- DialogContent,
- DialogTitle,
- TextField,
+ InputBase,
+ Stack,
+ Typography,
} from "@mui/material";
import { useMutation } from "@tanstack/react-query";
import { enqueueSnackbar } from "notistack";
import React, { useState } from "react";
+import { setServer } from "@/utils/storage/servers";
+import { jellyfin } from "@/utils/store/api";
type AddServerDialogProps = {
open: boolean;
@@ -64,72 +64,98 @@ export default function AddServerDialog(props: AddServerDialogProps) {
return (
);
}
\ No newline at end of file
diff --git a/src/components/appBar/appBar.scss b/src/components/appBar/appBar.scss
index c99f72c..460c333 100644
--- a/src/components/appBar/appBar.scss
+++ b/src/components/appBar/appBar.scss
@@ -16,15 +16,20 @@
&::after {
content: "";
position: absolute;
- backdrop-filter: blur(40px);
inset: -0.35em;
pointer-events: none;
border-radius: inherit;
- box-shadow: 0 0 25px rgb(0 0 0 / 0.45);
- background: rgb(0 0 0 / 0.4);
+
+ // Glass styling matching Search Dialog
+ background-color: rgba(20, 20, 30, 0.7);
+ backdrop-filter: blur(24px) saturate(180%);
+ background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
+
opacity: 0;
z-index: -1;
- transition: opacity $transition-time-fast;
+ transition: all $transition-time-fast;
}
}
diff --git a/src/components/appBar/appBar.tsx b/src/components/appBar/appBar.tsx
index 72d2bda..61dc733 100644
--- a/src/components/appBar/appBar.tsx
+++ b/src/components/appBar/appBar.tsx
@@ -130,11 +130,11 @@ export const AppBar = () => {
>
- menu
+ menu
- {
}
>
home
-
+
- search
+ search
- favorite
+ favorite
diff --git a/src/components/buttons/likeButton.tsx b/src/components/buttons/likeButton.tsx
index 593dde7..ce06097 100644
--- a/src/components/buttons/likeButton.tsx
+++ b/src/components/buttons/likeButton.tsx
@@ -1,13 +1,11 @@
-import React from "react";
-
-import IconButton from "@mui/material/IconButton";
-
-import { useApiInContext } from "@/utils/store/api";
import type { UserItemDataDto } from "@jellyfin/sdk/lib/generated-client";
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
import { pink } from "@mui/material/colors";
+import IconButton from "@mui/material/IconButton";
import { useMutation, useQueryClient } from "@tanstack/react-query";
import { useSnackbar } from "notistack";
+import React from "react";
+import { useApiInContext } from "@/utils/store/api";
export default function LikeButton({
itemId,
@@ -78,24 +76,24 @@ export default function LikeButton({
transition: "opacity 250ms",
}}
>
-
favorite
-
+
);
}
diff --git a/src/components/buttons/playButton.tsx b/src/components/buttons/playButton.tsx
index 7eaf222..679e7a7 100644
--- a/src/components/buttons/playButton.tsx
+++ b/src/components/buttons/playButton.tsx
@@ -263,14 +263,14 @@ const PlayButton = ({
}
{...buttonProps}
>
-
play_arrow
-
+
);
}
@@ -295,7 +295,7 @@ const PlayButton = ({
}
}}
startIcon={
-
play_arrow
-
+
}
{...buttonProps}
sx={{
@@ -384,7 +384,7 @@ const PlayButton = ({
item.Type === "Episode" ? handleClick(e, item.Id) : handleClick(e)
}
startIcon={
-
play_arrow
-
+
}
{...buttonProps}
sx={{
diff --git a/src/components/buttons/queueButton.tsx b/src/components/buttons/queueButton.tsx
index 35f8a5e..5da32d9 100644
--- a/src/components/buttons/queueButton.tsx
+++ b/src/components/buttons/queueButton.tsx
@@ -160,13 +160,21 @@ const QueueButton = () => {
open={open}
onClose={() => setOpen(false)}
PaperProps={{
+ className: "glass",
sx: {
width: 450,
maxWidth: "100%",
display: "flex",
flexDirection: "column",
- bgcolor: "background.default",
- backgroundImage: "none",
+ borderLeft: "1px solid rgba(255, 255, 255, 0.08)",
+ },
+ }}
+ ModalProps={{
+ BackdropProps: {
+ sx: {
+ backgroundColor: "rgba(0, 0, 0, 0.2)",
+ backdropFilter: "blur(4px)",
+ },
},
}}
>
@@ -179,9 +187,10 @@ const QueueButton = () => {
position: "sticky",
top: 0,
zIndex: 20,
- bgcolor: "background.default",
borderBottom: "1px solid",
- borderColor: "divider",
+ borderColor: "rgba(255, 255, 255, 0.08)",
+ backgroundColor: "rgba(20, 20, 30, 0.4)",
+ backdropFilter: "blur(12px)",
}}
>
@@ -194,7 +203,7 @@ const QueueButton = () => {
sx={{
ml: 1,
fontWeight: 600,
- bgcolor: "action.hover",
+ bgcolor: "rgba(255, 255, 255, 0.08)",
px: 1,
py: 0.5,
borderRadius: 2,
diff --git a/src/components/buttons/quickConnectButton.tsx b/src/components/buttons/quickConnectButton.tsx
index ed8774a..aa9a101 100644
--- a/src/components/buttons/quickConnectButton.tsx
+++ b/src/components/buttons/quickConnectButton.tsx
@@ -1,6 +1,3 @@
-import useInterval from "@/utils/hooks/useInterval";
-import { saveUser } from "@/utils/storage/user";
-import { useApiInContext } from "@/utils/store/api";
import { getQuickConnectApi } from "@jellyfin/sdk/lib/utils/api/quick-connect-api";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import { LoadingButton, type LoadingButtonProps } from "@mui/lab";
@@ -22,6 +19,9 @@ import { useNavigate } from "@tanstack/react-router";
import { writeText } from "@tauri-apps/plugin-clipboard-manager";
import { useSnackbar } from "notistack";
import React, { useCallback, useState } from "react";
+import useInterval from "@/utils/hooks/useInterval";
+import { saveUser } from "@/utils/storage/user";
+import { useApiInContext } from "@/utils/store/api";
const Transition = React.forwardRef(function Transition(
props: TransitionProps & {
@@ -185,6 +185,7 @@ const QuickConnectButton = (props: LoadingButtonProps) => {
fullWidth
maxWidth="xs"
TransitionComponent={Transition}
+ PaperProps={{ className: "glass", sx: { borderRadius: "24px" } }}
>
{
fullWidth
open={dialog}
PaperProps={{
+ className: "glass",
style: {
overflow: "hidden",
},
diff --git a/src/components/card/card.scss b/src/components/card/card.scss
index aa280a7..109601e 100644
--- a/src/components/card/card.scss
+++ b/src/components/card/card.scss
@@ -82,12 +82,13 @@
top: 0;
z-index: 10;
opacity: 0;
- transition: opacity $transition-time-default;
+ transition: all $transition-time-default;
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 0.5em;
- background: rgb(0 0 0 / 0.6);
+ background: rgba(20, 20, 30, 0.6);
+ backdrop-filter: blur(12px);
}
&:hover,
&:focus,
diff --git a/src/components/filtersDialog/index.tsx b/src/components/filtersDialog/index.tsx
index 2f2becd..3d8fcfd 100644
--- a/src/components/filtersDialog/index.tsx
+++ b/src/components/filtersDialog/index.tsx
@@ -164,9 +164,19 @@ export const FiltersDialog: React.FC = React.memo(
const restoreGenres = () => setLocalGenreIds(initialGenres);
return (
-