Div Erweiterungen
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -1552,6 +1552,226 @@ input:checked+.toggle-slider:before {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
/* Analytics and Statistics Styles */
|
||||
.analytics-section, .statistics-section {
|
||||
margin: 2rem 0;
|
||||
padding: 1.5rem;
|
||||
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
|
||||
border-radius: 10px;
|
||||
border: 1px solid #34495e;
|
||||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.section-header {
|
||||
text-align: center;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.section-header h2 {
|
||||
color: #ecf0f1;
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 2rem;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.section-header p {
|
||||
color: #bdc3c7;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.analytics-grid, .statistics-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.analytics-card, .statistics-card {
|
||||
background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid #34495e;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.analytics-card:hover, .statistics-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.analytics-card h3, .statistics-card h3 {
|
||||
color: #ecf0f1;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.2rem;
|
||||
border-bottom: 2px solid #3498db;
|
||||
padding-bottom: 0.5rem;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/* Mini Stats in Cards */
|
||||
.analytics-stats, .statistics-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.mini-stat {
|
||||
text-align: center;
|
||||
padding: 0.5rem;
|
||||
background: rgba(52, 73, 94, 0.6);
|
||||
border-radius: 5px;
|
||||
border: 1px solid #34495e;
|
||||
}
|
||||
|
||||
.mini-stat-number {
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
color: #ecf0f1;
|
||||
margin-bottom: 0.25rem;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.mini-stat-label {
|
||||
font-size: 0.8rem;
|
||||
color: #bdc3c7;
|
||||
}
|
||||
|
||||
/* Trend Stats */
|
||||
.trend-stats, .activity-stats, .monthly-stats, .consistency-stats, .progress-stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.trend-item, .activity-item, .monthly-item, .consistency-item, .progress-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
background: rgba(52, 73, 94, 0.6);
|
||||
border-radius: 5px;
|
||||
border: 1px solid #34495e;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.trend-label, .activity-label, .monthly-label, .consistency-label, .progress-label {
|
||||
font-weight: 500;
|
||||
color: #bdc3c7;
|
||||
}
|
||||
|
||||
.trend-value, .activity-value, .monthly-value, .consistency-value, .progress-value {
|
||||
font-weight: bold;
|
||||
color: #ecf0f1;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
/* Personal Records */
|
||||
.personal-records {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.record-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: rgba(52, 73, 94, 0.6);
|
||||
border-radius: 5px;
|
||||
border-left: 4px solid #3498db;
|
||||
border: 1px solid #34495e;
|
||||
}
|
||||
|
||||
.record-rank {
|
||||
font-weight: bold;
|
||||
color: #e74c3c;
|
||||
font-size: 1.1rem;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.record-time {
|
||||
font-weight: bold;
|
||||
color: #ecf0f1;
|
||||
font-family: 'Courier New', monospace;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.record-location {
|
||||
color: #bdc3c7;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Location Performance */
|
||||
.location-stats {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.location-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: rgba(52, 73, 94, 0.6);
|
||||
border-radius: 5px;
|
||||
border: 1px solid #34495e;
|
||||
}
|
||||
|
||||
.location-name {
|
||||
font-weight: 500;
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
.location-best {
|
||||
font-weight: bold;
|
||||
color: #27ae60;
|
||||
font-family: 'Courier New', monospace;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.location-runs {
|
||||
color: #bdc3c7;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Ranking Stats */
|
||||
.ranking-stats {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.ranking-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: rgba(52, 73, 94, 0.6);
|
||||
border-radius: 5px;
|
||||
border: 1px solid #34495e;
|
||||
}
|
||||
|
||||
.ranking-category {
|
||||
font-weight: 500;
|
||||
color: #ecf0f1;
|
||||
}
|
||||
|
||||
.ranking-position {
|
||||
font-weight: bold;
|
||||
color: #e74c3c;
|
||||
font-size: 1.1rem;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.ranking-total {
|
||||
color: #bdc3c7;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Responsive Settings */
|
||||
@media (max-width: 768px) {
|
||||
.setting-item {
|
||||
|
||||
Reference in New Issue
Block a user