Skip to content

Commit 7273d52

Browse files
stop button red bg
1 parent e05e381 commit 7273d52

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/Legend.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function Legend({
158158
</label>
159159
<button
160160
disabled={!config?.monitorUISettings?.connected}
161-
className="pause-button"
161+
className={`pause-button ${pause ? "paused" : ""}`}
162162
title={
163163
config?.monitorUISettings?.connected
164164
? undefined

src/index.scss

+8
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,14 @@ body {
228228
text-align: center;
229229
}
230230

231+
.pause-button:not(.paused) {
232+
background-color: $notifyerror;
233+
234+
&:hover {
235+
background-color: darken($notifyerror, 10);
236+
}
237+
}
238+
231239
.clear-button {
232240
border: none;
233241
background: none;

0 commit comments

Comments
 (0)