mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
restore background color changing
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,8 +11,8 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||||
<title>Roomba Rover</title>
|
<title>Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-DnBbljZg.js"></script>
|
<script type="module" crossorigin src="/assets/index-BXWYmEhc.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-DoX5VrTO.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-DB8kOgVk.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ function ManualDockAssistOverlay({ mobileHud = false }) {
|
|||||||
if (!visible) return null;
|
if (!visible) return null;
|
||||||
const toneClass =
|
const toneClass =
|
||||||
statusTone === 'good'
|
statusTone === 'good'
|
||||||
? 'border-emerald-200/85 text-emerald-50'
|
? 'border-emerald-200/90 bg-emerald-900/90 text-emerald-50'
|
||||||
: statusTone === 'warn'
|
: statusTone === 'warn'
|
||||||
? 'border-amber-200/85 text-amber-50'
|
? 'border-amber-200/90 bg-amber-900/90 text-amber-50'
|
||||||
: 'border-indigo-200/85 text-indigo-50';
|
: 'border-indigo-200/90 bg-indigo-900/90 text-indigo-50';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pointer-events-none absolute inset-0">
|
<div className="pointer-events-none absolute inset-0">
|
||||||
@@ -58,7 +58,7 @@ function ManualDockAssistOverlay({ mobileHud = false }) {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div
|
<div
|
||||||
className={`absolute right-2 top-1/2 -translate-y-1/2 rounded-lg border bg-black/90 px-2 py-1 font-semibold shadow-lg ${toneClass} ${
|
className={`absolute right-2 top-1/2 -translate-y-1/2 rounded-lg border px-2 py-1 font-semibold shadow-lg ${toneClass} ${
|
||||||
mobileHud ? 'text-[0.65rem]' : 'text-xs'
|
mobileHud ? 'text-[0.65rem]' : 'text-xs'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user