mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
perf: layout style optimization
This commit is contained in:
@@ -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=======
|
||||
// =================================
|
||||
|
@@ -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;
|
||||
|
@@ -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 {
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user