mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-14 16:01:13 +03:00
more unsaved color tweaks
This commit is contained in:
parent
eec37e2e19
commit
4b84504da4
@ -1516,7 +1516,7 @@ export default function Settings() {
|
|||||||
<div className="sticky bottom-0 z-50 mt-2 bg-background p-4">
|
<div className="sticky bottom-0 z-50 mt-2 bg-background p-4">
|
||||||
<div className="flex flex-col items-center gap-2">
|
<div className="flex flex-col items-center gap-2">
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="text-sm text-danger">
|
<span className="text-sm text-unsaved">
|
||||||
{t("unsavedChanges", {
|
{t("unsavedChanges", {
|
||||||
ns: "views/settings",
|
ns: "views/settings",
|
||||||
defaultValue: "You have unsaved changes",
|
defaultValue: "You have unsaved changes",
|
||||||
|
|||||||
@ -212,7 +212,7 @@ export function SingleSectionPage({
|
|||||||
{sectionStatus.hasChanges && (
|
{sectionStatus.hasChanges && (
|
||||||
<Badge
|
<Badge
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
className="cursor-default bg-danger text-xs text-white hover:bg-danger"
|
className="cursor-default bg-unsaved text-xs text-black hover:bg-unsaved"
|
||||||
>
|
>
|
||||||
{t("button.modified", {
|
{t("button.modified", {
|
||||||
ns: "common",
|
ns: "common",
|
||||||
@ -250,7 +250,7 @@ export function SingleSectionPage({
|
|||||||
{sectionStatus.hasChanges && (
|
{sectionStatus.hasChanges && (
|
||||||
<Badge
|
<Badge
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
className="cursor-default bg-danger text-xs text-white hover:bg-danger"
|
className="cursor-default bg-unsaved text-xs text-black hover:bg-unsaved"
|
||||||
>
|
>
|
||||||
{t("button.modified", { ns: "common", defaultValue: "Modified" })}
|
{t("button.modified", { ns: "common", defaultValue: "Modified" })}
|
||||||
</Badge>
|
</Badge>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user