123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- @import '~antd/es/style/variable.less';
-
- html,
- body,
- #root {
- height: 100%;
- }
-
- .ant-pro-sider-actions {
- display: none !important;
- }
-
- .colorWeak {
- filter: invert(80%);
- }
-
- .ant-layout {
- min-height: 100vh;
- }
-
- .ant-pro .ant-layout-header.ant-pro-layout-header {
- padding: 0;
- }
-
- .ant-pro-top-nav-header-menu {
- line-height: 64px !important;
- }
-
- .ant-pro-layout .ant-pro-top-nav-header-base-menu.ant-menu-light .ant-menu-item-selected {
- border-radius: 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;
- }
-
- @media (max-width: @screen-xs) {
- .ant-table {
- width: 100%;
- overflow-x: auto;
- &-thead > tr,
- &-tbody > tr {
- > th,
- > td {
- white-space: pre;
- > span {
- display: block;
- }
- }
- }
- }
- }
-
- .ant-page-header {
- background-color: #fff !important;
- // box-shadow: 0 2px 2px rgba(0, 0, 0, 0.04);
- }
-
- // 兼容 360
- .ant-pro-sider-collapsed-button {
- top: 18px;
- right: -13px;
- }
-
- // .ant-pro .ant-pro-layout .ant-pro-sider-mix {
- // top: 64px;
- // }
-
- .ant-layout-sider-children {
- padding: 8px;
- }
-
- .ant-pro .ant-pro-layout .ant-pro-sider-logo {
- padding: 16px;
- }
-
- .ant-pro-page-container .ant-pro-page-container-warp-page-header ~ .ant-pro-grid-content .ant-pro-page-container-children-content {
- margin: 8px 40px 40px 40px;
- }
-
- .ant-pro-table-list-toolbar-container {
- padding: 16px 0;
- }
-
- .ant-pro-card .ant-pro-card-body {
- padding: 16px 24px;
- }
|