Div Erweiterungen

This commit is contained in:
2025-09-15 23:52:59 +02:00
parent ad6ba66220
commit 5ca7b0b19c
9 changed files with 2567 additions and 24 deletions

View File

@@ -585,4 +585,169 @@ body {
justify-content: center;
gap: 1.5rem;
}
}
/* Achievement Management Styles */
.achievement-controls {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.status-badge {
padding: 4px 8px;
border-radius: 12px;
font-size: 0.8em;
font-weight: 500;
}
.status-badge.active {
background: #4ade80;
color: #000;
}
.status-badge.inactive {
background: #6b7280;
color: #fff;
}
.progress-bar {
position: relative;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
height: 20px;
overflow: hidden;
min-width: 100px;
}
.progress-fill {
background: linear-gradient(90deg, #4ade80, #22c55e);
height: 100%;
transition: width 0.3s ease;
}
.progress-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 0.8em;
font-weight: 500;
color: #fff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.player-achievements {
max-height: 70vh;
overflow-y: auto;
}
.achievement-stats {
display: flex;
gap: 20px;
margin-bottom: 20px;
padding: 15px;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
font-size: 0.9em;
}
.achievements-list {
display: grid;
gap: 15px;
}
.achievement-item {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 15px;
transition: all 0.3s ease;
}
.achievement-item.completed {
border-color: #4ade80;
background: rgba(74, 222, 128, 0.1);
}
.achievement-item.not-completed {
border-color: #6b7280;
background: rgba(107, 114, 128, 0.1);
}
.achievement-header {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
}
.achievement-icon {
font-size: 1.5em;
}
.achievement-name {
font-weight: 600;
flex: 1;
}
.achievement-status {
font-size: 1.2em;
}
.achievement-details p {
margin-bottom: 10px;
color: rgba(255, 255, 255, 0.8);
line-height: 1.4;
}
.achievement-meta {
display: flex;
gap: 15px;
margin-bottom: 10px;
flex-wrap: wrap;
}
.achievement-meta span {
font-size: 0.8em;
color: rgba(255, 255, 255, 0.6);
background: rgba(255, 255, 255, 0.1);
padding: 2px 8px;
border-radius: 4px;
}
.achievement-actions {
display: flex;
gap: 10px;
justify-content: flex-end;
}
.achievement-actions .btn {
padding: 6px 12px;
font-size: 0.8em;
}
@media (max-width: 768px) {
.achievement-controls {
flex-direction: column;
}
.achievement-stats {
flex-direction: column;
gap: 10px;
}
.achievement-meta {
flex-direction: column;
gap: 5px;
}
.achievement-actions {
justify-content: center;
}
}