439 lines
31 KiB
CSS
439 lines
31 KiB
CSS
/* Siel-Panel - Farben wie lumina-ascendens.de, dazu das Smaragdgruen aus dem Elyos-Allianz-Logo */
|
|
:root {
|
|
--bg: #161616;
|
|
--bg-panel: #212121;
|
|
--bg-panel-alt: #2b2b2b;
|
|
--border: #383838;
|
|
--text: #e8e8e8;
|
|
--text-muted: #a0a0a0;
|
|
--gold: #c9a227;
|
|
--gold-hover: #e0b930;
|
|
--emerald: #2fbf5a;
|
|
--danger: #d9534f;
|
|
--success: #4caf50;
|
|
--discord: #5865f2;
|
|
--discord-hover: #4752c4;
|
|
--sidebar: 260px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
[hidden] { display: none !important; }
|
|
* { scrollbar-width: thin; scrollbar-color: rgba(201, 162, 39, 0.3) transparent; }
|
|
|
|
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; }
|
|
h1 { font-size: 1.6rem; margin: 0 0 1.25rem; color: var(--gold); font-weight: 600; }
|
|
h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
|
|
.muted { color: var(--text-muted); }
|
|
.small { font-size: 0.85rem; }
|
|
.nowrap { white-space: nowrap; }
|
|
input, select, textarea, button { font: inherit; }
|
|
|
|
/* ---------- Layout ---------- */
|
|
.shell { display: flex; min-height: 100vh; }
|
|
.nav-toggle { display: none; }
|
|
.topbar { display: none; }
|
|
|
|
.sidebar {
|
|
width: var(--sidebar);
|
|
flex-shrink: 0;
|
|
background: var(--bg-panel);
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.25rem 1rem 1rem;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
.brand img { display: block; width: 100%; max-width: 210px; margin: 0 auto; }
|
|
.brand-sub { text-align: center; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.35rem 0 1.25rem; }
|
|
|
|
.sidebar nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
|
|
.nav-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 1.1rem 0.6rem 0.35rem; }
|
|
.nav-link { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0.7rem; border-radius: 6px; color: var(--text); }
|
|
.nav-link > span { flex: 1; }
|
|
.nav-link .icon { color: var(--text-muted); flex-shrink: 0; }
|
|
.nav-link:hover .icon, .nav-link.active .icon { color: var(--gold); }
|
|
.nav-link.disabled .icon { opacity: 0.6; }
|
|
.btn-link.logout { display: inline-flex; padding: 0.3rem; border-radius: 6px; }
|
|
.btn-link.logout:hover { background: var(--bg-panel-alt); }
|
|
.nav-link:hover { background: var(--bg-panel-alt); color: var(--text); text-decoration: none; }
|
|
.nav-link.active { background: rgba(201, 162, 39, 0.14); color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
|
|
.nav-link.disabled { color: var(--text-muted); cursor: default; }
|
|
.nav-link.disabled:hover { background: none; }
|
|
.nav-link small { font-size: 0.7rem; border: 1px solid var(--border); border-radius: 999px; padding: 0 0.45rem; }
|
|
|
|
.me { display: flex; align-items: center; gap: 0.6rem; border-top: 1px solid var(--border); padding-top: 0.9rem; margin-top: 1rem; }
|
|
.me-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.me-name small { display: block; color: var(--text-muted); font-size: 0.75rem; }
|
|
|
|
.content { flex: 1; min-width: 0; padding: 2rem 2.25rem; max-width: 1200px; }
|
|
|
|
/* ---------- Bausteine ---------- */
|
|
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
|
|
.avatar-sm { width: 26px; height: 26px; }
|
|
|
|
.panel { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
|
|
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
|
|
.card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; }
|
|
.card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.35rem; }
|
|
.stat { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 600; }
|
|
.stat-sm { font-size: 1rem; }
|
|
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
|
|
.dot-on { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
|
|
.dot-off { background: var(--text-muted); }
|
|
.dot-err { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
|
|
|
|
.roadmap { margin: 0; padding-left: 1.2rem; }
|
|
.roadmap li { margin: 0.3rem 0; }
|
|
.plain { list-style: none; padding: 0; margin: 0; }
|
|
.plain li { padding: 0.25rem 0; }
|
|
|
|
.btn {
|
|
display: inline-block; border: 0; border-radius: 6px; cursor: pointer;
|
|
background: var(--gold); color: #1a1a1a; font-weight: 600; padding: 0.55rem 1.1rem;
|
|
}
|
|
.btn:hover { background: var(--gold-hover); color: #1a1a1a; text-decoration: none; }
|
|
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.85rem; }
|
|
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
|
|
.btn-danger:hover { background: var(--danger); color: #fff; }
|
|
.btn-discord { background: var(--discord); color: #fff; width: 100%; text-align: center; padding: 0.75rem 1rem; }
|
|
.btn-discord:hover { background: var(--discord-hover); color: #fff; }
|
|
.btn-link { background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 0.8rem; padding: 0; }
|
|
.btn-link:hover { color: var(--gold); }
|
|
|
|
.field { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.9rem 0 1.1rem; max-width: 520px; }
|
|
.field > span { font-size: 0.85rem; color: var(--text-muted); }
|
|
input[type=text], select, textarea {
|
|
background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 0.55rem 0.7rem; width: 100%;
|
|
}
|
|
input[type=text]:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
|
|
.checks, .areas-form { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
|
|
.check { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; cursor: pointer; }
|
|
.check input { accent-color: var(--gold); }
|
|
|
|
.flash { border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 1rem; border: 1px solid; }
|
|
.flash-success { border-color: rgba(76, 175, 80, 0.5); background: rgba(76, 175, 80, 0.1); }
|
|
.flash-error { border-color: rgba(217, 83, 79, 0.55); background: rgba(217, 83, 79, 0.1); }
|
|
|
|
.table-wrap { overflow-x: auto; }
|
|
.table { width: 100%; border-collapse: collapse; }
|
|
.table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; padding: 0.5rem; border-bottom: 1px solid var(--border); }
|
|
.table td { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
|
|
.table tr:last-child td { border-bottom: 0; }
|
|
.person { display: flex; align-items: center; gap: 0.6rem; }
|
|
|
|
/* ---------- Anmeldung ---------- */
|
|
.login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem 16px;
|
|
background: radial-gradient(circle at 50% 30%, rgba(47, 191, 90, 0.08), transparent 55%), var(--bg); }
|
|
.login-card { width: 100%; max-width: 400px; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; text-align: center; }
|
|
.login-logo { width: 100%; max-width: 300px; margin-bottom: 0.5rem; }
|
|
.login-card h1 { font-size: 1.25rem; margin-bottom: 0.25rem; }
|
|
.login-card .flash { text-align: left; }
|
|
.login-card .btn { margin-top: 1rem; }
|
|
|
|
/* ---------- Handy ---------- */
|
|
@media (max-width: 860px) {
|
|
.shell { flex-direction: column; }
|
|
.topbar { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 16px; background: var(--bg-panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
|
|
.topbar-menu { font-size: 1.4rem; cursor: pointer; color: var(--gold); line-height: 1; }
|
|
.topbar-logo { height: 34px; width: auto; }
|
|
.sidebar { position: fixed; left: 0; top: 0; z-index: 30; transform: translateX(-100%); transition: transform 0.2s; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); }
|
|
.nav-toggle:checked ~ .sidebar { transform: none; }
|
|
.content { padding: 1.25rem 16px; }
|
|
}
|
|
|
|
/* ---------- Seiten mit Einstellungen ---------- */
|
|
.page-head { margin-bottom: 1.25rem; }
|
|
.page-head h1 { margin-bottom: 0.25rem; }
|
|
.page-head p { margin: 0; }
|
|
h3 { font-size: 1rem; margin: 0 0 0.2rem; }
|
|
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
|
|
.panel-head p { margin: 0.1rem 0 0; }
|
|
.panel-body { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 0.5rem; }
|
|
.is-off { opacity: 0.45; }
|
|
.subpanel { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1.25rem; }
|
|
.subpanel .card-grid { margin-top: 1rem; }
|
|
.field-row { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
|
|
.field-row .field { flex: 1 1 200px; }
|
|
textarea { resize: vertical; min-height: 2.6rem; line-height: 1.45; }
|
|
.counter { align-self: flex-end; color: var(--text-muted); font-size: 0.75rem; }
|
|
.counter.over { color: var(--danger); }
|
|
.btn-secondary { background: var(--bg-panel-alt); color: var(--text); border: 1px solid var(--border); }
|
|
.btn-secondary:hover { background: #363636; color: var(--text); }
|
|
.btn-ghost { background: transparent; color: var(--gold); border: 1px dashed var(--border); }
|
|
.btn-ghost:hover { background: rgba(201, 162, 39, 0.1); color: var(--gold-hover); }
|
|
.btn-link.danger { color: var(--danger); }
|
|
|
|
/* Ein/Aus-Schalter */
|
|
.switch { position: relative; flex-shrink: 0; cursor: pointer; }
|
|
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
|
|
.switch-track { display: flex; align-items: center; width: 64px; height: 30px; border-radius: 999px; background: #4a4a4a; position: relative; transition: background 0.15s; font-size: 0.7rem; font-weight: 700; }
|
|
.switch-track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
|
|
.switch input:checked + .switch-track { background: var(--emerald); }
|
|
.switch input:checked + .switch-track::after { transform: translateX(34px); }
|
|
.switch input:focus-visible + .switch-track { outline: 2px solid var(--gold); outline-offset: 2px; }
|
|
.switch-label-on, .switch-label-off { position: absolute; }
|
|
.switch-label-on { left: 9px; color: #fff; opacity: 0; }
|
|
.switch-label-off { right: 8px; color: #ddd; }
|
|
.switch input:checked + .switch-track .switch-label-on { opacity: 1; }
|
|
.switch input:checked + .switch-track .switch-label-off { opacity: 0; }
|
|
|
|
/* Farbauswahl */
|
|
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.55rem; }
|
|
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); cursor: pointer; padding: 0; }
|
|
.swatch.active { outline: 2px solid var(--gold); outline-offset: 2px; }
|
|
.swatches input[type=color] { width: 30px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
|
|
|
|
/* Willkommenskarte */
|
|
.card-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
|
|
.card-preview { position: relative; aspect-ratio: 1024 / 450; background: var(--bg-panel-alt); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
|
|
.card-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
.card-preview img:not([src]) { visibility: hidden; }
|
|
.card-preview-state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); color: var(--text-muted); font-size: 0.9rem; padding: 1rem; text-align: center; }
|
|
.card-preview-state[hidden] { display: none; }
|
|
.bg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
|
|
.bg-actions input[type=file] { max-width: 100%; color: var(--text-muted); font-size: 0.85rem; }
|
|
input[type=range] { accent-color: var(--gold); width: 100%; }
|
|
|
|
/* Rollen */
|
|
.role-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.35rem; max-height: 320px; overflow-y: auto; margin: 0.75rem 0 0.5rem; padding: 0.25rem; }
|
|
.role-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.55rem; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; font-size: 0.9rem; min-width: 0; }
|
|
.role-item input { accent-color: var(--gold); }
|
|
.role-item.disabled { opacity: 0.45; cursor: not-allowed; }
|
|
.role-dot { width: 10px; height: 10px; border-radius: 50%; background: #99aab5; flex-shrink: 0; }
|
|
|
|
.placeholders { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0.5rem 0; }
|
|
.ph { font-size: 0.85rem; color: var(--text-muted); }
|
|
code { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 0 0.3rem; font-size: 0.85em; color: var(--gold); }
|
|
|
|
.savebar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: flex-end; align-items: center; gap: 0.75rem; flex-wrap: wrap;
|
|
background: rgba(22, 22, 22, 0.92); backdrop-filter: blur(6px); border-top: 1px solid var(--border); padding: 0.8rem 0; margin-top: 0.5rem; }
|
|
.savebar #dirty-note { margin-right: auto; color: var(--gold); }
|
|
|
|
/* ---------- Nachrichten-Editor ---------- */
|
|
.msg-editor { margin-top: 0.5rem; }
|
|
.msg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
|
|
.msg-form .field { max-width: none; margin: 0.6rem 0 0.8rem; }
|
|
.msg-preview-col { position: sticky; top: 1rem; }
|
|
.msg-preview-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.35rem; }
|
|
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 3px; margin-top: 0.5rem; }
|
|
.seg button { background: none; border: 0; color: var(--text-muted); padding: 0.35rem 0.9rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; font-weight: 600; }
|
|
.seg button.active { background: var(--bg-panel-alt); color: var(--text); }
|
|
.embed-form { border-left: 3px solid var(--border); padding-left: 0.9rem; }
|
|
.embed-fields { display: flex; flex-direction: column; gap: 0.6rem; }
|
|
.embed-field { display: flex; flex-direction: column; gap: 0.35rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem; }
|
|
.embed-field-actions { display: flex; justify-content: space-between; align-items: center; }
|
|
|
|
/* Discord-Vorschau */
|
|
.dc-preview { background: #313338; border-radius: 8px; padding: 0.9rem 1rem; font-family: "gg sans", "Noto Sans", "Segoe UI", sans-serif; font-size: 0.95rem; color: #dbdee1; overflow: hidden; }
|
|
.dc-msg { display: flex; gap: 0.85rem; }
|
|
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: #1e1f22; object-fit: cover; }
|
|
.dc-body { min-width: 0; flex: 1; }
|
|
.dc-head { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.1rem; }
|
|
.dc-name { color: #f2f3f5; font-weight: 600; }
|
|
.dc-bot { background: #5865f2; color: #fff; font-size: 0.62rem; font-weight: 700; border-radius: 3px; padding: 0 0.3rem; line-height: 1.35; }
|
|
.dc-time { color: #949ba4; font-size: 0.72rem; margin-left: 0.2rem; }
|
|
.dc-text { line-height: 1.375; overflow-wrap: anywhere; }
|
|
.dc-mention { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; }
|
|
.dc-emoji { width: 1.3em; height: 1.3em; vertical-align: -0.3em; }
|
|
.dc-spoiler { background: #1e1f22; color: #1e1f22; border-radius: 3px; }
|
|
.dc-quote { display: block; border-left: 4px solid #4e5058; padding-left: 0.6rem; }
|
|
.dc-li { display: block; padding-left: 1rem; position: relative; }
|
|
.dc-li::before { content: "\2022"; position: absolute; left: 0.2rem; }
|
|
.dc-h1 { display: block; font-size: 1.5rem; font-weight: 700; }
|
|
.dc-h2 { display: block; font-size: 1.25rem; font-weight: 700; }
|
|
.dc-h3 { display: block; font-size: 1.05rem; font-weight: 700; }
|
|
.dc-preview code { background: #2b2d31; border: 0; color: #dbdee1; }
|
|
.dc-code { background: #2b2d31; border-radius: 4px; padding: 0.4rem; margin: 0.2rem 0; white-space: pre-wrap; }
|
|
.dc-attachment { display: block; max-width: 100%; border-radius: 8px; margin-top: 0.35rem; }
|
|
.dc-embed { display: flex; gap: 1rem; background: #2b2d31; border-left: 4px solid #c9a227; border-radius: 4px; padding: 0.6rem 0.9rem 0.8rem 0.75rem; margin-top: 0.3rem; max-width: 520px; }
|
|
.dc-embed-main { min-width: 0; flex: 1; }
|
|
.dc-embed-author { font-size: 0.85rem; font-weight: 600; color: #f2f3f5; margin: 0.15rem 0 0.35rem; }
|
|
.dc-embed-title { font-weight: 700; color: #f2f3f5; margin: 0.15rem 0 0.35rem; overflow-wrap: anywhere; }
|
|
.dc-embed-desc { font-size: 0.875rem; line-height: 1.375; overflow-wrap: anywhere; }
|
|
.dc-embed-fields { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.5rem; }
|
|
.dc-embed-field { flex: 1 1 100%; min-width: 0; font-size: 0.875rem; }
|
|
.dc-embed-field.inline { flex: 1 1 28%; }
|
|
.dc-embed-fname { font-weight: 600; color: #f2f3f5; margin-bottom: 0.1rem; }
|
|
.dc-embed-image { display: block; max-width: 100%; border-radius: 4px; margin-top: 0.75rem; }
|
|
.dc-embed-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
|
|
.dc-embed-footer { font-size: 0.75rem; color: #b5bac1; margin-top: 0.5rem; }
|
|
|
|
@media (max-width: 1100px) {
|
|
.msg-grid, .card-grid { grid-template-columns: minmax(0, 1fr); }
|
|
.msg-preview-col { position: static; }
|
|
}
|
|
|
|
/* ---------- Reaktionsrollen ---------- */
|
|
.section-title { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0.5rem 0 0.75rem; }
|
|
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.9rem; margin-bottom: 1.5rem; }
|
|
.template-card { display: flex; flex-direction: column; gap: 0.3rem; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem; color: var(--text); }
|
|
.template-card:hover { border-color: var(--gold); text-decoration: none; color: var(--text); }
|
|
.template-card .tag { align-self: flex-start; margin-top: 0.3rem; }
|
|
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 0.1rem 0.55rem; background: var(--bg-panel-alt); color: var(--text-muted); border: 1px solid var(--border); vertical-align: middle; }
|
|
.tag-green { background: rgba(47, 191, 90, 0.14); color: #6fdc8c; border-color: rgba(47, 191, 90, 0.4); }
|
|
.tag-gold { background: rgba(201, 162, 39, 0.14); color: var(--gold); border-color: rgba(201, 162, 39, 0.45); }
|
|
h1 .tag { font-size: 0.75rem; margin-left: 0.5rem; }
|
|
.back-link { display: inline-block; font-size: 0.85rem; margin-bottom: 0.4rem; }
|
|
|
|
.rr-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
|
|
.rr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.8rem 1rem; }
|
|
.rr-name { font-weight: 600; font-size: 1.02rem; }
|
|
.rr-emojis { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; font-size: 1.1rem; }
|
|
.rr-status { text-align: right; }
|
|
.rr-actions { display: flex; gap: 0.4rem; align-items: center; }
|
|
.rr-actions form { margin: 0; }
|
|
|
|
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
|
|
.choice { position: relative; display: flex; flex-direction: column; gap: 0.1rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.65rem 0.8rem; cursor: pointer; }
|
|
.choice input { position: absolute; opacity: 0; }
|
|
.choice small { color: var(--text-muted); font-size: 0.8rem; }
|
|
.choice:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 39, 0.08); }
|
|
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
|
|
|
|
.rr-items { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
|
|
.rr-item { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem; }
|
|
.rr-item-buttons { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) auto auto; }
|
|
.rr-item-select { grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
|
|
.rr-emoji { position: relative; display: flex; gap: 0.3rem; }
|
|
.emoji-input { text-align: center; font-size: 1.1rem; padding: 0.4rem !important; }
|
|
.emoji-btn, .icon-btn { background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 6px; color: var(--text); cursor: pointer; padding: 0 0.55rem; min-height: 36px; }
|
|
.emoji-btn:hover, .icon-btn:hover:not(:disabled) { border-color: var(--gold); }
|
|
.icon-btn:disabled { opacity: 0.35; cursor: default; }
|
|
.icon-btn.danger { color: var(--danger); }
|
|
.rr-item-actions { display: flex; gap: 0.3rem; }
|
|
.style-pick { display: flex; gap: 0.35rem; }
|
|
.emoji-picker { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; width: 300px; max-width: 80vw; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 10px; padding: 0.6rem; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
|
|
.emoji-picker-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 0.2rem 0 0.35rem; }
|
|
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin-bottom: 0.5rem; }
|
|
.emoji-grid button { background: none; border: 0; border-radius: 6px; font-size: 1.25rem; padding: 0.2rem; cursor: pointer; }
|
|
.emoji-grid button:hover { background: var(--bg-panel-alt); }
|
|
.emoji-grid img { width: 24px; height: 24px; }
|
|
|
|
.dc-reactions { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }
|
|
.dc-reaction { display: inline-flex; align-items: center; gap: 0.35rem; background: #2b2d31; border: 1px solid #4e5058; border-radius: 8px; padding: 0.1rem 0.45rem; font-size: 0.9rem; }
|
|
.dc-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; max-width: 520px; }
|
|
.dc-button { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; border-radius: 4px; padding: 0.15rem 0.9rem; color: #fff; font-size: 0.875rem; font-weight: 500; }
|
|
.dc-button-primary { background: #5865f2; }
|
|
.dc-button-secondary { background: #4e5058; }
|
|
.dc-button-success { background: #248046; }
|
|
.dc-button-danger { background: #da373c; }
|
|
.dc-select { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; max-width: 400px; background: #1e1f22; border: 1px solid #1e1f22; border-radius: 4px; padding: 0.5rem 0.75rem; color: #949ba4; font-size: 0.9rem; }
|
|
|
|
@media (max-width: 860px) {
|
|
.rr-row { grid-template-columns: minmax(0, 1fr); }
|
|
.rr-status { text-align: left; }
|
|
.rr-item, .rr-item-buttons, .rr-item-select { grid-template-columns: minmax(0, 1fr); }
|
|
.choice-grid { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* ---------- Tickets ---------- */
|
|
.head-actions { display: flex; align-items: center; gap: 0.75rem; }
|
|
.chip { display: inline-block; font-size: 0.8rem; background: var(--bg-panel-alt); border: 1px solid var(--border); border-radius: 999px; padding: 0.05rem 0.55rem; }
|
|
.inline-form { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0; }
|
|
input[type=number] { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 0.45rem 0.6rem; }
|
|
input[type=number]:focus { outline: none; border-color: var(--gold); }
|
|
.input-sm { width: 5.5rem; }
|
|
.field-inline { flex-direction: row; align-items: center; gap: 0.6rem; flex: 0 1 auto !important; }
|
|
.field-row .check { flex: 1 1 260px; }
|
|
.cat-helper { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; background: var(--bg); border: 1px dashed var(--border); border-radius: 8px; padding: 0.55rem 0.8rem; margin: 0.9rem 0; }
|
|
.tk-types { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
|
|
.tk-type { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
|
|
.tk-type.open { border-color: rgba(201, 162, 39, 0.5); }
|
|
.tk-type-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; }
|
|
.tk-type-toggle { border: 0; cursor: pointer; margin-right: auto; font: inherit; }
|
|
.tk-type-body { border-top: 1px solid var(--border); padding: 0.3rem 0.9rem 0.6rem; }
|
|
.tk-type-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
|
|
.tk-type-row .field { max-width: none; }
|
|
@media (max-width: 860px) {
|
|
.tk-type-row { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* ---------- Moderation ---------- */
|
|
.tabs { display: flex; flex-direction: row; flex: none; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
|
|
.tabs a { padding: 0.55rem 0.9rem; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
|
|
.tabs a:hover { color: var(--text); text-decoration: none; }
|
|
.tabs a.active { color: var(--gold); border-bottom-color: var(--gold); }
|
|
.rule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; margin-top: 0.75rem; align-items: start; }
|
|
.rule-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.65rem 0.75rem; }
|
|
.rule-card.rule-on { border-color: rgba(47, 191, 90, 0.45); }
|
|
.rule-card.open { grid-column: 1 / -1; }
|
|
.rule-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.45rem; font-size: 0.9rem; color: var(--text-muted); }
|
|
.rule-card.rule-on .rule-head span { color: var(--text); }
|
|
.rule-head .icon-btn { min-height: 28px; padding: 0 0.45rem; }
|
|
.rule-settings { margin-top: 0.6rem; border-top: 1px solid var(--border); padding-top: 0.3rem; }
|
|
.rule-settings .field { max-width: none; }
|
|
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.2rem 0.75rem; max-height: 180px; overflow-y: auto; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 6px; padding: 0.45rem 0.6rem; }
|
|
.pun-list, .res-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
|
|
.pun-row { display: flex; gap: 0.6rem; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.55rem 0.7rem; }
|
|
.pun-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.6rem; flex: 1; }
|
|
.pun-main select { width: auto; }
|
|
.time-input { display: inline-flex; gap: 0.3rem; }
|
|
.select-sm { width: auto !important; padding: 0.45rem 0.5rem !important; }
|
|
.res-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 0.9rem; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.7rem; }
|
|
.audit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.4rem 1rem; margin-top: 0.5rem; }
|
|
.mt { margin-top: 1.25rem; }
|
|
.input-id { width: 13rem; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 0.45rem 0.6rem; }
|
|
.row-off td { opacity: 0.5; }
|
|
.tag-case-warn, .tag-case-automod { background: rgba(230, 126, 34, 0.15); color: #f0a35a; border-color: rgba(230, 126, 34, 0.4); }
|
|
.tag-case-timeout { background: rgba(52, 152, 219, 0.15); color: #7cc0ef; border-color: rgba(52, 152, 219, 0.4); }
|
|
.tag-case-kick, .tag-case-ban, .tag-case-tempban { background: rgba(217, 83, 79, 0.15); color: #ef8a87; border-color: rgba(217, 83, 79, 0.45); }
|
|
.tag-case-unban, .tag-case-untimeout { background: rgba(47, 191, 90, 0.14); color: #6fdc8c; border-color: rgba(47, 191, 90, 0.4); }
|
|
@media (max-width: 860px) {
|
|
.res-row { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.pun-row { align-items: flex-start; }
|
|
}
|
|
.input-label { width: 11rem; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 0.35rem 0.55rem; }
|
|
|
|
/* ---------- Abstimmungen ---------- */
|
|
.field-wide { max-width: none; }
|
|
.poll-options { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.5rem; }
|
|
.poll-option { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 0.5rem; align-items: center; }
|
|
.poll-results { display: flex; flex-direction: column; gap: 0.8rem; margin: 0.75rem 0; }
|
|
.poll-result-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.3rem; }
|
|
.poll-bar { height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
|
|
.poll-bar span { display: block; height: 100%; width: 0; background: var(--text-muted); border-radius: 999px; }
|
|
.poll-top .poll-bar span { background: var(--gold); }
|
|
.actions-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
|
|
.actions-row form { margin: 0; }
|
|
|
|
/* ---------- Fragebögen ---------- */
|
|
.head-btn { margin-left: 0.75rem; vertical-align: middle; font-size: 0.8rem; }
|
|
.qn-questions { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
|
|
.qn-q-toggle { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; background: none; border: 0; color: var(--text); cursor: pointer; text-align: left; font: inherit; padding: 0.2rem 0; }
|
|
.qn-q-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-panel-alt); color: var(--gold); font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
|
|
.qn-q-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.qn-req { align-self: center; margin-top: 1rem; }
|
|
.qn-options { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.4rem; }
|
|
.qn-option { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0.4rem; align-items: start; }
|
|
.qn-roles summary { cursor: pointer; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem 0.6rem; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.qn-roles[open] summary { border-color: var(--gold); }
|
|
.role-list-sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); max-height: 200px; }
|
|
.field-emoji { flex: 0 0 90px !important; }
|
|
.qn-dl { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 0.4rem 1rem; margin: 0.75rem 0 0; }
|
|
.qn-dl dt { color: var(--text-muted); font-size: 0.9rem; }
|
|
.qn-dl dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
@media (max-width: 860px) {
|
|
.qn-option { grid-template-columns: 64px minmax(0, 1fr) auto; }
|
|
.qn-option > :nth-child(3), .qn-option > :nth-child(4) { grid-column: 1 / -1; }
|
|
.qn-dl { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* ---------- Temporäre Sprachkanäle ---------- */
|
|
.tv-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.75rem 0; }
|
|
.tv-row { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.9rem 0.7rem; }
|
|
.tv-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 110px; gap: 0 0.9rem; }
|
|
.tv-grid .field { max-width: none; margin-bottom: 0.4rem; }
|
|
.tv-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
@media (max-width: 860px) { .tv-grid { grid-template-columns: minmax(0, 1fr); } }
|