fix: apply correct stat-card color variants for proper visibility
- Add primary, success, warning, purple color variants to stat cards - Remove hover-glow class that was conflicting with stat-card styling - Ensure white background with proper color decorations - Fix black-on-black text visibility issue in statistics section
This commit is contained in:
parent
87805fafce
commit
705f7626f5
|
|
@ -371,7 +371,7 @@ const ExportRecordManager: React.FC<ExportRecordManagerProps> = ({
|
|||
{/* 统计信息 */}
|
||||
{statistics && (
|
||||
<div className={`grid ${compact ? 'grid-cols-2 md:grid-cols-4 gap-3' : 'grid-cols-2 md:grid-cols-4 gap-4'}`}>
|
||||
<div className="stat-card hover-glow">
|
||||
<div className="stat-card primary">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<div className={`${compact ? 'text-xl' : 'text-2xl'} font-bold text-primary-600`}>
|
||||
|
|
@ -384,7 +384,7 @@ const ExportRecordManager: React.FC<ExportRecordManagerProps> = ({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="stat-card hover-glow">
|
||||
<div className="stat-card success">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<div className={`${compact ? 'text-xl' : 'text-2xl'} font-bold text-green-600`}>
|
||||
|
|
@ -397,7 +397,7 @@ const ExportRecordManager: React.FC<ExportRecordManagerProps> = ({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="stat-card hover-glow">
|
||||
<div className="stat-card warning">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<div className={`${compact ? 'text-xl' : 'text-2xl'} font-bold text-red-600`}>
|
||||
|
|
@ -410,7 +410,7 @@ const ExportRecordManager: React.FC<ExportRecordManagerProps> = ({
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="stat-card hover-glow">
|
||||
<div className="stat-card purple">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<div className={`${compact ? 'text-xl' : 'text-2xl'} font-bold text-purple-600`}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue