ss-dp/src/index.less

132 lines
2.3 KiB
Plaintext
Raw Normal View History

2026-01-21 16:29:13 +08:00
@import '~antd/dist/antd.less';
2026-01-26 17:55:28 +08:00
@import './components/ant_override.less';
2026-01-21 16:29:13 +08:00
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 {
2026-01-26 17:55:28 +08:00
background: transparent; // Override white background
2026-01-21 16:29:13 +08:00
}
::-webkit-scrollbar-thumb {
2026-01-27 17:59:11 +08:00
background: rgba(0, 160, 233, 0.5);
2026-01-21 16:29:13 +08:00
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
2026-01-27 17:59:11 +08:00
background: rgba(0, 160, 233, 0.8);
2026-01-21 16:29:13 +08:00
}
.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 {
2026-01-27 17:59:11 +08:00
background: rgba(0, 160, 233, 0.5);//#ECF2F9;
2026-01-21 16:29:13 +08:00
}
.ant-table-content::-webkit-scrollbar-thumb,.ant-table-body::-webkit-scrollbar-thumb:hover {
2026-01-27 17:59:11 +08:00
background: rgba(0, 160, 233, 0.8);//#ECF2F9;
2026-01-21 16:29:13 +08:00
}
.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;
2026-01-26 17:55:28 +08:00
}