Merge branch 'dev' into '50-lerninhalte-interface'

# Conflicts:
#   webseite/topic.php
This commit is contained in:
Matthias Grief
2025-01-03 19:41:37 +01:00
16 changed files with 360 additions and 12 deletions

View File

@@ -282,3 +282,67 @@ body {
border-radius: 8px;
text-align: center;
}
/* 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;
}