Added functionality to all pages
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/* theme.css */
|
||||
:root {
|
||||
--bg: #111827;
|
||||
--card: #1f2937;
|
||||
@@ -18,19 +17,20 @@
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
body:not(.dashboard-layout) {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
/* Gemeinsames Card-Layout für Home, Login, Register und 404 */
|
||||
.card {
|
||||
width: 100%;
|
||||
max-width: 400px;
|
||||
@@ -55,7 +55,6 @@ body {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Button & Link Standard-Skins */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
@@ -95,7 +94,6 @@ body {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
/* Formular-Elemente */
|
||||
.form-group {
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
@@ -147,7 +145,6 @@ input::placeholder {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Feedback-Boxen */
|
||||
.message {
|
||||
display: none;
|
||||
margin-top: 1.25rem;
|
||||
@@ -168,4 +165,72 @@ input::placeholder {
|
||||
background: rgba(16, 185, 129, 0.1);
|
||||
border: 1px solid rgba(16, 185, 129, 0.2);
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(17, 24, 39, 0.7);
|
||||
backdrop-filter: blur(4px);
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.modal.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
|
||||
position: relative;
|
||||
transform: translateY(20px);
|
||||
opacity: 0;
|
||||
animation: modalSlideIn 0.3s forwards ease-out;
|
||||
}
|
||||
|
||||
@keyframes modalSlideIn {
|
||||
to {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-content h2 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.button-group {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.danger-btn {
|
||||
background: rgba(239, 68, 68, 0.1) !important;
|
||||
color: var(--error) !important;
|
||||
border: 1px solid rgba(239, 68, 68, 0.2) !important;
|
||||
}
|
||||
|
||||
.danger-btn:hover {
|
||||
background: var(--error) !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.table-loader {
|
||||
padding: 3rem;
|
||||
text-align: center;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
Reference in New Issue
Block a user