mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-03 16:53:29 +00:00
fix(web): 修复代码格式和文件清理问题
清理无用文件和资源,调整代码格式统一双引号,修复部分组件路径引用问题 删除大量无用图片资源和组件文件,统一代码风格使用双引号,修复国际化文件路径引用,调整部分组件逻辑,优化项目结构
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
// ==================== 主题变量导入 ====================
|
||||
// 1. 项目自定义变量(侧边栏、布局等)
|
||||
@use './variables';
|
||||
@use "./variables";
|
||||
|
||||
// 2. 暗黑模式变量(合并)
|
||||
@use './dark/css-vars';
|
||||
@use "./dark/css-vars";
|
||||
|
||||
// ==================== 基础样式 ====================
|
||||
@use './reset';
|
||||
@use './element-plus';
|
||||
@use "./reset";
|
||||
@use "./element-plus";
|
||||
|
||||
// ==================== layout内容样式 ====================
|
||||
.app-container {
|
||||
@@ -204,7 +204,7 @@ html.sidebar-color-blue .el-menu--popup {
|
||||
.el-menu-item,
|
||||
.el-sub-menu__title {
|
||||
.menu-title,
|
||||
span:not([class*='i-svg']):not(.el-icon) {
|
||||
span:not([class*="i-svg"]):not(.el-icon) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@@ -215,7 +215,7 @@ html.sidebar-color-blue .el-menu--popup {
|
||||
.el-menu-item,
|
||||
.el-sub-menu__title {
|
||||
.menu-title,
|
||||
span:not([class*='i-svg']):not(.el-icon) {
|
||||
span:not([class*="i-svg"]):not(.el-icon) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
font-family:
|
||||
'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑',
|
||||
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
|
||||
Arial, sans-serif;
|
||||
line-height: inherit;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
@forward 'element-plus/theme-chalk/src/common/var.scss' with (
|
||||
@forward "element-plus/theme-chalk/src/common/var.scss" with (
|
||||
$colors: (
|
||||
'primary': (
|
||||
"primary": (
|
||||
// 默认主题色 - 修改此值时需同步修改 src/settings.ts 中的 themeColor
|
||||
'base': #4080ff,
|
||||
"base": #4080ff,
|
||||
),
|
||||
'success': (
|
||||
'base': #23c343,
|
||||
"success": (
|
||||
"base": #23c343,
|
||||
),
|
||||
'warning': (
|
||||
'base': #ff9a2e,
|
||||
"warning": (
|
||||
"base": #ff9a2e,
|
||||
),
|
||||
'danger': (
|
||||
'base': #f76560,
|
||||
"danger": (
|
||||
"base": #f76560,
|
||||
),
|
||||
'info': (
|
||||
'base': #a9aeb8,
|
||||
"info": (
|
||||
"base": #a9aeb8,
|
||||
),
|
||||
'default': (
|
||||
'base': #f5f5f5,
|
||||
"default": (
|
||||
"base": #f5f5f5,
|
||||
),
|
||||
),
|
||||
|
||||
$bg-color: (
|
||||
'page': #f5f8fd,
|
||||
"page": #f5f8fd,
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user