diff --git a/web/src/components/Sidebar.tsx b/web/src/components/Sidebar.tsx index 15367acfb..a855dbdc0 100644 --- a/web/src/components/Sidebar.tsx +++ b/web/src/components/Sidebar.tsx @@ -8,7 +8,6 @@ import SettingsNavItems from "./settings/SettingsNavItems"; import { Tooltip, TooltipContent, - TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; @@ -23,18 +22,16 @@ function Sidebar({ diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index c834faf35..6f4ea327a 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -151,9 +151,16 @@ export default function LivePlayer({ } else { player = ; } + // box - shadow: 0px 0px 10px 0px rgba(240, 62, 62, 1) inset; return ( -
+
{(showStillWithoutActivity == false || activeMotion || activeTracking) && player} @@ -188,14 +195,6 @@ export default function LivePlayer({
Sound
)} - - - -
Tracking
-
diff --git a/web/src/components/settings/SettingsNavItems.tsx b/web/src/components/settings/SettingsNavItems.tsx index 4e908d18e..317424355 100644 --- a/web/src/components/settings/SettingsNavItems.tsx +++ b/web/src/components/settings/SettingsNavItems.tsx @@ -55,7 +55,6 @@ import { import { Tooltip, TooltipContent, - TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; import ActivityIndicator from "../ui/activity-indicator"; @@ -98,164 +97,160 @@ export default function SettingsNavItems({ className }: SettingsNavItemsProps) { return ( <>
- - - - - - - - -

Settings

-
-
-
- - System - - - - - - Storage - - - - - - System metrics - - - - - - System logs - - - - - Configuration - - - - - - - Settings - - - - - - Configuration editor - - - - Appearance - - - - - - Dark Mode - - - - setTheme("light")}> - {theme === "light" ? ( - <> - - Light - - ) : ( - Light - )} - - setTheme("dark")}> - {theme === "dark" ? ( - <> - - Dark - - ) : ( - Dark - )} - - setTheme("system")}> - {theme === "system" ? ( - <> - - System - - ) : ( - System - )} - - - - - - - - Theme - - - - {colorSchemes.map((scheme) => ( - setColorScheme(scheme)} - > - {scheme === colorScheme ? ( - <> - - {friendlyColorSchemeName(scheme)} - - ) : ( - - {friendlyColorSchemeName(scheme)} - - )} - - ))} - - - - - Help - - + + + + + + + +

Settings

+
+
+
+ + System + + + - - Documentation + + Storage -
- + + - - GitHub + + System metrics - - - setRestartDialogOpen(true)}> - - Restart Frigate + + + + + System logs + + + + + Configuration + + + + + + + Settings + + + + + + Configuration editor + + + Appearance + + + + + Dark Mode + + + + setTheme("light")}> + {theme === "light" ? ( + <> + + Light + + ) : ( + Light + )} + + setTheme("dark")}> + {theme === "dark" ? ( + <> + + Dark + + ) : ( + Dark + )} + + setTheme("system")}> + {theme === "system" ? ( + <> + + System + + ) : ( + System + )} + + + + + + + + Theme + + + + {colorSchemes.map((scheme) => ( + setColorScheme(scheme)} + > + {scheme === colorScheme ? ( + <> + + {friendlyColorSchemeName(scheme)} + + ) : ( + + {friendlyColorSchemeName(scheme)} + + )} + + ))} + + + + + Help + + + + + Documentation -
-
- - - - - -

Account

-
-
-
+ + + + + GitHub + + + + setRestartDialogOpen(true)}> + + Restart Frigate + + + + + + + + +

Account

+
+
{restartDialogOpen && ( - - {children} - + + + {children} + + diff --git a/web/tailwind.config.js b/web/tailwind.config.js index bdf47d828..f7c8c3155 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -24,13 +24,8 @@ module.exports = { "accordion-up": "accordion-up 0.2s ease-out", }, aspectRatio: { - "wide": "32 / 9", - "tall": "9 / 16", - }, - borderRadius: { - lg: "var(--radius)", - md: "calc(var(--radius) - 2px)", - sm: "calc(var(--radius) - 4px)", + wide: "32 / 9", + tall: "9 / 16", }, colors: { border: "hsl(var(--border))",