From 25747f3abd3ce953039757e0178b132580418afb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 21 Oct 2023 13:15:55 +0200 Subject: Use
to show/hide battle box contents! And now we don't need to allow user movement of the battle dialogs. --- public/common/columbia.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'public') diff --git a/public/common/columbia.css b/public/common/columbia.css index 36e34af..2c20d45 100644 --- a/public/common/columbia.css +++ b/public/common/columbia.css @@ -3,8 +3,6 @@ #battle { position: absolute; min-width: 524px; /* 6 blocks wide */ - left: 12px; - top: 12px; z-index: 50; box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5); background-color: white; @@ -25,11 +23,15 @@ line-height: 24px; min-height: 24px; font-weight: bold; - user-select: none; - cursor: move; text-align: center; - border-bottom: 1px solid black; overflow: hidden; + list-style: none; + cursor: s-resize; +} + +#battle[open] #battle_header { + cursor: n-resize; + border-bottom: 1px solid black; } #battle_message { -- cgit v1.2.3