@@ -232,46 +232,35 @@ export default function AnalyticsPage() {
232232 {
233233 key : 'total' ,
234234 title : 'Änderungen gesamt' ,
235- value : total ,
236- color : 'var(--chart-2)' ,
237- gradient : 'from-blue-500/5 to-cyan-500/5'
235+ value : total
238236 } ,
239237 {
240238 key : 'create' ,
241239 title : 'Erstellungen' ,
242- value : byType . CREATE || 0 ,
243- color : 'var(--chart-3)' ,
244- gradient : 'from-green-500/5 to-emerald-500/5'
240+ value : byType . CREATE || 0
245241 } ,
246242 {
247243 key : 'update' ,
248244 title : 'Aktualisierungen' ,
249- value : byType . UPDATE || 0 ,
250- color : 'var(--chart-4)' ,
251- gradient : 'from-purple-500/5 to-pink-500/5'
245+ value : byType . UPDATE || 0
252246 } ,
253247 {
254248 key : 'delete' ,
255249 title : 'Löschungen' ,
256- value : byType . DELETE || 0 ,
257- color : 'var(--chart-5)' ,
258- gradient : 'from-red-500/5 to-orange-500/5'
250+ value : byType . DELETE || 0
259251 }
260252 ] . map ( ( kpi ) => (
261253 < Card
262254 key = { kpi . key }
263- className = "flex flex-col group relative overflow-hidden transition-all duration-300 hover:shadow-lg"
255+ className = "flex flex-col transition-all duration-300 hover:shadow-lg"
264256 >
265- < div
266- className = { `absolute inset-0 bg-gradient-to-br ${ kpi . gradient } opacity-0 group-hover:opacity-100 transition-opacity duration-300` }
267- />
268- < CardHeader className = "items-center pb-0 relative" >
257+ < CardHeader className = "items-center pb-0" >
269258 < CardTitle className = "text-center line-clamp-1" >
270259 { kpi . title }
271260 </ CardTitle >
272261 < CardDescription > Letzte { days } Tage</ CardDescription >
273262 </ CardHeader >
274- < CardContent className = "flex-1 pb-0 relative " >
263+ < CardContent className = "flex-1 pb-0" >
275264 < ChartContainer
276265 config = { {
277266 value : {
@@ -351,15 +340,14 @@ export default function AnalyticsPage() {
351340
352341 < div className = "grid gap-6 lg:grid-cols-2" >
353342 { /* Timeline line chart */ }
354- < Card className = "group relative overflow-hidden transition-all duration-300 hover:shadow-lg" >
355- < div className = "absolute inset-0 bg-gradient-to-br from-blue-500/5 to-purple-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
356- < CardHeader className = "relative" >
343+ < Card className = "transition-all duration-300 hover:shadow-lg" >
344+ < CardHeader >
357345 < CardTitle > Veränderungen im Zeitverlauf</ CardTitle >
358346 < CardDescription >
359347 Tägliche Anzahl nach Typ gruppiert
360348 </ CardDescription >
361349 </ CardHeader >
362- < CardContent className = "relative" >
350+ < CardContent >
363351 < ChartContainer
364352 config = { {
365353 CREATE : { label : 'Create' , color : COLORS . CREATE } ,
@@ -410,13 +398,12 @@ export default function AnalyticsPage() {
410398 </ Card >
411399
412400 { /* Top changed events */ }
413- < Card className = "group relative overflow-hidden transition-all duration-300 hover:shadow-lg" >
414- < div className = "absolute inset-0 bg-gradient-to-br from-green-500/5 to-yellow-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
415- < CardHeader className = "relative" >
401+ < Card className = "transition-all duration-300 hover:shadow-lg" >
402+ < CardHeader >
416403 < CardTitle > Meist geänderte Events</ CardTitle >
417404 < CardDescription > Meiste Aktivität im Zeitraum</ CardDescription >
418405 </ CardHeader >
419- < CardContent className = "relative" >
406+ < CardContent >
420407 < ChartContainer
421408 config = { {
422409 count : {
@@ -455,13 +442,12 @@ export default function AnalyticsPage() {
455442
456443 { /* Distribution by type (fancy pie chart) */ }
457444 < div className = "grid gap-6 lg:grid-cols-3" >
458- < Card className = "lg:col-span-1 group relative overflow-hidden transition-all duration-300 hover:shadow-lg" >
459- < div className = "absolute inset-0 bg-gradient-to-br from-purple-500/5 to-pink-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
460- < CardHeader className = "relative" >
445+ < Card className = "lg:col-span-1 transition-all duration-300 hover:shadow-lg" >
446+ < CardHeader >
461447 < CardTitle > Verteilung nach Typ</ CardTitle >
462448 < CardDescription > Create / Update / Delete</ CardDescription >
463449 </ CardHeader >
464- < CardContent className = "relative" >
450+ < CardContent >
465451 < ChartContainer
466452 config = { {
467453 CREATE : { label : 'Create' , color : COLORS . CREATE } ,
@@ -501,13 +487,12 @@ export default function AnalyticsPage() {
501487 </ Card >
502488
503489 { /* Audit logs table */ }
504- < Card className = "lg:col-span-2 group relative overflow-hidden transition-all duration-300 hover:shadow-lg" >
505- < div className = "absolute inset-0 bg-gradient-to-br from-orange-500/5 to-yellow-500/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
506- < CardHeader className = "relative" >
490+ < Card className = "lg:col-span-2 transition-all duration-300 hover:shadow-lg" >
491+ < CardHeader >
507492 < CardTitle > Audit-Log</ CardTitle >
508493 < CardDescription > Einträge im gewählten Zeitraum</ CardDescription >
509494 </ CardHeader >
510- < CardContent className = "relative" >
495+ < CardContent >
511496 < DataTable < AuditRow , unknown >
512497 tableId = "analytics-audit"
513498 columns = { [
0 commit comments