@import '~@/themes/vars.less'; html, body, #root { height: 100%; font-size: 62.5%; } .colorWeak { filter: invert(80%); } .ant-layout { min-height: 100vh; } 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; } } } } } // 覆盖antd design pro样式 :global { ::-webkit-scrollbar { width: 6px; height: 6px; margin-right: 10px; /*background-color: #ddd;*/ } /*滑块*/ ::-webkit-scrollbar-thumb { //background-color: #43cec4; width: 6px; height: 6px; border-radius: 10px; cursor: default; margin-left: -10px; background-color: rgba(170, 170, 170, 0.8); transition: background-color 0.2s linear, width 0.2s ease-in-out; -webkit-transition: background-color 0.2s linear, width 0.2s ease-in-out; } ::-webkit-scrollbar-thumb:hover { //background-color: #aaa; background-color: #aaa; } /*滑道*/ ::-webkit-scrollbar-track { margin-right: 20px; // box-shadow: inset 0 0 6px #333; background-color: rgba(201, 201, 201, 0.8); border-radius: 10px; width: 6px; } .kim-layout { .ant-pro-sider-menu-logo { padding-left: 8px; } .ant-pro-sider-menu-logo h1 { font-weight: 500; font-size: 16px; } .ant-pro-global-header { // background: #43cec4; } .ant-pro-basicLayout-content { margin: @space-sm; } } }