Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
74a7b6ca
Commit
74a7b6ca
authored
Mar 12, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更改菜单等一些全局样式
parent
9240d202
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
6 deletions
+58
-6
global.less
src/global/styles/global.less
+17
-0
reset.less
src/global/styles/reset.less
+41
-6
No files found.
src/global/styles/global.less
View file @
74a7b6ca
...
@@ -358,3 +358,20 @@ a {
...
@@ -358,3 +358,20 @@ a {
}
}
}
}
}
}
// 重置步骤条顶部边距
.ant-steps-horizontal {
margin-top: 0 !important;
}
// 固定头部
// .ant-layout-header {
// position: fixed;
// top: 0;
// }
// .ant-pro-page-header-wrap-page-header-warp {
// position: fixed;
// top: 0;
// width: 100%;
// z-index: 8;
// }
src/global/styles/reset.less
View file @
74a7b6ca
...
@@ -10,10 +10,6 @@
...
@@ -10,10 +10,6 @@
margin: 8px auto 32px auto;
margin: 8px auto 32px auto;
}
}
.ant-page-header {
padding: 8px 24px;
}
.common_checkbox {
.common_checkbox {
&:hover,
&:hover,
...
@@ -225,6 +221,46 @@
...
@@ -225,6 +221,46 @@
padding: 16px;
padding: 16px;
}
}
// 覆写page-header-title
.ant-page-header {
padding: 4px 16px;
}
.ant-page-header-heading-title {
font-size: 16px;
}
// 覆写左边菜单
.ant-menu-item {
padding-left: 16px !important;
}
.ant-menu-submenu-title {
padding-left: 16px !important;
}
.anticon-border {
margin-right: 8px;
}
// 覆写page 报个上部操作按钮样式
.mega-layout-item-content {
.ant-space {
.ant-space-item {
margin-right: 16px !important;
}
}
}
.god-table-content {
.ant-table-wrapper {
.ant-spin-nested-loading {
.ant-spin-container {
.ant-pagination {
margin: 16px 0 0 0;
}
}
}
}
}
}
}
.ant-descriptions-item-label {
.ant-descriptions-item-label {
...
@@ -238,4 +274,4 @@
...
@@ -238,4 +274,4 @@
.ant-form-item-label > label {
.ant-form-item-label > label {
font-size: 12px !important;
font-size: 12px !important;
color: #909399 !important;
color: #909399 !important;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment