@import '~antd/es/style/themes/default.less'; html, body, #root { height: 100%; } .colorWeak { filter: invert(80%); } .ant-layout { min-height: 100vh; } // .ant-menu-submenu-selected .ant-menu-submenu-title { // background: #595284; // border-left: 3px solid #886ab5; // } .ant-menu-dark .ant-menu-inline.ant-menu-sub { background: #ffffff; } .ant-menu-dark .ant-menu-item-only-child:hover { background: #423d68; } .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected { background: #4a4473; border-right: 3px solid #24b3a4; } .ant-menu-inline .ant-menu-submenu-title { margin-bottom: 0; } 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; } } } } } // 兼容IE11 @media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) { body .ant-design-pro > .ant-layout { min-height: 100vh; } } input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-transition: color 11111s ease-out, background-color 111111s ease-out; -webkit-transition-delay: 111111s; }