From 68881f008dcb8815877c8cbf434ec1151ea87326 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 5 Dec 2023 15:13:52 +0100 Subject: [PATCH] button to close / open / enlarge console --- templates/UPlanetSector/index.html | 51 ++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/templates/UPlanetSector/index.html b/templates/UPlanetSector/index.html index b1fda8b2..49a84066 100644 --- a/templates/UPlanetSector/index.html +++ b/templates/UPlanetSector/index.html @@ -121,7 +121,7 @@ #console { visibility: hidden; - background: rgba(0, 0, 0, 0.9); /* Adjust the background color and opacity as needed */ + background: rgba(0, 0, 0, 0.9); color: white; width: 570px; height: 480px; @@ -130,12 +130,33 @@ left: 0; padding: 5px; box-sizing: border-box; + z-index: 1000; /* Ensure the console appears above other elements */ } +#toggleConsoleButton { + position: fixed; + top: 10px; + left: 10px; + cursor: pointer; +} + +#fullscreenButton { + position: fixed; + top: 10px; + left: 70px; + cursor: pointer; +} + +iframe { + display: block; +} + + +
@@ -164,9 +185,35 @@
O __ TW _ZONE_ __ TW _UPZONE_ - + +
+ + + +