From 4d7494341aaf970e599d1eb6f058bf9a077ac972 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 16 Sep 2022 19:35:45 +0200 Subject: Hide "Discard" card menu option unless you hold down shift. --- play.css | 1 + play.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/play.css b/play.css index c3bc2d2..6dbb9d0 100644 --- a/play.css +++ b/play.css @@ -166,6 +166,7 @@ aside { width: 220px; } #popup div.enabled { color: black; display: block; } #popup div.enabled:hover { background-color: black; color: white; } #popup div.always { display: block; } +body:not(.shift) #popup #menu_discard { display: none; } /* MAP */ diff --git a/play.html b/play.html index 088139e..845099a 100644 --- a/play.html +++ b/play.html @@ -23,7 +23,7 @@ - +
-- cgit v1.2.3