This commit is contained in:
zhuoda
2024-01-08 19:52:39 +08:00
parent 8dc663d885
commit 192e959d14
1126 changed files with 13783 additions and 68273 deletions

View File

@@ -0,0 +1,19 @@
import { theme } from 'ant-design-vue/lib';
import convertLegacyToken from 'ant-design-vue/lib/theme/convertLegacyToken';
const { defaultAlgorithm, defaultSeed } = theme;
const mapToken = defaultAlgorithm(defaultSeed);
const token = convertLegacyToken.default(mapToken);
export default {
'@primary-color': token['primary-color'], // 全局主色
'@base-bg-color': '#fff',
'@hover-bg-color': 'rgba(0, 0, 0, 0.025)',
'@hover-bg-color-night': 'rgba(255, 255, 255, 0.025)',
'@header-light-bg-hover-color': '#f6f6f6',
'@header-height': '80px',
'@header-user-height': '40px',
'@page-tag-height': '40px',
'@theme-list': ['light', 'dark', 'night'],
};

View File

@@ -8,32 +8,9 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012
*/
@import 'ant-design-vue/dist/antd.css';
@import 'ant-design-vue/dist/reset.css';
@import './smart-admin.less';
/********************************** ant design vue 颜色变量 begin **********************************/
@primary-color:#1890ff;
@success-color: #52c41a; // 成功色
@error-color :#f5222d; // 错误色
@text-color:rgba(0, 0, 0, 0.65); // 主文本色
@text-color-secondary:rgba(0, 0, 0, 0.45); // 次文本色
@primary-7: #1890ff;
@base-bg-color: #fff;
@shadow-color:rgba(0, 0, 0, 0.15);
/********************************** ant design vue 颜色变量 end **********************************/
/********************************** 页面头部 begin **********************************/
@hover-bg-color: rgba(0, 0, 0, 0.025);
@hover-bg-color-night: rgba(255, 255, 255, 0.025);
@header-light-bg-hover-color: #f6f6f6;
@header-height: 80px;
@header-user-height: 40px;
@page-tag-height: 40px;
@theme-list: light, dark, night;
/********************************** 页面头部 end **********************************/
/********************************** 基础样式 **********************************/
* {
margin: 0;

View File

@@ -8,21 +8,6 @@
* @Copyright 1024创新实验室 https://1024lab.net Since 2012
*/
/********************************** 滚动条 **********************************/
::-webkit-scrollbar {
width: 2px;
background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background-color: #cdcdcd;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
background-color: #f5f5f5;
border-radius: 1px;
}
/********************************** 宽度 **********************************/
.smart-width-100 {
width: 100%;
@@ -45,6 +30,22 @@
margin-left: 20px;
}
/********************************** 右间距 **********************************/
.smart-margin-right5 {
margin-right: 5px;
}
.smart-margin-right10 {
margin-right: 10px;
}
.smart-margin-right15 {
margin-right: 15px;
}
.smart-margin-right20 {
margin-right: 20px;
}
/******************************** 上间距 ********************************/
.smart-margin-top5 {
@@ -73,6 +74,7 @@
.smart-table-operate {
.ant-btn {
padding: 0px 3px !important;
height: auto;
}
}