dok/public/css/gildenhalle.css
2026-04-14 18:44:21 +01:00

629 lines
15 KiB
CSS

/* ── Gemeinsame Popup-Layout Klassen (wie bazaar.css) ────── */
.mp-wrap,
.mp-body-wrap {
display: flex;
width: 100%;
max-width: 100%;
height: 100%;
font-family: "Cinzel", serif;
overflow: hidden;
box-sizing: border-box;
}
.mp-tabs {
display: flex;
flex-direction: column;
gap: 6px;
padding: 16px 10px;
background: rgba(0,0,0,0.3);
border-right: 2px solid #6b4b2a;
min-width: 150px;
flex-shrink: 0;
overflow-y: auto;
}
.mp-tab {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 12px;
background: linear-gradient(135deg, #2a1a08, #1a0f04);
border: 2px solid #6b4b2a;
border-radius: 8px;
color: #c8a86a;
font-family: "Cinzel", serif;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
text-align: left;
white-space: nowrap;
}
.mp-tab:hover { color: #f0d9a6; filter: brightness(1.2); }
.mp-tab.mp-tab-active {
color: #fff !important;
border-color: #f0d060 !important;
background: linear-gradient(135deg, #4a3010, #2a1a08) !important;
box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 14px rgba(200,160,60,0.3);
}
.mp-tab-dot {
width: 10px; height: 10px;
border-radius: 50%; flex-shrink: 0;
border: 1px solid rgba(255,255,255,0.3);
background: #8b6a3c;
}
.mp-tab-active .mp-tab-dot {
background: #f0d060;
border-color: #f0d060;
}
.mp-content {
flex: 1;
min-width: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.mp-panel {
display: none;
flex: 1;
flex-direction: column;
overflow: hidden;
}
.mp-panel.active { display: flex; }
.mp-col-header {
font-family: "Cinzel", serif;
font-size: 15px;
font-weight: 700;
color: #f0d9a6;
letter-spacing: 1px;
text-transform: uppercase;
padding: 10px 20px;
background: linear-gradient(#3a2810cc, #1a0f04cc);
border-bottom: 2px solid #6b4b2a;
flex-shrink: 0;
}
.mp-panel-body {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
overflow-y: auto;
padding: 20px;
}
.baz-header-right {
display: flex;
align-items: center;
gap: 14px;
}
/* ─────────────────────────────────────────────────────── */
/* ============================================================
public/css/gildenhalle.css
============================================================ */
/* ── Gilden-spezifische Farben ───────────────────────────── */
:root {
--guild-gold: #f0d060;
--guild-border: #8b6a3c;
--guild-dark: #1a0f04;
--guild-mid: #2a1a08;
--guild-text: #f0d9a6;
--guild-muted: #a08060;
--guild-green: #4aaa30;
--guild-red: #cc3030;
}
/* ── Mitglieder-Tabelle ─────────────────────────────────── */
.gh-members-table {
width: 100%;
border-collapse: collapse;
font-family: "Cinzel", serif;
font-size: 12px;
}
.gh-members-table th {
color: var(--guild-muted);
font-size: 10px;
letter-spacing: 1px;
text-transform: uppercase;
padding: 6px 10px;
border-bottom: 1px solid var(--guild-border);
text-align: left;
}
.gh-members-table td {
padding: 7px 10px;
border-bottom: 1px solid rgba(139,106,42,.2);
color: var(--guild-text);
vertical-align: middle;
}
.gh-members-table tr:hover td {
background: rgba(255,255,255,.03);
}
/* ── Rang-Badge ─────────────────────────────────────────── */
.gh-rank-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 10px;
font-size: 10px;
font-weight: bold;
background: linear-gradient(#3a2810, #1a0f04);
border: 1px solid var(--guild-border);
color: var(--guild-gold);
white-space: nowrap;
}
.gh-rank-badge.leader {
border-color: var(--guild-gold);
background: linear-gradient(#6b4b2a, #3c2414);
box-shadow: 0 0 6px rgba(200,160,60,.3);
}
/* ── Gilden-Karten im Suchraster ────────────────────────── */
.gh-guild-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
padding: 12px 14px;
overflow-y: auto;
align-content: start;
}
.gh-guild-card {
background: linear-gradient(135deg, var(--guild-mid), var(--guild-dark));
border: 2px solid var(--guild-border);
border-radius: 10px;
padding: 12px 14px;
display: flex;
flex-direction: column;
gap: 6px;
transition: .2s;
cursor: default;
}
.gh-guild-card:hover {
border-color: var(--guild-gold);
box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 10px rgba(200,160,60,.15);
}
.gh-guild-header {
display: flex;
align-items: center;
gap: 8px;
}
.gh-guild-tag {
background: linear-gradient(#6b4b2a, #3c2414);
border: 1px solid var(--guild-gold);
border-radius: 6px;
padding: 2px 8px;
font-family: "Cinzel", serif;
font-size: 12px;
font-weight: bold;
color: var(--guild-gold);
flex-shrink: 0;
}
.gh-guild-name {
font-family: "Cinzel", serif;
font-size: 13px;
font-weight: bold;
color: var(--guild-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.gh-guild-desc {
font-family: "Cinzel", serif;
font-size: 10px;
color: var(--guild-muted);
line-height: 1.5;
flex: 1;
}
.gh-guild-meta {
display: flex;
justify-content: space-between;
font-family: "Cinzel", serif;
font-size: 10px;
color: var(--guild-muted);
}
.gh-guild-open {
color: var(--guild-green);
font-weight: bold;
}
.gh-guild-closed {
color: #e0a030;
font-weight: bold;
}
.gh-join-btn {
margin-top: 4px;
padding: 5px 0;
background: linear-gradient(#3a2810, #1a0f04);
border: 2px solid var(--guild-border);
border-radius: 6px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 11px;
font-weight: bold;
cursor: pointer;
transition: .15s;
width: 100%;
}
.gh-join-btn:hover:not(:disabled) {
border-color: var(--guild-gold);
color: #fff;
}
.gh-join-btn:disabled {
opacity: .45;
cursor: not-allowed;
}
.gh-join-btn.pending {
border-color: #e0a030;
color: #e0a030;
}
/* ── Gilde gründen ──────────────────────────────────────── */
.gh-create-form {
padding: 16px 20px;
display: flex;
flex-direction: column;
gap: 12px;
max-width: 440px;
}
.gh-form-row {
display: flex;
flex-direction: column;
gap: 4px;
}
.gh-form-label {
font-family: "Cinzel", serif;
font-size: 11px;
color: var(--guild-muted);
letter-spacing: 1px;
}
.gh-form-input,
.gh-form-textarea,
.gh-form-select {
background: rgba(0,0,0,.5);
border: 2px solid var(--guild-border);
border-radius: 7px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 13px;
padding: 7px 10px;
outline: none;
transition: border-color .15s;
}
.gh-form-input:focus,
.gh-form-textarea:focus,
.gh-form-select:focus { border-color: var(--guild-gold); }
.gh-form-textarea { resize: vertical; min-height: 70px; }
.gh-form-select { cursor: pointer; }
.gh-create-btn {
padding: 10px 0;
background: linear-gradient(#6b4b2a, #3c2414);
border: 2px solid var(--guild-gold);
border-radius: 8px;
color: #fff5cc;
font-family: "Cinzel", serif;
font-size: 13px;
font-weight: bold;
cursor: pointer;
transition: .2s;
letter-spacing: 2px;
}
.gh-create-btn:hover {
box-shadow: 0 0 14px rgba(200,160,60,.4);
}
.gh-error-msg {
font-family: "Cinzel", serif;
font-size: 11px;
color: #ff6666;
text-align: center;
}
/* ── Aufgaben ────────────────────────────────────────────── */
.gh-tasks-list {
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px 16px;
overflow-y: auto;
}
.gh-task-card {
background: linear-gradient(135deg, var(--guild-mid), var(--guild-dark));
border: 2px solid var(--guild-border);
border-radius: 10px;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 8px;
transition: .2s;
}
.gh-task-card.completed {
border-color: var(--guild-green);
opacity: .75;
}
.gh-task-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.gh-task-label {
font-family: "Cinzel", serif;
font-size: 13px;
color: var(--guild-text);
font-weight: bold;
}
.gh-task-reward {
font-family: "Cinzel", serif;
font-size: 11px;
color: var(--guild-gold);
}
.gh-task-done-badge {
font-family: "Cinzel", serif;
font-size: 11px;
color: var(--guild-green);
font-weight: bold;
}
.gh-task-progress-wrap {
display: flex;
flex-direction: column;
gap: 4px;
}
.gh-task-bar-track {
height: 8px;
background: rgba(255,255,255,.08);
border-radius: 4px;
overflow: hidden;
border: 1px solid rgba(139,106,42,.3);
}
.gh-task-bar-fill {
height: 100%;
background: linear-gradient(90deg, #4a8a3c, #7ada60);
border-radius: 4px;
transition: width .5s ease;
}
.gh-task-bar-fill.completed {
background: linear-gradient(90deg, var(--guild-green), #8aff60);
}
.gh-task-progress-text {
font-family: "Cinzel", serif;
font-size: 10px;
color: var(--guild-muted);
display: flex;
justify-content: space-between;
}
/* ── Anfragen-Liste ─────────────────────────────────────── */
.gh-requests-list {
display: flex;
flex-direction: column;
gap: 6px;
padding: 8px 0;
}
.gh-request-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
background: rgba(0,0,0,.25);
border: 1px solid rgba(139,106,42,.25);
border-radius: 7px;
gap: 10px;
}
.gh-request-name {
font-family: "Cinzel", serif;
font-size: 12px;
color: var(--guild-text);
flex: 1;
}
.gh-request-msg {
font-family: "Cinzel", serif;
font-size: 10px;
color: var(--guild-muted);
font-style: italic;
flex: 2;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gh-req-accept,
.gh-req-reject {
padding: 4px 12px;
border-radius: 5px;
font-family: "Cinzel", serif;
font-size: 10px;
font-weight: bold;
cursor: pointer;
transition: .15s;
flex-shrink: 0;
}
.gh-req-accept {
background: linear-gradient(#1a4a18, #0f2a0e);
border: 2px solid #4a8a3c;
color: #a0e090;
}
.gh-req-accept:hover { border-color: #7ada60; }
.gh-req-reject {
background: linear-gradient(#4a1010, #2a0808);
border: 2px solid #8a3030;
color: #e07070;
}
.gh-req-reject:hover { border-color: #ff6060; }
/* ── Meine Gilde Info-Box ───────────────────────────────── */
.gh-my-info {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
background: rgba(0,0,0,.3);
border-bottom: 1px solid var(--guild-border);
flex-shrink: 0;
}
.gh-my-tag {
font-family: "Cinzel", serif;
font-size: 20px;
font-weight: bold;
color: var(--guild-gold);
background: linear-gradient(#6b4b2a, #3c2414);
border: 2px solid var(--guild-gold);
border-radius: 8px;
padding: 4px 12px;
}
.gh-my-name {
font-family: "Cinzel", serif;
font-size: 16px;
font-weight: bold;
color: var(--guild-text);
}
.gh-my-sub {
font-family: "Cinzel", serif;
font-size: 11px;
color: var(--guild-muted);
}
.gh-leave-btn {
margin-left: auto;
padding: 6px 16px;
background: linear-gradient(#3a1010, #1a0808);
border: 2px solid #6a2020;
border-radius: 7px;
color: #d08080;
font-family: "Cinzel", serif;
font-size: 11px;
cursor: pointer;
transition: .15s;
}
.gh-leave-btn:hover { border-color: #cc4040; color: #ff9090; }
/* ── Suche ──────────────────────────────────────────────── */
.gh-search-bar {
display: flex;
gap: 8px;
padding: 10px 14px;
border-bottom: 1px solid rgba(139,106,42,.3);
flex-shrink: 0;
}
.gh-search-input {
flex: 1;
background: rgba(0,0,0,.5);
border: 2px solid var(--guild-border);
border-radius: 7px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 12px;
padding: 6px 10px;
outline: none;
}
.gh-search-input:focus { border-color: var(--guild-gold); }
.gh-search-btn {
padding: 6px 16px;
background: linear-gradient(#3a2810, #1a0f04);
border: 2px solid var(--guild-border);
border-radius: 7px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 12px;
cursor: pointer;
transition: .15s;
}
.gh-search-btn:hover { border-color: var(--guild-gold); }
/* ── Keine Gilde Hinweis ────────────────────────────────── */
.gh-no-guild {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
gap: 12px;
font-family: "Cinzel", serif;
color: var(--guild-muted);
text-align: center;
padding: 24px;
}
.gh-no-guild-icon { font-size: 42px; }
.gh-no-guild-text { font-size: 13px; line-height: 1.8; }
/* ── Pagination ─────────────────────────────────────────── */
.gh-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
padding: 8px;
border-top: 1px solid rgba(139,106,42,.3);
flex-shrink: 0;
}
.gh-page-btn {
background: linear-gradient(#3a2810, #1a0f04);
border: 1px solid var(--guild-border);
border-radius: 5px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 11px;
padding: 3px 10px;
cursor: pointer;
transition: .15s;
}
.gh-page-btn:hover:not(:disabled) { border-color: var(--guild-gold); }
.gh-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.gh-page-btn.active {
background: linear-gradient(#6b4b2a, #3c2414);
border-color: var(--guild-gold);
}
/* ── Lade/Leer-Zustand ──────────────────────────────────── */
.gh-loading, .gh-empty {
text-align: center;
padding: 40px;
font-family: "Cinzel", serif;
font-size: 13px;
color: var(--guild-muted);
}
/* ── Section-Header innerhalb Panel ────────────────────── */
.gh-section-title {
font-family: "Cinzel", serif;
font-size: 12px;
color: var(--guild-gold);
letter-spacing: 2px;
text-transform: uppercase;
padding: 8px 16px 4px;
border-bottom: 1px solid rgba(139,106,42,.25);
flex-shrink: 0;
}
/* ── Rang-Select in Mitglieder-Tabelle ──────────────────── */
.gh-rank-select {
background: rgba(0,0,0,.5);
border: 1px solid var(--guild-border);
border-radius: 5px;
color: var(--guild-text);
font-family: "Cinzel", serif;
font-size: 11px;
padding: 2px 5px;
cursor: pointer;
}
.gh-kick-btn {
padding: 2px 8px;
background: linear-gradient(#4a1010, #2a0808);
border: 1px solid #8a3030;
border-radius: 5px;
color: #e07070;
font-family: "Cinzel", serif;
font-size: 10px;
cursor: pointer;
transition: .15s;
}
.gh-kick-btn:hover { border-color: #cc4040; }