:root { --bg: #1a1a1a; --bg-panel: #232323; --bg-panel-alt: #2e2e2e; --border: #3d3d3d; --text: #e8e8e8; --text-muted: #a0a0a0; --gold: #c9a227; --gold-hover: #e0b930; --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. */ .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-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[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], 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 { display: inline-block; background: var(--gold); color: #1a1a1a; border: none; border-radius: 6px; padding: 0.6rem 1.25rem; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center; width: fit-content; transition: background 0.15s ease; } .button:hover, button:hover { background: var(--gold-hover); text-decoration: none; } .button-danger { background: var(--danger); color: #fff; } .button-danger:hover { background: #c9302c; } .button-secondary { background: var(--bg-panel-alt); color: var(--text); border: 1px solid var(--border); } .button-secondary:hover { background: #30304a; } .button-success { background: var(--success); color: #fff; } .button-success:hover { background: #3d8b40; } .button:disabled, button:disabled { opacity: 0.5; cursor: not-allowed; } .button:disabled:hover, button:disabled:hover { background: var(--gold); } .inline-form { display: inline; } .badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; background: var(--bg-panel-alt); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); } .badge-active { border-color: var(--success); color: var(--success); } .badge-disabled { border-color: var(--danger); color: var(--danger); } .badge-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; } .flash { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.95rem; } .flash-success { background: rgba(76, 175, 80, 0.15); border: 1px solid var(--success); color: var(--success); } .flash-error { background: rgba(217, 83, 79, 0.15); border: 1px solid var(--danger); color: var(--danger); } .text-muted { color: var(--text-muted); } /* --- Erfolgs-Popup: zentriert mit animiertem Haken statt Balken oben --- */ .success-popup-overlay { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.4); opacity: 0; cursor: pointer; transition: opacity 0.25s ease; } .success-popup-overlay.visible { opacity: 1; } .success-popup-overlay.closing { opacity: 0; } .success-popup { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2.25rem 2.5rem; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); text-align: center; max-width: 360px; transform: scale(0.85); transition: transform 0.25s ease; } .success-popup-overlay.visible .success-popup { transform: scale(1); } .success-popup p { margin: 0; color: var(--text); font-size: 1rem; font-weight: 600; } .success-check { width: 64px; height: 64px; flex-shrink: 0; } .success-check-circle { stroke: var(--success); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; } .success-check-mark { stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; } .success-popup-overlay.visible .success-check-circle { animation: success-circle-draw 0.5s ease-out forwards; } .success-popup-overlay.visible .success-check-mark { animation: success-mark-draw 0.35s 0.45s ease-out forwards; } @keyframes success-circle-draw { to { stroke-dashoffset: 0; } } @keyframes success-mark-draw { to { stroke-dashoffset: 0; } } .text-muted.error { color: var(--danger); } .hero { text-align: center; padding: 4rem 1rem; } .hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; } .stat-card { display: flex; align-items: center; gap: 1rem; } .stat-card .icon-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(201, 162, 39, 0.15); color: var(--gold); flex-shrink: 0; } .stat-card > div:last-child { min-width: 0; } .stat-card h3 { margin: 0 0 0.15rem; color: var(--text); font-size: 1rem; overflow-wrap: break-word; } .stat-card p { margin: 0; overflow-wrap: break-word; } .raid-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .raid-header h2 { margin: 0; } .raid-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; } .raid-group { background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; } .raid-group h3 { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text); } .raid-group ul { margin: 0; padding: 0; list-style: none; } .raid-group li { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.4rem; } /* Mobile-/Touch-Alternative zum Drag&Drop: natives HTML5-Drag&Drop funktioniert auf Touch-Geraeten nicht, daher gibt es im Editor-Modus zusaetzlich dieses Dropdown pro Spieler. Ausserhalb des Editor-Modus bleibt es versteckt. */ .raid-move-select { display: none; width: auto; max-width: 110px; margin-left: auto; padding: 0.15rem 0.3rem; font-size: 0.75rem; border-radius: 4px; } .raid-card.editing .raid-move-select { display: block; } @media (max-width: 480px) { .raid-move-select { max-width: none; flex: 1 1 100%; margin-left: 1.75rem; } } .class-icon { width: 28px; height: 28px; vertical-align: middle; margin-right: 0.5rem; flex-shrink: 0; } .class-icon-placeholder { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 0.5rem; flex-shrink: 0; font-size: 1rem; } .raid-group-bench { border-style: dashed; } .raid-signup-pending { color: var(--text-muted); font-style: italic; } .raid-declined { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); } .raid-meta-line { display: flex; align-items: center; gap: 0.4rem; } .raid-meta-line .icon { color: var(--text-muted); } .panel-archived { opacity: 0.7; } .raid-signup-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-signup-form { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-signup-form select { width: auto; } .filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } /* --- Reports: eigenes "Nach Nutzer filtern"-Dropdown mit Avataren --- */ /* .panel triggert per backdrop-filter eine eigene Stacking-Context - ohne diese Regel waere das Dropdown-Popup (obwohl z-index:500) im nachfolgenden .panel (Tabelle) "gefangen" und wuerde dahinter gerendert, siehe Kommentar bei .user-filter-panel. */ .panel-filter-bar { position: relative; z-index: 20; } .user-filter { position: relative; max-width: 320px; margin-top: 0.75rem; } .user-filter-trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.85rem; color: var(--text); font-size: 0.95rem; font-weight: 500; text-align: left; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; } /* background explizit wiederholen: sonst gewinnt button:hover (Gold-Flaeche), siehe .icon-button */ .user-filter-trigger:hover { background: var(--bg-panel-alt); border-color: var(--gold); } .user-filter-trigger.open { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15); } .user-filter-trigger > .icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s ease, color 0.15s ease; } .user-filter-trigger.open > .icon { transform: rotate(180deg); color: var(--gold); } .user-filter-trigger-content, .user-filter-option-visual { display: flex; align-items: center; gap: 0.6rem; min-width: 0; overflow: hidden; } .user-filter-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .user-filter-all-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-panel); color: var(--text-muted); flex-shrink: 0; } .user-filter-all-icon .icon { width: 14px; height: 14px; } .user-filter-panel { position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; z-index: 500; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.15rem; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top center; pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; } .user-filter-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; } .user-filter-option { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; background: none; border: none; border-radius: 6px; padding: 0.45rem 0.6rem; color: var(--text); font-size: 0.9rem; font-weight: 500; text-align: left; cursor: pointer; transition: background 0.12s ease; } .user-filter-option:hover { background: var(--bg-panel-alt); } .user-filter-option.selected { background: rgba(201, 162, 39, 0.15); color: var(--gold); font-weight: 600; } .user-filter-option > .icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); opacity: 0; transition: opacity 0.12s ease; } .user-filter-option.selected > .icon { opacity: 1; } .filter-tab { padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-panel-alt); color: var(--text-muted); font-size: 0.85rem; font-weight: 600; } .filter-tab:hover { color: var(--text); text-decoration: none; } .filter-tab.active { background: rgba(201, 162, 39, 0.15); border-color: var(--gold); color: var(--gold); } .profile-header { display: flex; align-items: center; gap: 1.25rem; } .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; } .discord-card { border: 1px solid var(--discord); background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), var(--bg-panel) 65%); } .discord-card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; } .discord-card-header h2 { margin: 0 0 0.3rem; color: var(--discord); } .discord-logo { color: var(--discord); flex-shrink: 0; } .discord-connect-button { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--discord); color: #fff; } .discord-connect-button:hover { background: var(--discord-hover); } .discord-connect-button .discord-logo { color: #fff; } @media (max-width: 700px) { .profile-grid { grid-template-columns: 1fr; } } @media (max-width: 860px) { .app-shell { flex-direction: column; min-height: 0; } /* Die Sidebar selbst wird auf schmalen Bildschirmen zur ausklappbaren Schublade: per Default ausserhalb des Viewports (transform), das ".open"-Klasse (via assets/js/nav.js) schiebt sie rein. Sie behaelt dabei exakt die gleiche Optik/Beschriftung wie am Desktop. */ .mobile-topbar { display: flex; } .sidebar-toggle { display: inline-flex; } .sidebar { position: fixed; top: 0; left: 0; width: min(280px, 82vw); height: 100vh; transform: translateX(-100%); transition: transform 0.25s ease; z-index: 1000; padding: 1.25rem 1rem; } .sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4); } .sidebar-backdrop.open { display: block; } } /* --- Raid-Verwaltung: Icon-Buttons, Editor-Modus, Modal, Drag & Drop --- */ .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); cursor: pointer; } /* background explizit wiederholen: sonst gewinnt die globale "button:hover"-Regel (Gold-Flaeche) fuer die Hover-Hintergrundfarbe, da .icon-button sie nur im Ruhezustand setzt. */ .icon-button:hover { color: var(--gold); border-color: var(--gold); background: var(--bg-panel-alt); } .icon-button-danger:hover { color: var(--danger); border-color: var(--danger); } .raid-card.editing .raid-edit-toggle { color: var(--gold); border-color: var(--gold); } .raid-edit-panel { display: none; margin-top: 1rem; padding: 1rem; background: var(--bg-panel-alt); border: 1px dashed var(--border); border-radius: 8px; } .raid-card.editing .raid-edit-panel { display: block; } .raid-edit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; } .raid-edit-requirements { margin-bottom: 1rem; } .raid-edit-requirements textarea { resize: vertical; min-height: 4.5rem; font-family: inherit; } .raid-edit-form .actions { align-items: center; } .group-editor { margin-bottom: 1rem; } .group-editor-rows { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.5rem 0 0.75rem; } .group-editor-row { display: flex; align-items: center; gap: 0.5rem; } .group-editor-name { flex: 1; min-width: 0; } .group-editor-lock { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease; } .group-editor-lock.checked { color: var(--gold); border-color: var(--gold); background: rgba(201, 162, 39, 0.15); } .group-editor-lock-checkbox { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } .group-editor-remove { flex-shrink: 0; } .raid-premade-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); } .raid-premade-row { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; align-items: center; } .raid-premade-row select { width: auto; } .premade-roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0.75rem 0 0; } @media (max-width: 480px) { .premade-roster { grid-template-columns: 1fr; } } /* Rechteck mit angeschraegten Ecken (Parallelogramm-Anmutung) statt eines reinen Rechtecks. clip-path schneidet dabei auch einen ggf. gesetzten "border" weg, deshalb simuliert ein aeusseres (Rahmenfarbe) + inneres (Fuellfarbe) Element in Kombination einen sauber umlaufenden Rahmen. */ .premade-slot { background: var(--border); padding: 1.5px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); } .premade-slot-inner { display: flex; align-items: center; gap: 0.75rem; height: 100%; min-height: 64px; padding: 0.7rem 1rem; background: var(--bg-panel-alt); clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px); } .premade-slot-lead { background: var(--gold); } .premade-slot-lead .premade-slot-inner { background: #332b18; } .premade-slot-pending .premade-slot-inner { color: var(--text-muted); } .premade-slot-empty .premade-slot-inner { justify-content: center; } .premade-slot-empty:not(.premade-slot-invitable) { opacity: 0.4; } .premade-slot-placeholder { color: var(--text-muted); font-size: 1.3rem; } .premade-slot-invite-btn { background: none; border: none; padding: 1rem 2rem; color: var(--text-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; } .premade-slot-invite-btn:hover { color: var(--gold); } /* Eigene Klassen-Aktion: sitzt als zusaetzliche Kachel im (bei 5 Slots stets freien) 6. Grid-Feld neben der Mitgliederliste, bewusst mit gestricheltem Rahmen statt der angeschraegten Karten-Optik, damit sie klar als Aktion und nicht als weiterer Mitglieder-Slot erkennbar ist. */ .premade-class-action { display: flex; align-items: center; gap: 0.75rem; width: 100%; height: 100%; min-height: 64px; padding: 0.7rem 1rem; background: rgba(201, 162, 39, 0.05); border: 1.5px dashed rgba(201, 162, 39, 0.4); border-radius: 10px; color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; } .premade-class-action:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); } .premade-class-action-icon { color: var(--text-muted); } .premade-class-action-label { margin-left: auto; flex-shrink: 0; font-size: 0.75rem; font-weight: 600; color: var(--gold); white-space: nowrap; } .premade-invite-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 340px; overflow-y: auto; margin: 1.25rem 0; } .premade-invite-option { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; text-align: left; font-size: 0.95rem; width: 100%; } .premade-invite-option:hover { border-color: var(--gold); color: var(--gold); } .premade-slot-name { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 0.1rem; } .premade-slot-class { display: inline-flex; align-items: center; gap: 0.3rem; } .premade-slot-class-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; } .premade-slot-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; } .premade-slot-name .text-muted { font-size: 0.78rem; } .premade-crown { display: inline-flex; color: var(--gold); flex-shrink: 0; margin-left: auto; } .premade-crown .icon { width: 18px; height: 18px; } .premade-slot .icon-button { width: 26px; height: 26px; flex-shrink: 0; margin-left: auto; } .premade-slot .icon-button .icon { width: 14px; height: 14px; } .premade-invite-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); } .premade-invite-row:last-child { border-bottom: none; } .premade-manage { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); } .raid-empty-hint { margin: 0; } /* Drag & Drop nur optisch aktiv, wenn die Karte im Editor-Modus ist */ .raid-card.editing .raid-signup-item { cursor: grab; } .raid-signup-item.dragging { opacity: 0.4; } .raid-drop-zone { transition: background 0.15s ease, border-color 0.15s ease; } .raid-card.editing .raid-drop-zone.drag-over { background: rgba(201, 162, 39, 0.15); border-color: var(--gold); } /* Gesperrte Gruppen nehmen im Editor-Modus keine Drag&Drop-Ziele an. */ .raid-card.editing .raid-drop-zone.raid-group-locked { cursor: not-allowed; opacity: 0.6; background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 6px, transparent 6px, transparent 12px ); } /* --- Anmelde-Popup --- */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1000; padding: 1rem; display: none; } /* Das "hidden"-Attribut steuert die Sichtbarkeit; ohne diese Regel würde "display: flex" das Standard-UA-"display: none" von [hidden] überstimmen und das Popup waere immer sichtbar. */ .modal-overlay:not([hidden]) { display: flex; align-items: center; justify-content: center; } .modal { position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); } .modal .modal-close { position: absolute; top: 1rem; right: 1rem; } .class-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1.25rem 0; } @media (max-width: 480px) { .class-picker { grid-template-columns: repeat(2, 1fr); } } /* Grid statt Flex-Wrap, damit jede Wunschgruppen-Kachel unabhaengig von ihrer Textlaenge exakt die gleiche Spaltenbreite bekommt (wie beim Klassen-Picker). */ .group-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 0.5rem; margin: 0.75rem 0 1.25rem; } .group-picker-option { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 0.5rem 1.1rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 999px; color: var(--text); cursor: pointer; font-size: 0.85rem; font-weight: 500; text-align: center; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } .group-picker-option:hover { border-color: var(--gold); transform: translateY(-1px); } .group-picker-option.selected { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); color: var(--gold); font-weight: 600; box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4); } .group-picker-option.locked, .group-picker-option:disabled { opacity: 0.5; cursor: not-allowed; color: var(--text-muted); } .group-picker-option.locked:hover, .group-picker-option:disabled:hover { border-color: var(--border); transform: none; } /* Grid-Zellen sind gleich breit (1fr), aber Buttons schrumpfen sich sonst ueber die globale "button"-Regel auf ihre Textbreite (width: fit-content) und wirken dadurch unterschiedlich gross - deshalb hier explizit 100%. */ .class-picker-option { display: flex; width: 100%; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.5rem; padding: 0.85rem 0.5rem; min-height: 96px; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 10px; color: var(--text); cursor: pointer; font-size: 0.8rem; text-align: center; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; } .class-picker-option:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); } .class-picker-option.selected { border-color: var(--gold); background: rgba(201, 162, 39, 0.15); color: var(--gold); box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25); } .group-picker-option:focus-visible, .class-picker-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; } /* Einheitlicher Rahmen um jedes Klassen-Icon, damit alle Kaestchen trotz unterschiedlicher Icon-Formen/-Kontraste gleich wirken. */ .class-icon-frame { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; transition: border-color 0.15s ease; } .class-picker-option:hover .class-icon-frame, .class-picker-option.selected .class-icon-frame { border-color: var(--gold); } .class-icon-frame img { width: 30px; height: 30px; object-fit: contain; } .class-picker-label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; } .raid-modal-feedback { min-height: 1.2rem; margin-bottom: 0.5rem; font-size: 0.9rem; } .raid-modal-feedback.success { color: var(--success); } .raid-modal-feedback.error { color: var(--danger); } /* --- Reports: Punktwert-Liste + "Rolle hinzufuegen"-Popup --- */ .role-weight-list { display: flex; flex-direction: column; gap: 0.5rem; } .role-weight-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; } .role-weight-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; } .role-weight-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } /* flex-shrink:0 auf beiden Formularen der Zeile - sonst nimmt sich .role-weight-name (flex:1) den gesamten Platz und quetscht die Buttons/das Eingabefeld unter ihre Mindestbreite, wodurch der Speichern-Button in die naechste Zeile umbricht. */ .role-weight-row > form { flex-shrink: 0; } .role-weight-form { display: flex; flex-direction: row; align-items: center; gap: 0.4rem; } /* input[type="text"] (Attribut-Selektor, hoehere Spezifitaet als eine einzelne Klasse) setzt sonst width:100% und ueberstimmt die feste Breite hier. */ input.role-weight-input { width: 70px; text-align: center; } .role-picker-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 340px; overflow-y: auto; margin: 1.25rem 0; } .role-picker-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 8px; color: var(--text); cursor: pointer; width: 100%; } .role-picker-option:hover { border-color: var(--gold); } .role-picker-option input[type="checkbox"] { width: auto; flex-shrink: 0; } .role-picker-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; } /* --- Events: geplante Erinnerungen des Discord-Bots --- */ .app-content.bg-events { background-image: linear-gradient(rgba(20, 20, 20, 0.68), rgba(20, 20, 20, 0.82)), url('/assets/images/Landscapes/web/landscape4-bg.jpg'); } .event-list { display: flex; flex-direction: column; gap: 1rem; } .event-card { border-left-width: 3px; border-left-color: var(--gold); } .event-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .event-card-header h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1.2rem; } .event-card-header h2 .icon { color: var(--gold); } .event-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.75rem; font-size: 0.9rem; } .event-meta-item { display: inline-flex; align-items: center; gap: 0.4rem; } .event-meta-item .icon { width: 16px; height: 16px; color: var(--text-muted); } /* Faellig, aber noch nicht versendet (z.B. Bot war offline) - auffaellig, aber kein Fehler. */ .event-meta-overdue { color: var(--gold); } .event-role { font-weight: 600; } .event-message { margin-top: 0.9rem; padding: 0.75rem 1rem; background: var(--bg-panel-alt); border-left: 3px solid var(--border); border-radius: 0 6px 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; } /* --- Anlegen-/Bearbeiten-Formular --- */ .event-edit-panel { display: none; margin-top: 1rem; padding: 1rem; background: var(--bg-panel-alt); border: 1px dashed var(--border); border-radius: 8px; } .event-card.editing .event-edit-panel { display: block; } .event-card.editing .event-edit-toggle { color: var(--gold); border-color: var(--gold); } .event-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; } .event-form-interval .event-interval-row { display: flex; gap: 0.5rem; } .event-interval-row input { max-width: 90px; } .event-form-hint { margin: 0.25rem 0 0; font-size: 0.8rem; } .event-form-message { margin-top: 0.75rem; } .event-form-message textarea { width: 100%; resize: vertical; } /* Vorschau auf die spaetere Discord-Nachricht - entspricht dem Vorschau-Schritt, den /event_planen im Bot vor dem Einplanen zeigt. */ .event-preview { margin-top: 1rem; padding: 0.85rem 1rem; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: 8px; } .event-preview-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.5rem; } .event-preview-ping { color: var(--discord); background: rgba(88, 101, 242, 0.12); border-radius: 4px; display: inline-block; padding: 0 0.25rem; font-weight: 600; margin-bottom: 0.4rem; } .event-preview-embed { border-left: 4px solid var(--gold); border-radius: 0 6px 6px 0; background: var(--bg-panel); padding: 0.7rem 0.9rem; } .event-preview-title { display: block; } .event-preview-message { margin-top: 0.35rem; white-space: pre-wrap; overflow-wrap: anywhere; } .event-creator { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.8rem; font-size: 0.85rem; } /* --- Karte --- */ .app-content.bg-map { background-image: linear-gradient(rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.85)), url('/assets/images/Landscapes/web/landscape8-bg.jpg'); } /* Die Karte braucht mehr Platz als die 1100px der normalen Inhaltsspalte. */ .container-wide { max-width: 1600px; } /* Der Viewer zeichnet auf ein Canvas in Fenstergroesse - im iframe also genau so gross wie der Rahmen. 4rem = oberes und unteres Padding von .container. */ .map-frame { display: block; width: 100%; height: calc(100vh - 4rem); min-height: 420px; border: 1px solid var(--border); border-radius: 10px; background: #1a1a2e; } .map-setup { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.9rem 1.25rem; margin-bottom: 1rem; } .map-setup p { margin: 0; } /* --- Login, Freischaltung, Discord-Abgleich --- */ .login-panel { text-align: center; } .login-panel h1 { margin-bottom: 0.4rem; } .login-discord-button { justify-content: center; width: 100%; margin: 1rem 0 1.25rem; padding: 0.85rem 1rem; font-size: 1.05rem; font-weight: 600; } .login-password { text-align: left; border-top: 1px solid var(--border); padding-top: 1rem; } .login-password summary { cursor: pointer; color: var(--text-muted); font-size: 0.9rem; text-align: center; list-style: none; } .login-password summary::-webkit-details-marker { display: none; } .login-password summary::after { content: ' ▾'; } .login-password[open] summary::after { content: ' ▴'; } .login-password summary:hover { color: var(--text); } .login-password[open] summary { margin-bottom: 1rem; } .pending-panel { text-align: center; } .pending-panel .avatar { margin: 0 auto 0.75rem; } .pending-actions { justify-content: center; } .badge-pending { border-color: var(--gold); color: var(--gold); } .row-pending td { background: rgba(201, 162, 39, 0.08); } .button-small { padding: 0.3rem 0.7rem; font-size: 0.85rem; } .discord-inline { display: inline-flex; align-items: center; gap: 0.35rem; } .checkbox-managed { opacity: 0.75; cursor: default; } .checkbox-managed .discord-logo { margin-left: 0.15rem; } /* Als Abzeichen auf dem Symbol - so bricht die Beschriftung nicht um und die Zahl bleibt auch bei eingeklappter Seitenleiste sichtbar. */ .sidebar-link { position: relative; } .sidebar-badge { position: absolute; top: 0.25rem; left: 1.55rem; min-width: 1.1rem; padding: 0 0.3rem; border-radius: 999px; background: var(--gold); color: #1a1a1a; font-size: 0.68rem; font-weight: 700; line-height: 1.1rem; text-align: center; } .settings-toggle { margin: 0 0 1.25rem; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-panel-alt); } .settings-toggle label { display: flex; align-items: center; gap: 0.5rem; margin: 0; cursor: pointer; } .settings-toggle input { width: auto; } /* Tabellen mit Aktionen-Spalte (Verwaltung): die letzte Spalte bleibt rechts angeheftet, damit Bearbeiten/Loeschen/Freischalten auch bei seitlich scrollender Tabelle sichtbar sind. */ .table-actions th:last-child, .table-actions td:last-child { position: sticky; right: 0; z-index: 1; background: var(--bg-panel); box-shadow: -8px 0 8px -8px rgba(0, 0, 0, 0.8); white-space: nowrap; } .table-actions tr:hover td:last-child { background: var(--bg-panel-alt); } .table-actions .row-pending td:last-child { background: #2e2a1c; } /* Icon-Links (Bearbeiten) sollen beim Ueberfahren nicht unterstrichen werden. */ a.icon-button:hover { text-decoration: none; } /* Aktionen-Spalte der Verwaltung: Icons und Freischalten-Knopf auf einer Linie. */ .table-actions td:last-child .actions { align-items: center; flex-wrap: nowrap; } .discord-sync-form { display: flex; /* Formulare sind global als Spalte gesetzt - hier Knopf und Erklaerung nebeneinander. */ flex-direction: row; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0 0 1rem; } .discord-sync-form span { flex: 1; min-width: 240px; font-size: 0.85rem; } .flash-info { background: rgba(201, 162, 39, 0.12); border: 1px solid var(--gold); color: var(--gold); } /* --- Lagerhaus --- */ .app-content.bg-warehouse { background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.85)), url('/assets/images/Landscapes/web/landscape6-bg.jpg'); } .warehouse-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; } .warehouse-head h1, .warehouse-head h2 { margin-bottom: 0.25rem; } .warehouse-head p { margin-top: 0; } .warehouse-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; } .warehouse-filters input { flex: 1; min-width: 220px; } .warehouse-filters select { width: auto; min-width: 200px; } th.num, td.num { text-align: right; white-space: nowrap; } .warehouse-no-match { margin-top: 0.75rem; } .warehouse-pages { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; font-size: 0.9rem; } .pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; } .page-link { min-width: 2.1rem; padding: 0.3rem 0.6rem; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-panel-alt); color: var(--text); text-align: center; } a.page-link:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; } .page-link.active { border-color: var(--gold); background: var(--gold); color: #1a1a1a; font-weight: 700; } .page-link.disabled { opacity: 0.4; } .page-gap { padding: 0 0.2rem; color: var(--text-muted); } .warehouse-row, .warehouse-counterpart { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; } .warehouse-counterpart + .field-hint { margin: -0.25rem 0 0.75rem; } .warehouse-new-item { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.6rem 0.8rem; margin-bottom: 0.75rem; border: 1px solid var(--gold); border-radius: 6px; background: rgba(201, 162, 39, 0.08); } .warehouse-new-item label { margin: 0; } .warehouse-new-item select { width: auto; } @media (max-width: 600px) { .warehouse-row, .warehouse-counterpart { grid-template-columns: 1fr; } } /* Bestand als Kacheln: Bild mit Menge, darunter Name und Kategorie */ .warehouse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; } .warehouse-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 10px; background: rgba(35, 35, 35, 0.72); transition: border-color 0.15s, transform 0.15s; } .warehouse-card:hover { border-color: var(--gold); transform: translateY(-2px); } .warehouse-card[hidden] { display: none; } .warehouse-card-link { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; flex: 1; padding: 0.9rem 0.6rem 0.6rem; color: var(--text); text-align: center; } .warehouse-card-link:hover { text-decoration: none; color: var(--text); } .warehouse-card-image { position: relative; display: inline-block; } .warehouse-card-qty { position: absolute; right: -0.5rem; bottom: -0.35rem; min-width: 1.6rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--gold); color: #1a1a1a; font-size: 0.8rem; font-weight: 700; line-height: 1.3rem; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); } .warehouse-card-name { margin-top: 0.3rem; font-weight: 600; font-size: 0.88rem; line-height: 1.25; overflow-wrap: anywhere; } .warehouse-card-category { font-size: 0.75rem; color: var(--text-muted); } .warehouse-card-actions { display: flex; justify-content: center; gap: 0.4rem; padding: 0 0.6rem 0.7rem; } .warehouse-card-actions .icon-button { width: 30px; height: 30px; font-size: 1.05rem; } .warehouse-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 8px; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35)); object-fit: contain; } .warehouse-icon-placeholder { color: var(--text-muted); border: 1px dashed var(--border); } .warehouse-icon-placeholder .icon { width: 45%; height: 45%; } .warehouse-item-inline { display: inline-flex; align-items: center; gap: 0.5rem; } /* --- Lumipunkte --- */ .app-content.bg-contributions { background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.86)), url('/assets/images/Landscapes/web/landscape2-bg.jpg'); } .contribution-coin { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; } .contribution-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; } .contribution-hero-coin { filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.35)); } .contribution-hero-text { flex: 1; min-width: 220px; } .contribution-hero-text h1 { margin: 0 0 0.25rem; } .contribution-hero-text p { margin: 0; } .contribution-hero-balance { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.85rem; } .contribution-hero-balance strong { display: flex; align-items: center; gap: 0.4rem; font-size: 1.8rem; color: var(--gold); } .contribution-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 1rem; } .contribution-head h1, .contribution-head h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0; } .contribution-head input[type="search"] { width: auto; min-width: 240px; } .contribution-filter-balance { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: rgba(201, 162, 39, 0.15); font-size: 1rem; } /* Rangliste */ .contribution-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; } .contribution-card { position: relative; border: 1px solid var(--border); border-radius: 10px; background: rgba(35, 35, 35, 0.72); transition: border-color 0.15s, transform 0.15s; } .contribution-card:hover { border-color: var(--gold); transform: translateY(-2px); } .contribution-card[hidden] { display: none; } .contribution-card.is-me { border-color: rgba(201, 162, 39, 0.6); background: rgba(201, 162, 39, 0.08); } .contribution-card.rank-1 { box-shadow: 0 0 0 1px #e8c35a inset, 0 0 18px rgba(232, 195, 90, 0.25); } .contribution-card.rank-2 { box-shadow: 0 0 0 1px #c9ced6 inset; } .contribution-card.rank-3 { box-shadow: 0 0 0 1px #c98a55 inset; } .contribution-card-link { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 1rem 0.6rem 0.8rem; color: var(--text); text-align: center; } .contribution-card-link:hover { color: var(--text); text-decoration: none; } .contribution-rank { position: absolute; top: 0.45rem; left: 0.55rem; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); } .rank-1 .contribution-rank { color: #e8c35a; } .rank-2 .contribution-rank { color: #c9ced6; } .rank-3 .contribution-rank { color: #c98a55; } .contribution-card-name { font-weight: 600; font-size: 0.9rem; overflow-wrap: anywhere; } .contribution-card-points { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; color: var(--gold); } .contribution-card-add { position: absolute; top: 0.35rem; right: 0.35rem; width: 26px; height: 26px; font-size: 1rem; opacity: 0; transition: opacity 0.15s; } .contribution-card:hover .contribution-card-add, .contribution-card-add:focus { opacity: 1; } a.contribution-card-add:hover { text-decoration: none; } @media (hover: none) { .contribution-card-add { opacity: 1; } } /* Verlauf der Vergaben */ .contribution-awards { display: flex; flex-direction: column; gap: 0.6rem; } .contribution-award { display: flex; align-items: flex-start; gap: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(35, 35, 35, 0.6); } .contribution-award-points { display: flex; flex-direction: column; align-items: center; min-width: 76px; gap: 0.15rem; font-size: 0.75rem; } .contribution-award-points strong { font-size: 1.25rem; color: var(--success); } .contribution-award-points.negative strong { color: var(--danger); } .contribution-award-body { flex: 1; min-width: 0; } .contribution-award-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .contribution-award-note { margin: 0.3rem 0 0; font-size: 0.9rem; } .contribution-award-meta { margin-top: 0.3rem; font-size: 0.8rem; } .contribution-badge-raid { border-color: #d9534f; color: #ff8a86; } .contribution-badge-event { border-color: var(--discord); color: #9aa3ff; } .contribution-badge-other { border-color: var(--border); } .contribution-award-members { margin-top: 0.4rem; font-size: 0.85rem; } .contribution-award-members summary { cursor: pointer; color: var(--text-muted); } .contribution-award-members[open] summary { margin-bottom: 0.4rem; } .contribution-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; } .contribution-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.15rem 0.3rem 0.15rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-panel-alt); } .contribution-chip.highlight { border-color: var(--gold); } .contribution-chip a { color: var(--text); } button.contribution-chip-remove { padding: 0 0.3rem; border: none; background: none; color: var(--text-muted); font-size: 1rem; line-height: 1; cursor: pointer; } button.contribution-chip-remove:hover { background: none; color: var(--danger); } .contribution-award-delete { flex-shrink: 0; } .contribution-pages { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; font-size: 0.9rem; } /* Formular */ .contribution-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .contribution-form-wide { grid-column: 1 / -1; } .contribution-form-grid [hidden] { display: none; } .contribution-picker-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .contribution-picker-head label { margin-right: auto; } .contribution-picker-head input[type="search"] { width: auto; min-width: 200px; } .contribution-picker-count { font-weight: 400; color: var(--text-muted); } .contribution-raid-info { margin: 0.5rem 0 0; } .contribution-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.4rem; margin-top: 0.6rem; max-height: 420px; overflow-y: auto; padding: 0.2rem; } .contribution-pick { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; border: 1px solid var(--border); border-radius: 8px; font-weight: 500; cursor: pointer; } .contribution-pick[hidden] { display: none; } .contribution-pick input { width: auto; } .contribution-pick.checked { border-color: var(--gold); background: rgba(201, 162, 39, 0.1); } .contribution-pick-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .contribution-pick-points { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.8rem; color: var(--text-muted); } /* Lumipunkte als Kaestchen ueber dem Profil (ueber dem Strich der Fusszeile) */ .sidebar-points { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; padding: 0.6rem 0.8rem; border: 1px solid rgba(201, 162, 39, 0.45); border-radius: 10px; background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.04)); color: var(--text); transition: border-color 0.15s, background 0.15s; } .sidebar-points:hover { border-color: var(--gold); background: linear-gradient(135deg, rgba(201, 162, 39, 0.24), rgba(201, 162, 39, 0.06)); color: var(--text); text-decoration: none; } .sidebar-points img { flex-shrink: 0; filter: drop-shadow(0 2px 5px rgba(201, 162, 39, 0.35)); } .sidebar-points > span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; } .sidebar-points-label { font-size: 0.72rem; color: var(--text-muted); } .sidebar-points strong { font-size: 1.2rem; color: var(--gold); font-variant-numeric: tabular-nums; } .sidebar-points + .sidebar-footer { margin-top: 0.85rem; } @media (max-width: 700px) { .contribution-form-grid { grid-template-columns: 1fr; } .contribution-hero-balance { align-items: flex-start; } .contribution-award { flex-wrap: wrap; } } .contribution-top-label { padding: 0.1rem 0.5rem; border: 1px solid var(--gold); border-radius: 999px; font-size: 0.8rem; font-weight: 600; } .contribution-own { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border); } .contribution-own h3 { margin: 0 0 0.6rem; font-size: 1rem; } .contribution-limit-note { margin: 1rem 0 0; font-size: 0.85rem; } /* --- Raids: Anwesenheit und automatische Lumipunkte --- */ .raid-points-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 0.75rem; } .raid-points-fields label { display: flex; align-items: center; gap: 0.35rem; } .raid-points-fields .field-hint { grid-column: 1 / -1; margin: 0; } .raid-attendance-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.25rem 0 0.75rem; } a.button-small:hover { text-decoration: none; } .raid-auto-points { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; } .attendance-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; } .attendance-head h1 { margin-bottom: 0.2rem; } .attendance-head p { margin-top: 0; } .attendance-status { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-panel-alt); font-size: 0.9rem; } .attendance-auto { display: inline-flex; align-items: center; gap: 0.35rem; } .attendance-bulk { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9rem; } .attendance-list { display: flex; flex-direction: column; gap: 0.35rem; } .attendance-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0.55rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; background: rgba(35, 35, 35, 0.6); } .attendance-person { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 0.6rem; } .attendance-person .text-muted { font-size: 0.85rem; } .attendance-choice { display: flex; gap: 0.3rem; } .attendance-option { display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; font-weight: 500; cursor: pointer; user-select: none; } .attendance-option input { position: absolute; opacity: 0; pointer-events: none; } .attendance-option:hover { border-color: var(--text-muted); } .attendance-present:has(input:checked) { border-color: var(--success); background: rgba(76, 175, 80, 0.2); color: #8fdc92; } .attendance-absent:has(input:checked) { border-color: var(--danger); background: rgba(217, 83, 79, 0.2); color: #ff9b97; } .attendance-excused:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); color: var(--gold); } .attendance-none:has(input:checked) { border-color: var(--text-muted); background: var(--bg-panel-alt); } .attendance-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; } .attendance-add { display: flex; flex-direction: column; gap: 0.3rem; max-width: 420px; } @media (max-width: 600px) { .raid-points-fields { grid-template-columns: 1fr; } } .contribution-raid-mode { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; font-size: 0.9rem; } .contribution-raid-mode[hidden] { display: none; } .contribution-raid-mode .button-small.active { border-color: var(--gold); color: var(--gold); } /* Kina im Lagerhaus */ .warehouse-kina { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.9rem; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 10px; background: rgba(201, 162, 39, 0.08); } .warehouse-kina > div:not(.warehouse-kina-actions) { display: flex; flex-direction: column; line-height: 1.2; } .warehouse-kina .text-muted { font-size: 0.8rem; } .warehouse-kina strong { font-size: 1.35rem; color: var(--gold); font-variant-numeric: tabular-nums; } .warehouse-kina .warehouse-icon { background: none; } .warehouse-kina-actions { display: flex; flex-direction: column; gap: 0.3rem; margin-left: 0.5rem; } /* --- Lumishop --- */ .app-content.bg-shop { background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.86)), url('/assets/images/Landscapes/web/landscape7-bg.jpg'); } .shop-reserved { font-size: 0.75rem; margin-top: 0.1rem; } .shop-hero-actions { display: flex; flex-direction: column; gap: 0.4rem; } .shop-count { display: inline-block; min-width: 1.2rem; margin-left: 0.2rem; padding: 0 0.35rem; border-radius: 999px; background: #1a1a1a; color: var(--gold); font-size: 0.75rem; font-weight: 700; line-height: 1.2rem; text-align: center; } .button-secondary .shop-count { background: var(--gold); color: #1a1a1a; } .shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.85rem; } .shop-card { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 1rem 0.75rem 0.85rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(35, 35, 35, 0.72); text-align: center; transition: border-color 0.15s, transform 0.15s; } .shop-card:hover { border-color: var(--gold); transform: translateY(-2px); } .shop-card[hidden] { display: none; } .shop-card.sold-out { opacity: 0.55; } .shop-card.sold-out:hover { transform: none; border-color: var(--border); } .shop-card-image { display: inline-block; } .shop-card-name { margin-top: 0.3rem; font-weight: 600; font-size: 0.92rem; line-height: 1.25; overflow-wrap: anywhere; } .shop-card-description { font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; overflow-wrap: anywhere; } .shop-card-price { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; padding-top: 0.35rem; font-size: 1.15rem; font-weight: 700; color: var(--gold); } .shop-card-stock { font-size: 0.75rem; color: var(--text-muted); } .shop-card-stock.is-empty { color: var(--danger); } .shop-card .shop-buy { width: 100%; margin-top: 0.25rem; } .shop-buy-title { margin: 0; font-size: 1.05rem; } .shop-buy-total { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0; font-size: 1.3rem; font-weight: 700; color: var(--gold); } .shop-buy-hint { margin: 0; font-size: 0.85rem; } /* Antraege */ .shop-orders { display: flex; flex-direction: column; gap: 0.6rem; } .shop-order { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 8px; background: rgba(35, 35, 35, 0.72); } .shop-order-pending { border-left-color: var(--gold); } .shop-order-approved { border-left-color: #5fa8ff; } .shop-order-delivered { border-left-color: var(--success); } .shop-order-rejected { border-left-color: var(--danger); } .shop-order-rejected, .shop-order-cancelled { opacity: 0.75; } .shop-order-icon { flex-shrink: 0; } .shop-order-body { flex: 1; min-width: 0; } .shop-order-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.6rem; } .shop-order-meta { margin-top: 0.2rem; font-size: 0.8rem; } .shop-order-buyer { color: var(--text); } .shop-order-note { margin-top: 0.25rem; font-size: 0.88rem; overflow-wrap: anywhere; } .shop-order-price { display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0; font-size: 1.05rem; font-weight: 700; color: var(--text-muted); white-space: nowrap; } .shop-order-price.is-paid { color: var(--gold); } .shop-order-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; } .shop-order-actions form { display: inline; } .shop-order-actions .button-small { display: inline-flex; align-items: center; gap: 0.3rem; } .shop-order-actions .button-small .icon { width: 15px; height: 15px; } .shop-order-balance { margin: 0.4rem 0 -0.3rem 0.2rem; font-size: 0.8rem; color: var(--text-muted); } .shop-order-balance.is-short { color: var(--danger); } .shop-badge-approved { border-color: #5fa8ff; color: #8cc0ff; } .shop-badge-warehouse { border-color: var(--gold); color: var(--gold); } @media (max-width: 700px) { .shop-order { flex-wrap: wrap; } .shop-order-body { flex-basis: calc(100% - 60px); } .shop-order-price { margin-left: 56px; } .shop-order-actions { margin-left: auto; } } /* Verwaltung */ .shop-manage-table tr.is-inactive td:not(:last-child) { opacity: 0.55; } .shop-categories { display: flex; flex-direction: column; gap: 0.5rem; max-width: 640px; } .shop-category-row { display: flex; align-items: center; gap: 0.5rem; } .shop-category-form { flex-direction: row; align-items: center; gap: 0.5rem; flex: 1; } .shop-category-form input[type="text"] { flex: 1; min-width: 0; } .shop-category-new { margin-top: 0.4rem; padding-top: 0.75rem; border-top: 1px dashed var(--border); } input.shop-sort-input { width: 80px; text-align: center; } .checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; } .checkbox-label input { width: auto; } [data-mode-field][hidden] { display: none; } .modal.modal-wide { max-width: 720px; } .shop-import-price { display: flex; gap: 0.5rem; } .shop-import-price input { flex: 1; min-width: 0; } .shop-import-list { display: flex; flex-direction: column; max-height: 45vh; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; } .shop-import-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--border); } .shop-import-row:last-child { border-bottom: none; } .shop-import-row label { display: flex; align-items: center; gap: 0.55rem; flex: 1; min-width: 0; font-weight: 400; cursor: pointer; } .shop-import-row label input { width: auto; } .shop-import-row label span:not(.text-muted) { overflow-wrap: anywhere; } .shop-import-row label .text-muted { margin-left: auto; font-size: 0.8rem; white-space: nowrap; } input.shop-import-row-price { width: 100px; } .shop-import-all { font-weight: 400; cursor: pointer; background: var(--bg-panel-alt); position: sticky; top: 0; z-index: 1; } .shop-import-all input { width: auto; } .contribution-badge-shop { border-color: var(--gold); color: var(--gold); } .warehouse-card-shop { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.72rem; color: var(--gold); } #shop-item-description { font-family: inherit; } /* Lumishop: Teilbewilligung */ .shop-order-actions .shop-approve-form { display: inline-flex; flex-direction: row; align-items: center; gap: 0.35rem; } input.shop-approve-quantity { width: 72px; padding: 0.3rem 0.45rem; font-size: 0.9rem; } .shop-approve-of { font-size: 0.8rem; white-space: nowrap; } .shop-order-partial { color: var(--gold); font-weight: 600; } .shop-order-stock { color: var(--text-muted); } .shop-order-stock.is-short { color: var(--danger); } /* Dashboard: eigener Bereich fuer die Lumipunkte */ .dashboard-points { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; border-color: rgba(201, 162, 39, 0.45); background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(35, 35, 35, 0.92) 60%); } .dashboard-points-coin { flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(201, 162, 39, 0.4)); } .dashboard-points-main { min-width: 160px; } .dashboard-points-main h2 { margin: 0; font-size: 1rem; color: var(--text-muted); font-weight: 600; } .dashboard-points-value { font-size: 2.2rem; font-weight: 700; line-height: 1.15; color: var(--gold); font-variant-numeric: tabular-nums; } .dashboard-points-main p { margin: 0.1rem 0 0; font-size: 0.85rem; } .dashboard-points-shop { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; } .dashboard-points-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; } @media (max-width: 700px) { .shop-order-actions { flex-wrap: wrap; justify-content: flex-end; width: 100%; } }