Files
scrm.antd/src/global.less

98 lines
1.6 KiB
Plaintext

html,
body,
#root {
height: 100%;
margin: 0;
padding: 0;
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';
scroll-behavior: smooth;
}
.colorWeak {
filter: invert(80%);
}
.ant-layout {
min-height: 100vh;
}
.ant-pro-global-footer {
margin-top: 0;
margin-bottom: 0;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
left: unset;
}
canvas {
display: block;
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
ul,
ol {
list-style: none;
}
.ant-pro-page-container-children-content,
.ant-page-header {
padding-left: 24px !important;
padding-right: 24px !important;
}
.ant-pro-global-footer-list {
margin-bottom: 0 !important;
}
input {
background-clip: text;
-webkit-text-fill-color: #000; // 改变了字体颜色
}
// 部门 树 css
.department-tree .ant-tree-node-content-wrapper {
display: flex;
flex-shrink: 0 !important;
min-width: 0;
flex: 1 !important;
>.ant-tree-title {
display: flex;
width: 100%;
flex: 1 !important;
}
}
@media (max-width: 768px) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead>tr,
&-tbody>tr {
>th,
>td {
white-space: pre;
>span {
display: block;
}
}
}
}
.ant-pro-page-container-children-content,
.ant-page-header {
padding-left: 12px !important;
padding-right: 12px !important;
}
}