From 6027002ff1398a1cb3bb55d4994e4615efded2c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 Mar 2024 22:36:03 +0100 Subject: [PATCH] refactor(ui): cleanup CSS styling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/views/ChargingStationsView.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index 1e8762f6..8e7611e7 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -60,8 +60,8 @@ :off="() => stopSimulator()" :class=" state.simulatorState?.started === true - ? 'simulator-button-stop' - : 'simulator-button-start' + ? 'simulator-stop-button' + : 'simulator-start-button' " > {{ state.simulatorState?.started === true ? 'Stop' : 'Start' }} Simulator @@ -304,12 +304,12 @@ const stopSimulator = (): void => { flex-direction: row; } -.simulator-button-start { +.simulator-start-button { color: ivory; background-color: green; } -.simulator-button-stop { +.simulator-stop-button { color: ivory; background-color: red; } -- 2.34.1