mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-07 18:30:55 +00:00
- 将静态图片资源从backend迁移到frontend/docs/public目录 - 更新文档配置和图片引用路径 - 替换登录背景图为SVG格式并支持暗色模式 - 修复字典服务错误消息拼写错误 - 优化菜单表单父级菜单显示逻辑
49 lines
1018 B
CSS
49 lines
1018 B
CSS
:root:where(:lang(fa)) {
|
|
--vp-font-family-base:
|
|
'Vazirmatn', 'Inter', ui-sans-serif, system-ui, sans-serif,
|
|
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
}
|
|
|
|
:root {
|
|
/* 标题 */
|
|
--vp-home-hero-name-color: transparent;
|
|
--vp-home-hero-name-background: -webkit-linear-gradient(
|
|
120deg,
|
|
#bd34fe 30%,
|
|
#41d1ff
|
|
);
|
|
|
|
/* 图标背景 */
|
|
--vp-home-hero-image-background-image: linear-gradient(
|
|
-45deg,
|
|
#bd34fe 50%,
|
|
#47caff 50%
|
|
);
|
|
--vp-home-hero-image-filter: blur(44px);
|
|
|
|
/* brand按钮 */
|
|
--vp-button-brand-border: #F6CEEC;
|
|
--vp-button-brand-text: #F6CEEC;
|
|
--vp-button-brand-bg: #D939CD;
|
|
|
|
--vp-button-brand-hover-border: #F6CEEC;
|
|
--vp-button-brand-hover-text: #fff;
|
|
--vp-button-brand-hover-bg: #D939CD;
|
|
|
|
--vp-button-brand-active-border: #F6CEEC;
|
|
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
:root {
|
|
--vp-home-hero-image-filter: blur(56px);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 960px) {
|
|
:root {
|
|
--vp-home-hero-image-filter: blur(68px);
|
|
}
|
|
}
|
|
|