perf: layout style optimization

This commit is contained in:
vben
2020-10-31 19:51:24 +08:00
parent 05980a817e
commit 7702832181
27 changed files with 201 additions and 218 deletions

View File

@@ -2,10 +2,15 @@
@import './input.less';
@import './btn.less';
// TODO beta.11 fix
.ant-col {
width: 100%;
}
// .ant-form-item-label {
// text-align: unset;
// }
// =================================
// ==============descriptions=======
// =================================

View File

@@ -36,7 +36,8 @@ input::-ms-reveal {
}
body {
font-family: 'Microsoft YaHei,微软雅黑,Arial,sans-serif,Helvetica Neue,Helvetica,Pingfang SC,Hiragino Sans GB';
// font-family: 'Microsoft YaHei,微软雅黑,Arial,sans-serif,Helvetica Neue,Helvetica,Pingfang SC,Hiragino Sans GB';
font-family: '-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol,noto color emoji';
font-style: normal;
font-weight: normal;
line-height: 1.428571429; // 20/14
@@ -149,7 +150,7 @@ object {
}
.ant-layout {
background: #f1f1f6;
background: #f0f2f5;
&-content {
position: relative;

View File

@@ -5,11 +5,11 @@
}
// TODO 滚动条样式-待修改
::-webkit-scrollbar-track {
// background: rgba(0, 0, 0, 0.06);
// border-radius: 2px;
// box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}
// ::-webkit-scrollbar-track {
// // background: rgba(0, 0, 0, 0.06);
// // border-radius: 2px;
// // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
// }
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {

View File

@@ -3,13 +3,13 @@
@import 'breakpoint';
// tabs
@multiple-height: 36px;
@multiple-height: 30px;
// headers
@header-height: 36px;
@header-height: 46px;
// logo width
@logo-width: 40px;
@logo-width: 36px;
//
@sider-drag-z-index: 200;
@@ -18,4 +18,4 @@
// app menu
// left-menu
@app-menu-item-height: 44px;
@app-menu-item-height: 42px;