132 lines
2.3 KiB
Plaintext
132 lines
2.3 KiB
Plaintext
@import '~antd/dist/antd.less';
|
|
@import './components/ant_override.less';
|
|
|
|
html{
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
|
|
#root {
|
|
min-width: 1280px;
|
|
}
|
|
|
|
.flex-grow-1 {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent; // Override white background
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 160, 233, 0.5);
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(0, 160, 233, 0.8);
|
|
}
|
|
|
|
|
|
.ant-card-body{//此处不加.ant-card-body为导致首页的滚动条样式受到影响
|
|
::-webkit-scrollbar {
|
|
width: 8px !important;
|
|
height: 8px !important;
|
|
// background: rgba(250, 15, 15, ) !important;
|
|
cursor: pointer;
|
|
}
|
|
::-webkit-scrollbar-corner {
|
|
//background-color: gray!important;
|
|
}
|
|
}
|
|
.ant-table-content::-webkit-scrollbar-thumb,.ant-table-body::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 160, 233, 0.5);//#ECF2F9;
|
|
}
|
|
.ant-table-content::-webkit-scrollbar-thumb,.ant-table-body::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(0, 160, 233, 0.8);//#ECF2F9;
|
|
}
|
|
|
|
.ant-modal-title{
|
|
font-size:16px;
|
|
font-weight:bold;
|
|
}
|
|
|
|
|
|
|
|
|
|
.toolbarBox{
|
|
.ant-form-item{
|
|
padding: 5px 0;
|
|
}
|
|
}
|
|
|
|
.flex{
|
|
display: flex;
|
|
}
|
|
.flexwarp{
|
|
flex-wrap: wrap;
|
|
}
|
|
.flexcc{
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.flexsbc{
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.flexsac{
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
.flexac{
|
|
align-items: center;
|
|
}
|
|
.flexfc{
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ant-table-tbody{
|
|
.ant-table-measure-row{
|
|
td{
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
// tr:nth-child(odd) {
|
|
// td{
|
|
// background-color: #f5f8fe !important;
|
|
// }
|
|
// }
|
|
}
|
|
|
|
.pageBox{
|
|
height:calc( 100vh - 90px );
|
|
overflow-y: scroll;
|
|
background-color: #fff !important;
|
|
padding:0;
|
|
margin:0 0 0 5px;
|
|
.ant-table-container{
|
|
border-left:1px solid #d9d9d9 !important;
|
|
}
|
|
}
|
|
.formItemHidden{
|
|
display: none;
|
|
}
|