feat(VideoLibrary): update styling for video library header and statistics display

This commit is contained in:
shiyu
2025-12-17 10:57:59 +08:00
parent 6a1ff3afa6
commit ba1feb150b
+4 -5
View File
@@ -545,17 +545,16 @@ export const VideoLibraryApp: React.FC<AppOpenComponentProps> = () => {
style={{ style={{
padding: 14, padding: 14,
borderRadius: 12, borderRadius: 12,
background: 'linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(30,41,59,0.85) 40%, rgba(17,24,39,0.9) 100%)', background: token.colorBgContainer,
color: 'rgba(255,255,255,0.92)', border: `1px solid ${token.colorBorderSecondary}`,
boxShadow: token.boxShadowTertiary,
}} }}
> >
<Flex align="center" justify="space-between" gap={12} wrap> <Flex align="center" justify="space-between" gap={12} wrap>
<div style={{ minWidth: 240 }}> <div style={{ minWidth: 240 }}>
<Typography.Title level={4} style={{ margin: 0, color: 'rgba(255,255,255,0.92)' }}> <Typography.Title level={4} style={{ margin: 0 }}>
{t('Video Library')} {t('Video Library')}
</Typography.Title> </Typography.Title>
<Typography.Text style={{ color: 'rgba(255,255,255,0.72)' }}> <Typography.Text type="secondary">
{t('Total')}: {stats.total} · {t('Movies')}: {stats.movie} · {t('TV')}: {stats.tv} {t('Total')}: {stats.total} · {t('Movies')}: {stats.movie} · {t('TV')}: {stats.tv}
</Typography.Text> </Typography.Text>
</div> </div>