From ae54f896d6786fe52568d2572b907488bf89fd27 Mon Sep 17 00:00:00 2001 From: Matthias Grief Date: Fri, 3 Jan 2025 19:40:36 +0100 Subject: [PATCH] Merge-Konflikte mit dev behoben --- webseite/assets/css/topic.css | 64 ++++++++++++++++++++++++++++++++++- webseite/topic.php | 1 + 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/webseite/assets/css/topic.css b/webseite/assets/css/topic.css index 1c9a1bf..a32e057 100644 --- a/webseite/assets/css/topic.css +++ b/webseite/assets/css/topic.css @@ -219,4 +219,66 @@ body { .content-text ol li { list-style-type: decimal; -} \ No newline at end of file +} + +/* Einzelne Toast Styles */ +.toast-content { + display: flex; + align-items: center; + border-radius: 12px; /* Abgerundete Ecken */ + padding: 20px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + min-width: 200px; + max-width: 80%; + transition: opacity 0.5s ease, transform 0.5s ease; + opacity: 0; + transform: translateY(-20px); +} + +/* Spezifische Klassen für verschiedene Toast-Typen */ +.toast-success { + background-color: #38a169; /* Grüner Hintergrund */ +} + +.toast-error { + background-color: #e53e3e; /* Roter Hintergrund */ +} + +.toast-info { + background-color: #4299e1; /* Blauer Hintergrund */ +} + +/* Sichtbarkeit */ +.toast-content.show { + opacity: 1; + transform: translateY(0); +} + +/* Icon Styling */ +.toast-icon { + font-size: 32px; /* Größeres Icon */ + margin-right: 20px; /* Abstand zwischen Icon und Text */ + color: white; /* Icons sollen immer weiß sein */ +} + +/* Nachrichten-Text Styling */ +.toast-message { + color: white; + font-size: 18px; /* Größere Schriftgröße */ +} + + +.task-container { + border-radius: 20px; + padding: 2rem; + margin-bottom: 2rem; + /*box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);*/ + box-shadow: 2px 4px 6px 2px rgba(0, 0, 0, 0.1); + transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); +} + +.variable-input{ + border: 2px solid; + border-radius: 8px; + text-align: center; +} diff --git a/webseite/topic.php b/webseite/topic.php index 2987008..de8f5a8 100644 --- a/webseite/topic.php +++ b/webseite/topic.php @@ -35,6 +35,7 @@ if (!isset($topicData)) { +