:root { --bg: #1a1a1a; --bg-panel: #232323; --bg-panel-alt: #2e2e2e; --border: #3d3d3d; --text: #e8e8e8; --text-muted: #a0a0a0; --gold: #c9a227; --gold-hover: #e0b930; /* Farbe des Discord-Bots (Rand seiner Nachrichten) - auch in den Vorschauen auf der Website */ --bot-color: #206694; --danger: #d9534f; --success: #4caf50; --discord: #5865f2; --discord-hover: #4752c4; --sidebar-width: 260px; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5; } a { color: var(--gold); text-decoration: none; } a:hover { color: var(--gold-hover); text-decoration: underline; } .icon { flex-shrink: 0; } /* Oeffentliche/nicht eingeloggte Seiten: schlichte Kopfzeile */ .navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; background: var(--bg-panel); border-bottom: 1px solid var(--border); } .navbar-brand a { display: block; font-size: 1.25rem; font-weight: bold; color: var(--gold); } .navbar-brand img { display: block; height: 46px; width: auto; } .navbar-user { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; } /* Eingeloggter Bereich: Sidebar-Layout */ .app-shell { display: flex; align-items: stretch; min-height: 100vh; } .sidebar { width: var(--sidebar-width); flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-panel); border-right: 1px solid var(--border); padding: 1.5rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; /* Nichts in der Sidebar soll je waagerecht scrollen - lange Menuepunkte werden stattdessen umgebrochen (siehe .sidebar-link .label). */ overflow-x: hidden; } .sidebar-brand { padding: 0 0.65rem 1.5rem; font-size: 1.15rem; font-weight: bold; } .sidebar-brand a { display: block; } /* Logo mit Emblem und Schriftzug (Seitenverhaeltnis etwa 5:2, Hintergrund transparent). Breite und Hoehe beide "auto" mit Obergrenzen - so bleibt das Seitenverhaeltnis erhalten, egal welche Grenze greift, und es entsteht keine waagerechte Scrollleiste. */ .sidebar-brand img { display: block; width: auto; height: auto; max-width: 100%; max-height: 80px; margin: 0 auto; } .sidebar-brand a { color: var(--gold); } .sidebar-nav { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; } .sidebar-section-label { margin-top: 1rem; padding: 0.5rem 0.65rem 0.25rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); } /* Unbeschrifteter Trenner zwischen "Dashboard/Mein Profil/Mitglieder" und "Raids/Premades" - optisch etwas getrennter, aber ohne eigene Ueberschrift wie beim Admin-Bereich. */ /* "Menü anpassen" (assets/js/sidebar-editor.js) */ button.sidebar-edit-toggle { display: flex; width: 100%; padding: 0.65rem 0.75rem; background: none; border: 0; border-radius: 6px; text-align: left; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; cursor: pointer; } button.sidebar-edit-toggle[hidden] { display: none; } button.sidebar-edit-toggle:hover { color: var(--text); box-shadow: none; } .sidebar-edit-toolbar { margin-bottom: 0.6rem; padding: 0.6rem 0.65rem; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 8px; background: rgba(201, 162, 39, 0.08); } .sidebar-edit-toolbar p { margin: 0 0 0.45rem; font-size: 0.8rem; color: var(--text-muted); } .sidebar-edit-buttons { display: flex; flex-wrap: wrap; gap: 0.35rem; } .sidebar-edit-buttons .button { padding: 0.3rem 0.65rem; font-size: 0.8rem; } .sidebar-nav.is-editing [data-nav] { cursor: grab; touch-action: none; user-select: none; border: 1px dashed rgba(201, 162, 39, 0.35); background: rgba(255, 255, 255, 0.03); } .sidebar-nav.is-editing [data-nav]::after { content: '⠿'; margin-left: auto; color: var(--text-muted); font-size: 1rem; line-height: 1; } .sidebar-nav.is-editing [data-nav].is-dragging { cursor: grabbing; border-style: solid; border-color: var(--gold); background: rgba(201, 162, 39, 0.18); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); position: relative; z-index: 2; } /* Die Trennlinie ist beim Anpassen ein greifbarer Balken */ .sidebar-nav.is-editing .sidebar-nav-gap { display: flex; align-items: center; height: auto; margin: 0.3rem 0; padding: 0.35rem 0.75rem; border-radius: 6px; border-top: 1px dashed rgba(201, 162, 39, 0.35); } .sidebar-nav.is-editing .sidebar-nav-gap::before { content: 'Trennlinie'; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; } .sidebar-nav.is-editing .sidebar-badge { display: none; } .sidebar-nav.is-editing .sidebar-nav-gap-extra::before { content: 'Zusätzliche Trennlinie'; } .sidebar-nav.is-editing .sidebar-nav-gap-extra.is-new { border-color: var(--gold); background: rgba(201, 162, 39, 0.12); } .sidebar-gap-remove { margin-left: auto; margin-right: 0.4rem; padding: 0 0.4rem; border: 1px solid var(--border); border-radius: 4px; background: none; color: var(--text-muted); font-size: 0.9rem; line-height: 1.3; cursor: pointer; } .sidebar-gap-remove:hover { border-color: var(--danger); color: var(--danger); background: rgba(217, 83, 79, 0.1); box-shadow: none; } /* "x" und Griff stehen zusammen rechts */ .sidebar-nav.is-editing .sidebar-nav-gap-extra::after { margin-left: 0; } .sidebar-nav:not(.is-editing) .sidebar-gap-remove { display: none; } .sidebar-nav-gap { height: 0; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--border); } /* Mobile Kopfleiste mit Burger-Button: ersetzt auf schmalen Bildschirmen die Sidebar, die dort stattdessen als ausklappbare Schublade (siehe unten) fungiert. Auf Desktop-Breiten bleibt sie unsichtbar. */ .mobile-topbar { display: none; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; background: var(--bg-panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 900; } .mobile-topbar-brand img { display: block; height: 36px; width: auto; } .sidebar-toggle { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; color: var(--text); cursor: pointer; } .sidebar-toggle:hover { border-color: var(--gold); color: var(--gold); background: var(--bg-panel-alt); } .sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 999; } .sidebar-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.75rem; border-radius: 6px; color: var(--text); font-weight: 500; font-size: 0.95rem; } /* Lange Bezeichnungen wie "Berechtigungsgruppen" duerfen den Menuepunkt nicht breiter machen als die Sidebar (Flex-Kinder waeren sonst mindestens so breit wie ihr laengstes Wort). */ .sidebar-link .label { min-width: 0; overflow-wrap: anywhere; } .sidebar-link:hover { background: var(--bg-panel-alt); color: var(--text); text-decoration: none; } .sidebar-link.active { background: rgba(201, 162, 39, 0.15); color: var(--gold); } .sidebar-footer { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; } .sidebar-user { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.65rem; font-size: 0.82rem; color: var(--text-muted); } .sidebar-user strong { color: var(--text); } .avatar { display: inline-block; border-radius: 50%; object-fit: cover; flex-shrink: 0; vertical-align: middle; } .avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.15); } .avatar-wrap { display: inline-flex; } .hero .avatar, .hero .avatar-wrap { margin-bottom: 1rem; } .avatar-edit-wrap { position: relative; display: inline-flex; flex-shrink: 0; } .avatar-edit-btn { position: absolute; top: -2px; right: -2px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #1a1a1a; border: 2px solid var(--bg-panel); cursor: pointer; transition: background 0.15s ease; } .avatar-edit-btn:hover { background: var(--gold-hover); } .avatar-edit-btn .icon { width: 15px; height: 15px; } .app-content { flex: 1; min-width: 0; background-size: cover; background-position: center; background-repeat: no-repeat; } .app-content.bg-dashboard { background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape1-bg.jpg'); } .app-content.bg-profile { background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape2-bg.jpg'); } .app-content.bg-members { background-image: linear-gradient(rgba(26, 26, 26, 0.55), rgba(26, 26, 26, 0.72)), url('/assets/images/Landscapes/web/landscape9-bg.jpg'); } .app-content.bg-admin { background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape3-bg.jpg'); } .app-content.bg-roles { background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape7-bg.jpg'); } .app-content.bg-reports { background-image: linear-gradient(rgba(26, 26, 26, 0.58), rgba(26, 26, 26, 0.74)), url('/assets/images/Landscapes/web/landscape10-bg.jpg'); } .app-content.bg-raids { background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape6-bg.jpg'); } .app-content.bg-premades { background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape5-bg.jpg'); } /* Gast-Ansicht (nicht eingeloggt, z.B. Login/Startseite): .container ist mittig mit fester Maximalbreite, deshalb kommt der Hintergrund hier auf body statt auf einen Content-Wrapper. */ body.guest-bg { background-image: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.78)), url('/assets/images/Landscapes/web/landscape11-bg.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; } .container { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; } .panel { background: rgba(35, 35, 35, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem 2rem; margin-bottom: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .panel-narrow { max-width: 420px; margin: 3rem auto; } h1, h2, h3 { color: var(--gold); } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; } th { color: var(--text-muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; } tr:hover td { background: var(--bg-panel-alt); } .table-scroll { overflow-x: auto; } .table-scroll table { min-width: 720px; } .actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.75rem; white-space: nowrap; } /* --- Reports: Kartenliste statt Tabelle --- */ .report-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 1.5rem; } .report-card { background: rgba(35, 35, 35, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border); border-left-width: 3px; border-left-color: var(--success); border-radius: 10px; padding: 1.1rem 1.35rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } /* Hover-Rahmenfarbe passt sich der Statusfarbe links an (gruen = aktiv, gedaempft = archiviert) statt generischem Gold - siehe .report-card-archived:hover. */ .report-card:hover { border-color: var(--success); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); } .report-card-archived { border-left-color: var(--text-muted); opacity: 0.7; } .report-card-archived:hover { border-color: var(--text-muted); opacity: 0.95; } .report-card-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .report-card-user { display: flex; align-items: center; gap: 0.75rem; min-width: 0; } .report-card-user-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; } .report-card-user-info strong { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .report-card-user-info .text-muted { font-size: 0.82rem; } .report-card-badges { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; } .report-card-body { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--border); } .report-reason-text { white-space: pre-wrap; line-height: 1.45; } .report-evidence { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px dashed var(--border); font-size: 0.82rem; color: var(--text-muted); } .report-evidence .icon { width: 14px; height: 14px; flex-shrink: 0; } .report-add-btn { margin-top: 1rem; } .report-evidence a { color: var(--gold); } .report-evidence a:hover { color: var(--gold-hover); } .report-evidence-text { overflow-wrap: anywhere; } .report-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--border); font-size: 0.8rem; } #report-filter-empty { margin-bottom: 1.5rem; } .text-button { background: none; border: none; padding: 0; margin: 0; font: inherit; font-weight: 600; color: var(--danger); cursor: pointer; text-decoration: none; } .text-button:hover { color: #ff6b66; text-decoration: underline; } form { display: flex; flex-direction: column; gap: 1rem; } label { font-weight: 600; font-size: 0.9rem; } input, select, textarea { font-family: inherit; } input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="datetime-local"], textarea, select { background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; padding: 0.6rem 0.75rem; color: var(--text); font-size: 1rem; width: 100%; } input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); } /* Chrome/Edge faerben das Kalender-/Uhr-Icon standardmaessig schwarz, das im dunklen Theme unsichtbar waere. */ input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; } .field-hint { color: var(--text-muted); font-size: 0.8rem; } .checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; } .checkbox-grid label { display: flex; align-items: center; gap: 0.5rem; font-weight: normal; } .checkbox-grid input { width: auto; } .button, button { /* Symbol und Text immer gemeinsam mittig; gleiche Hoehe fuer und