Streamline common CSS styles.

This commit is contained in:
2025-07-11 09:48:55 +02:00
committed by Jens Luedicke
parent 5f54b02684
commit f8d9b3c47e
6 changed files with 397 additions and 923 deletions

View File

@@ -276,100 +276,14 @@
</div>
<style>
/* Container */
.system-dashboard-container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
/* Page Header */
.page-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 16px;
padding: 2rem;
margin-bottom: 2rem;
color: white;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 2rem;
}
.page-title {
font-size: 2rem;
font-weight: 700;
margin: 0;
display: flex;
align-items: center;
gap: 0.75rem;
}
.page-icon {
font-size: 2.5rem;
display: inline-block;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.page-subtitle {
font-size: 1.1rem;
opacity: 0.9;
margin: 0.5rem 0 0 0;
}
/* System dashboard specific styles */
.header-actions {
display: flex;
gap: 1rem;
}
/* Stats Section */
.stats-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
.stat-card {
background: white;
padding: 1.5rem;
border-radius: 12px;
text-align: center;
border: 1px solid #e5e7eb;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: all 0.3s ease;
position: relative;
}
.stat-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.stat-value {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: #667eea;
}
.stat-label {
font-size: 0.9rem;
color: #6b7280;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
}
/* Stats section styles already in common style.css */
.stat-link {
position: absolute;
@@ -426,18 +340,7 @@
font-size: 0.95rem;
}
/* Content Grid */
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
@media (max-width: 1024px) {
.content-grid {
grid-template-columns: 1fr;
}
}
/* Content grid styles already in common style.css */
/* Cards */
.card {
@@ -576,12 +479,7 @@
color: #6b7280;
}
/* Action Grid */
.action-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
/* Action grid styles already in common style.css */
.action-item {
display: flex;
@@ -686,31 +584,7 @@
color: #065f46;
}
/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
/* System dashboard specific button styles */
.btn-secondary {
background: white;
color: #667eea;
@@ -745,10 +619,7 @@
border-color: #667eea;
}
.btn-sm {
font-size: 0.875rem;
padding: 0.5rem 1rem;
}
/* btn-sm already in common style.css */
/* Empty State */
.empty-message {
@@ -758,34 +629,17 @@
font-style: italic;
}
/* Responsive Design */
/* System dashboard specific responsive styles */
@media (max-width: 768px) {
.system-dashboard-container {
padding: 1rem;
}
.page-header {
padding: 1.5rem;
}
.page-title {
font-size: 1.75rem;
}
.header-content {
flex-direction: column;
text-align: center;
}
.header-actions {
width: 100%;
flex-direction: column;
}
.action-grid {
grid-template-columns: 1fr;
}
.alert-banner {
flex-direction: column;
text-align: center;