From 146b9e7d6f6a4fc12a538af4b0607ce43b11308a Mon Sep 17 00:00:00 2001
From: Cantuerk <21caog1bif@hft-stuttgart.de>
Date: Tue, 21 Jan 2025 22:15:49 +0000
Subject: [PATCH] Update public/style.css, public/ar_main.js

---
 public/ar_main.js | 13 +++++++++++++
 public/style.css  |  7 ++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/public/ar_main.js b/public/ar_main.js
index cef701e..d332749 100644
--- a/public/ar_main.js
+++ b/public/ar_main.js
@@ -125,6 +125,19 @@ function closeDynamicMenu() {
     dynamicMenu.style.display = "none";
 }
 
+function showInfoDialog(message) {
+    const infoDialog = document.getElementById("info-dialog");
+    const infoText = document.getElementById("info-text");
+
+    infoText.textContent = message; // Nachricht setzen
+    infoDialog.style.display = "flex";
+}
+
+function closeInfoDialog() {
+    const infoDialog = document.getElementById("info-dialog");
+    infoDialog.style.display = "none";
+}
+
 /* ========================= */
 /*     MODELL-HANDLING       */
 /* ========================= */
diff --git a/public/style.css b/public/style.css
index 00b625b..94b25b8 100644
--- a/public/style.css
+++ b/public/style.css
@@ -249,10 +249,9 @@ button:active {
 
 .control-button {
   flex: 0 0 auto;
-  width: 40px;
-  height: 40px;
   border: none;
   border-radius: 5px;
+  padding: 8px;
   background-color: #007BFF;
   cursor: pointer;
   transition: background-color 0.3s, transform 0.2s;
@@ -261,11 +260,9 @@ button:active {
 .control-button img {
   width: 40px;
   height: 40px;
-  padding: 8px;
-  object-fit: contain;
 }
 
 .control-button:active {
   background-color: #0056b3;
   transform: scale(0.95);
-}
+}
\ No newline at end of file
-- 
GitLab