From 36495fca34fbf5ab0f4a77a0ca9b0f0d545fa6d5 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Thu, 5 Oct 2023 15:57:23 -0700 Subject: [PATCH] Change style of button when clicked Summary: Change style of the button once disabled. Reviewed By: antonk52 Differential Revision: D49960254 fbshipit-source-id: 048fc3b8cc78d7f2a5b167bee30d664344cbe90d --- desktop/static/offline.html | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/desktop/static/offline.html b/desktop/static/offline.html index 075478aad..975c29049 100644 --- a/desktop/static/offline.html +++ b/desktop/static/offline.html @@ -85,6 +85,12 @@ background-color: #722ed1; } + input[type="submit"]:disabled { + background-color: gray; + color: lightgray; + cursor: not-allowed; + } + @@ -94,8 +100,8 @@ Flipper is not running in the background

It can be started by clicking the button below.

-
- + +

@@ -117,6 +123,24 @@