-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
375dd00
commit 3d9deab
Showing
1 changed file
with
133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
/* Container und Grundlayout */ | ||
.error-container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-color: #f8d7da; /* Rot bleibt passend für Fehlermeldungen */ | ||
font-family: Arial, sans-serif; | ||
padding: 20px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.error-content { | ||
display: flex; | ||
flex-direction: row; | ||
gap: 40px; | ||
background-color: #fff; | ||
padding: 40px; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | ||
margin: 20px; | ||
height: auto; | ||
transition: height 0.3s ease; | ||
max-width: 100%; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Nachrichtensektion */ | ||
.error-message { | ||
flex: 1; | ||
color: #1b4485; /* Hauptfarbe: Dunkelblau */ | ||
text-align: left; | ||
} | ||
|
||
.error-details h1 { | ||
font-size: 2.5em; | ||
margin-bottom: 20px; | ||
color: #1b4485; /* Hauptfarbe: Dunkelblau */ | ||
} | ||
|
||
.error-message h2 { | ||
font-size: 2em; | ||
color: #dc3545; /* Passendes Rot für Fehlermeldungen */ | ||
margin-bottom: 10px; | ||
} | ||
|
||
.error-message b { | ||
font-size: 1.5em; | ||
margin-bottom: 20px; | ||
display: block; | ||
} | ||
|
||
.error-content p { | ||
font-size: 1.2em; | ||
margin-bottom: 20px; | ||
} | ||
|
||
/* Button */ | ||
.error-button { | ||
display: inline-block; | ||
padding: 12px 24px; | ||
background-color: #1b4485; /* Akzentfarbe: Orange */ | ||
color: white; | ||
text-decoration: none; | ||
font-size: 1.2em; | ||
border-radius: 5px; | ||
transition: background-color 0.3s ease; | ||
cursor: pointer; | ||
} | ||
|
||
.error-button:hover { | ||
background-color: #d87c1a; /* Dunkleres Orange für den Hover-Effekt */ | ||
} | ||
|
||
/* Detailbereich */ | ||
.error-details { | ||
flex: 1; | ||
} | ||
|
||
.error-accordion summary { | ||
font-size: 1.2em; | ||
cursor: pointer; | ||
padding: 10px; | ||
/* background-color: #1b4485; Akzentfarbe: Orange */ | ||
border-radius: 5px; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
color: #1b4485; | ||
user-select: none; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.error-stacktrace { | ||
background-color: #f8d7da; /* Passend zur Fehlermeldung */ | ||
border: 1px solid #f5c6cb; | ||
padding: 20px; | ||
white-space: pre-wrap; | ||
word-break: break-word; | ||
max-width: 100%; | ||
overflow-x: auto; | ||
border-radius: 5px; | ||
animation: slide-down 0.5s ease; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.error-image { | ||
width: 100px; | ||
margin-bottom: 10px; | ||
filter: blur(5px); | ||
} | ||
|
||
@keyframes slide-down { | ||
from { | ||
max-height: 0; | ||
opacity: 0; | ||
} | ||
to { | ||
max-height: 1000px; | ||
opacity: 1; | ||
} | ||
} | ||
|
||
/* Responsive Design */ | ||
@media (max-width: 768px) { | ||
.error-container { | ||
padding: 0px; | ||
} | ||
.error-content { | ||
flex-direction: column; | ||
margin: 0px; | ||
height: 100%; | ||
} | ||
} |