Dateien nach "css" hochladen
This commit is contained in:
277
css/style.css
Normal file
277
css/style.css
Normal file
@@ -0,0 +1,277 @@
|
||||
/* --- LITEBANS PROFESSIONAL THEME --- */
|
||||
:root {
|
||||
/* Light Mode Standardwerte */
|
||||
--lb-bg-body: #f4f6f9;
|
||||
--lb-bg-card: #ffffff;
|
||||
--lb-primary: #2271b1;
|
||||
--lb-primary-hover: #135e96;
|
||||
--lb-text-main: #1f2937;
|
||||
--lb-text-muted: #6b7280;
|
||||
--lb-border: #e5e7eb;
|
||||
--lb-input-bg: #ffffff;
|
||||
--lb-header-bg: #f6f7f7;
|
||||
--lb-table-hover: #f9fafb;
|
||||
|
||||
/* Status Colors Light */
|
||||
--lb-active: #d63638;
|
||||
--lb-permanent: #7f1d1d;
|
||||
--lb-muted: #dba617;
|
||||
--lb-warn: #8b5cf6;
|
||||
--lb-kick: #ea580c; /* Orange für Kicks */
|
||||
--lb-expired: #00a32a;
|
||||
--lb-grey: #9ca3af;
|
||||
}
|
||||
|
||||
/* --- DARK MODE OVERRIDES --- */
|
||||
.litebans-wrapper.dark-mode {
|
||||
--lb-bg-body: #111827;
|
||||
--lb-bg-card: #1f2937;
|
||||
--lb-primary: #3b82f6;
|
||||
--lb-primary-hover: #60a5fa;
|
||||
--lb-text-main: #f3f4f6;
|
||||
--lb-text-muted: #9ca3af;
|
||||
--lb-border: #374151;
|
||||
--lb-input-bg: #374151;
|
||||
--lb-header-bg: #374151;
|
||||
--lb-table-hover: #374151;
|
||||
|
||||
--lb-active: #fca5a5;
|
||||
--lb-permanent: #ef4444;
|
||||
--lb-muted: #fcd34d;
|
||||
--lb-warn: #a78bfa;
|
||||
--lb-kick: #fb923c;
|
||||
--lb-expired: #6ee7b7;
|
||||
}
|
||||
|
||||
/* Grund Layout */
|
||||
.litebans-wrapper {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
color: var(--lb-text-main);
|
||||
line-height: 1.5;
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
.litebans-card {
|
||||
background: var(--lb-bg-card);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
border: 1px solid var(--lb-border);
|
||||
overflow: hidden;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.litebans-header {
|
||||
padding: 16px 24px;
|
||||
border-bottom: 1px solid var(--lb-border);
|
||||
background: var(--lb-header-bg);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.litebans-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
color: var(--lb-text-main);
|
||||
}
|
||||
|
||||
/* Controls Area */
|
||||
.litebans-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.litebans-theme-toggle {
|
||||
background: var(--lb-bg-card);
|
||||
border: 1px solid var(--lb-border);
|
||||
color: var(--lb-text-main);
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.litebans-theme-toggle:hover { background: var(--lb-border); }
|
||||
.litebans-theme-toggle svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor;}
|
||||
|
||||
/* Search Bar */
|
||||
.litebans-input {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #8c8f94;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
min-width: 200px;
|
||||
background: var(--lb-input-bg);
|
||||
color: var(--lb-text-main);
|
||||
}
|
||||
.litebans-btn {
|
||||
background: var(--lb-primary);
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
.litebans-btn:hover { background: var(--lb-primary-hover); }
|
||||
|
||||
/* --- TABS SYSTEM --- */
|
||||
.litebans-tabs {
|
||||
display: flex;
|
||||
border-bottom: 1px solid var(--lb-border);
|
||||
background: var(--lb-bg-card);
|
||||
padding: 0 16px;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.litebans-tab-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 12px 16px;
|
||||
cursor: pointer;
|
||||
font-weight: 500;
|
||||
color: var(--lb-text-muted);
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: all 0.2s;
|
||||
font-size: 14px;
|
||||
}
|
||||
.litebans-tab-btn:hover { color: var(--lb-primary); }
|
||||
.litebans-tab-btn.active {
|
||||
color: var(--lb-text-main);
|
||||
border-bottom-color: var(--lb-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
.litebans-tab-content {
|
||||
display: none;
|
||||
padding: 20px;
|
||||
animation: fadeIn 0.3s ease-in-out;
|
||||
}
|
||||
.litebans-tab-content.active { display: block; }
|
||||
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
|
||||
|
||||
/* --- TABLE DESIGN --- */
|
||||
.litebans-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 14px;
|
||||
}
|
||||
.litebans-table th {
|
||||
text-align: left;
|
||||
padding: 12px 16px;
|
||||
color: var(--lb-text-muted);
|
||||
font-weight: 600;
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
background: var(--lb-header-bg);
|
||||
border-bottom: 1px solid var(--lb-border);
|
||||
}
|
||||
.litebans-table td {
|
||||
padding: 14px 16px;
|
||||
border-bottom: 1px solid var(--lb-border);
|
||||
vertical-align: middle;
|
||||
color: var(--lb-text-main);
|
||||
}
|
||||
.litebans-table tr:hover td { background-color: var(--lb-table-hover); }
|
||||
|
||||
.litebans-avatar-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.litebans-avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 2px solid white;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
/* Antrag Button */
|
||||
.litebans-unban-link {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
color: var(--lb-primary);
|
||||
text-decoration: none;
|
||||
border: 1px solid var(--lb-border);
|
||||
padding: 6px 12px;
|
||||
border-radius: 4px;
|
||||
font-weight: 600;
|
||||
transition: all 0.2s;
|
||||
background: var(--lb-bg-card);
|
||||
}
|
||||
.litebans-unban-link:hover {
|
||||
background: var(--lb-primary);
|
||||
color: #fff;
|
||||
border-color: var(--lb-primary);
|
||||
}
|
||||
|
||||
/* BADGES */
|
||||
.litebans-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 3px 8px;
|
||||
border-radius: 99px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.litebans-badge.active { background: rgba(214, 54, 56, 0.1); color: var(--lb-active); }
|
||||
.litebans-badge.permanent {
|
||||
background: var(--lb-permanent);
|
||||
color: white;
|
||||
}
|
||||
.litebans-badge.muted { background: rgba(219, 166, 23, 0.1); color: var(--lb-muted); }
|
||||
.litebans-badge.warn { background: rgba(139, 92, 246, 0.1); color: var(--lb-warn); }
|
||||
.litebans-badge.kick { background: rgba(234, 88, 12, 0.1); color: var(--lb-kick); }
|
||||
.litebans-badge.expired { background: rgba(0, 163, 42, 0.1); color: var(--lb-expired); }
|
||||
.litebans-empty { text-align: center; padding: 40px; color: var(--lb-text-muted); }
|
||||
|
||||
/* --- UNBAN FORM --- */
|
||||
.litebans-unban-form-container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
background: var(--lb-bg-card);
|
||||
padding: 30px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--lb-border);
|
||||
}
|
||||
.litebans-unban-header { margin-bottom: 20px; border-bottom: 1px solid var(--lb-border); padding-bottom: 10px; }
|
||||
.litebans-form-group { margin-bottom: 20px; }
|
||||
.litebans-form-label { display: block; margin-bottom: 8px; font-weight: 600; }
|
||||
.litebans-form-control { width: 100%; padding: 10px; background: var(--lb-input-bg); border: 1px solid var(--lb-border); color: var(--lb-text-main); border-radius: 4px; }
|
||||
.litebans-form-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 30px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--lb-border);
|
||||
}
|
||||
.litebans-backlink { color: var(--lb-text-muted); text-decoration: none; font-weight: 500;}
|
||||
.litebans-backlink:hover { color: var(--lb-primary); }
|
||||
|
||||
/* Admin Legacy Styles */
|
||||
.lb-status { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; }
|
||||
.label-active { background: #fef2f2; color: #d63638; }
|
||||
.label-inactive { background: #f0f0f1; color: #646970; }
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.litebans-table, .litebans-table tbody, .litebans-table tr, .litebans-table td { display: block; width: 100%; }
|
||||
.litebans-table thead { display: none; }
|
||||
.litebans-table tr { border: 1px solid var(--lb-border); border-radius: 8px; margin-bottom: 16px; padding: 12px; }
|
||||
.litebans-table td { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--lb-border); }
|
||||
.litebans-table td::before { content: attr(data-label); font-weight: 600; color: var(--lb-text-muted); margin-right: 10px; }
|
||||
.litebans-controls { flex-direction: column; align-items: stretch; width: 100%; }
|
||||
.litebans-tabs { overflow-x: auto; white-space: nowrap; }
|
||||
}
|
||||
Reference in New Issue
Block a user