some ui changes and docs

This commit is contained in:
Doar Mihai
2026-03-28 22:07:06 +02:00
parent 612cc097f8
commit fab6105751
10 changed files with 247 additions and 75 deletions
+11 -11
View File
@@ -33,7 +33,7 @@
}
.stat-card.primary {
--card-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--card-accent: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.stat-card.success {
@@ -82,8 +82,8 @@
}
.stat-icon.primary {
--icon-gradient: linear-gradient(135deg, #667eea, #764ba2);
color: #667eea;
--icon-gradient: linear-gradient(135deg, #06b6d4, #0891b2);
color: #06b6d4;
}
.stat-icon.success {
@@ -168,7 +168,7 @@
}
.chart-card .card-title i {
color: var(--indigo-600);
color: #0ea5e9;
}
/* Modern Table */
@@ -227,7 +227,7 @@
width: 48px;
height: 48px;
border-radius: 12px;
background: linear-gradient(135deg, #667eea, #764ba2);
background: linear-gradient(135deg, #06b6d4, #0891b2);
display: flex;
align-items: center;
justify-content: center;
@@ -332,13 +332,13 @@
.btn-action:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}
.btn-action.btn-outline-primary:hover {
background: var(--indigo-600);
background: #0ea5e9;
color: white;
border-color: var(--indigo-600);
border-color: #0ea5e9;
}
/* Empty State */
@@ -351,7 +351,7 @@
font-size: 5rem;
opacity: 0.15;
margin-bottom: 2rem;
background: linear-gradient(135deg, #667eea, #764ba2);
background: linear-gradient(135deg, #06b6d4, #0891b2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
@@ -701,11 +701,11 @@ document.addEventListener('DOMContentLoaded', function() {
labels: chartData.labels,
datasets: chartData.datasets.map((dataset, index) => {
const colors = [
{ border: '#667eea', bg: 'rgba(102, 126, 234, 0.1)' },
{ border: '#06b6d4', bg: 'rgba(6, 182, 212, 0.1)' },
{ border: '#10b981', bg: 'rgba(16, 185, 129, 0.1)' },
{ border: '#f59e0b', bg: 'rgba(245, 158, 11, 0.1)' },
{ border: '#ef4444', bg: 'rgba(239, 68, 68, 0.1)' },
{ border: '#3b82f6', bg: 'rgba(59, 130, 246, 0.1)' },
{ border: '#0ea5e9', bg: 'rgba(14, 165, 233, 0.1)' },
];
const color = colors[index % colors.length];
+1 -1
View File
@@ -179,7 +179,7 @@ document.addEventListener('DOMContentLoaded', function() {
datasets: [{
label: 'Response Time (ms)',
data: responseData,
borderColor: 'rgb(13, 110, 253)',
borderColor: 'rgb(14, 165, 233)',
backgroundColor: backgroundColors,
borderWidth: 2,
fill: false,
+3 -3
View File
@@ -20,8 +20,8 @@
--text-primary: #111827;
--text-secondary: #6b7280;
--border-color: #e5e7eb;
--indigo-600: #4f46e5;
--indigo-700: #4338ca;
--indigo-600: #0ea5e9;
--indigo-700: #0284c7;
}
.dark {
@@ -80,7 +80,7 @@
.sidebar-nav-link:hover,
.sidebar-nav-link.active {
background-color: rgba(79, 70, 229, 0.1);
background-color: rgba(14, 165, 233, 0.1);
color: var(--indigo-600);
}
+2 -2
View File
@@ -146,8 +146,8 @@ document.addEventListener('DOMContentLoaded', function() {
datasets: [{
label: 'Response Time (ms)',
data: @json($uptimeChecks->pluck('response_time')->reverse()),
borderColor: '#667eea',
backgroundColor: 'rgba(102, 126, 234, 0.1)',
borderColor: '#06b6d4',
backgroundColor: 'rgba(6, 182, 212, 0.1)',
borderWidth: 2,
fill: true,
tension: 0.4
+2 -2
View File
@@ -22,8 +22,8 @@
--text-secondary: #6b7280;
--text-muted: #9ca3af;
--border-color: #e5e7eb;
--accent-primary: #667eea;
--accent-secondary: #764ba2;
--accent-primary: #06b6d4;
--accent-secondary: #0891b2;
--accent-success: #10b981;
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);