提交 a1c3c53c 作者: vben

chore: update style

上级 1e5fcd2c
...@@ -17,12 +17,12 @@ const modifyVars = { ...@@ -17,12 +17,12 @@ const modifyVars = {
// 'heading-color': '#2C3A61', // Title color // 'heading-color': '#2C3A61', // Title color
// 'text-color': '#2C3A61', // Main text color // 'text-color': '#2C3A61', // Main text color
'text-color-secondary ': '#606266', // Subtext color 'text-color-secondary ': '#606266', // Subtext color
'background-color-base': '#F0F2F5', // background color 'background-color-base': '#f4f7f9', // background color
'font-size-base': '14px', // Main font size 'font-size-base': '14px', // Main font size
'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow 'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow
'border-color-base': '#F0F0F0', // Border color, 'border-color-base': '#F0F0F0', // Border color,
'border-color-split': '#F0F0F0', // Border color, 'border-color-split': '#F0F0F0', // Border color,
'border-radius-base': '2px', // Component/float fillet 'border-radius-base': '4px', // Component/float fillet
}; };
//} //}
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
background: #f0f2f5; background: #f4f7f9;
} }
.app-loading .app-loading-wrap { .app-loading .app-loading-wrap {
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
export default defineComponent({ export default defineComponent({
name: 'BasicArrow', name: 'BasicArrow',
inheritAttrs: false,
components: { RightOutlined }, components: { RightOutlined },
props: { props: {
// Expand contract, expand by default // Expand contract, expand by default
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
import { useDesign } from '/@/hooks/web/useDesign'; import { useDesign } from '/@/hooks/web/useDesign';
export default defineComponent({ export default defineComponent({
name: 'BasicHelp', name: 'BasicHelp',
inheritAttrs: false,
components: { Tooltip }, components: { Tooltip },
props: { props: {
// max-width // max-width
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
export default defineComponent({ export default defineComponent({
name: 'BasicTitle', name: 'BasicTitle',
inheritAttrs: false,
components: { BasicHelp }, components: { BasicHelp },
props: { props: {
helpMessage: { helpMessage: {
......
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
.ant-drawer-body { .ant-drawer-body {
height: calc(100% - @header-height); height: calc(100% - @header-height);
padding: 0; padding: 0;
background-color: @background-color-dark; background-color: #fff;
.scrollbar__wrap { .scrollbar__wrap {
padding: 16px !important; padding: 16px !important;
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
&-confirm-body { &-confirm-body {
.ant-modal-confirm-content { .ant-modal-confirm-content {
color: @text-color-help-dark; color: #fff;
> * { > * {
color: @text-color-help-dark; color: @text-color-help-dark;
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
position: relative; position: relative;
.ant-page-header { .ant-page-header {
padding: 12px 16px; // padding: 12px 16px;
&:empty { &:empty {
padding: 0; padding: 0;
......
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
@white: #fff; @white: #fff;
@content-bg: #f0f2f5; @content-bg: #f4f7f9;
// @content-bg: #f0f2f5;
@info-color: @primary-color; @info-color: @primary-color;
...@@ -60,7 +61,7 @@ ...@@ -60,7 +61,7 @@
// ================================= // =================================
// dark // dark
@background-color-dark: #f0f2f5; @background-color-dark: #f4f7f9;
// light // light
@background-color-light: #f5f7fa; @background-color-light: #f5f7fa;
// layout content background // layout content background
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
@prefix-cls: ~'@{namespace}-layout-multiple-header'; @prefix-cls: ~'@{namespace}-layout-multiple-header';
.@{prefix-cls} { .@{prefix-cls} {
margin-left: 1px; // margin-left: 1px;
transition: width 0.2s; transition: width 0.2s;
flex: 0 0 auto; flex: 0 0 auto;
......
...@@ -83,5 +83,9 @@ ...@@ -83,5 +83,9 @@
> .ant-layout { > .ant-layout {
min-height: 100%; min-height: 100%;
} }
&__main {
margin-left: 1px;
}
} }
</style> </style>
...@@ -16,11 +16,11 @@ export const HEADER_PRESET_BG_COLOR_LIST: string[] = [ ...@@ -16,11 +16,11 @@ export const HEADER_PRESET_BG_COLOR_LIST: string[] = [
// sider preset color // sider preset color
export const SIDE_BAR_BG_COLOR_LIST: string[] = [ export const SIDE_BAR_BG_COLOR_LIST: string[] = [
'#001529',
'#273352', '#273352',
'#ffffff', '#ffffff',
'#191b24', '#191b24',
'#191a23', '#191a23',
'#001529',
'#304156', '#304156',
'#001628', '#001628',
'#28333E', '#28333E',
......
...@@ -76,7 +76,7 @@ const setting: ProjectConfig = { ...@@ -76,7 +76,7 @@ const setting: ProjectConfig = {
// Menu configuration // Menu configuration
menuSetting: { menuSetting: {
// sidebar menu bg color // sidebar menu bg color
bgColor: '#273352', bgColor: '#001529',
// Whether to fix the left menu // Whether to fix the left menu
fixed: true, fixed: true,
// Menu collapse // Menu collapse
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论