123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- @import '~antd/es/style/variable.less';
- @import '~antd/dist/antd.less'; // 引入官方提供的 less 样式入口文件
- @import './assets/css/antd-tenants.less';
- @import './assets/css/antd-reset.less';
- html,
- body,
- #root {
- height: 100%;
- }
- .colorWeak {
- filter: invert(80%);
- }
- .ant-layout {
- min-height: 100vh;
- }
- .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;
- }
- @media (max-width: @screen-xs) {
- .ant-table {
- width: 100%;
- overflow-x: auto;
- &-thead > tr,
- &-tbody > tr {
- > th,
- > td {
- white-space: pre;
- > span {
- display: block;
- }
- }
- }
- }
- }
- // Compatible with IE11
- @media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
- body .ant-design-pro > .ant-layout {
- min-height: 100vh;
- }
- }
|