From 175ae7a58bc6e10673f19ef33e9d15a9b91b03a0 Mon Sep 17 00:00:00 2001 From: vuko Date: Tue, 24 Nov 2020 16:54:26 +0100 Subject: [PATCH] add light-hidden class --- lights_web/static/index.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lights_web/static/index.html b/lights_web/static/index.html index 455da48..69b9db7 100644 --- a/lights_web/static/index.html +++ b/lights_web/static/index.html @@ -23,11 +23,16 @@ --color-off: var(--color-p-2); } - .light-on, .light-off, .light-disabled { + .light-on, .light-off, .light-disabled, .light-hidden { stroke-width: 0.07; stroke: var(--color-p-0); } + .light-hidden { + fill: var(--color-off); + visibility: hidden; + } + .light-on { fill: var(--color-on); cursor: pointer; @@ -90,6 +95,7 @@