@import '~antd/es/style/themes/default.less'; html, body, #root { height: 100%; } //---------------custom------------ @primary-color: #00528E !important; @primary-color-rgba:rgba(0,82,142,0.3); .ant-pro-sider-logo { h1 { font-size:1rem; } } .ant-menu-submenu-selected { // color: @primary-color !important; .ant-menu-item-selected { // color: @primary-color !important; } } .ant-tree-checkbox-checked .ant-tree-checkbox-inner { background-color: #00528E; border-color: #00528E; } .ant-tabs-top > .ant-tabs-nav::before { border: none; } .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn { color: #00528E; font-size: 16px; font-weight: bold; font-family: 'SourceHanSansCN-Bold, SourceHanSansCN'; text-shadow: 0 0 0.25px currentColor; } .ant-tabs-large > .ant-tabs-nav .ant-tabs-tab { padding: 16px 0; font-size: 16px; padding-bottom:10px; } //---------------custom------------ .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; } }