@import '~antd/es/style/themes/default.less'; html, body, #root { height: 100%; } body #root .ranking .ant-table.ant-table-small .ant-table-tbody>tr>td.ant-table-cell { padding: 0px !important; } body #root .ranking .ant-table.ant-table-small .ant-table-tbody>tr>td.ant-table-cell>div div { height: 100%; } body #root .ranking .ant-table.ant-table-small .ant-table-tbody>tr>td.ant-table-cell .ant-progress-inner { border-radius: 0 !important; height: 100%; background-color: #fff; } body #root .ranking .ant-table.ant-table-small .ant-table-tbody>tr>td.ant-table-cell .ant-progress-inner .ant-progress-bg { border-radius: 0 !important; height: 100% !important; } .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; } input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { background-color: transparent !important; background-image: none !important; -webkit-box-shadow: 0 0 0 1000px white inset !important; -moz-box-shadow: 0 0 0 1000px white inset !important; -o-box-shadow: 0 0 0 1000px white inset !important; -ms-box-shadow: 0 0 0 1000px white inset !important; } @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; } } ::-webkit-scrollbar { // display: none; /* Chrome Safari */ width: 6px; height: 6px; } ::-webkit-scrollbar-thumb { border-radius: 4px; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0); background-color: #ddd; background: rgba(0, 0, 0, 0); } :hover::-webkit-scrollbar-thumb { background: rgba(82, 82, 82, 0.3); -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2); } #notificationPop { width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.6); z-index: 10001; position: fixed; top: 0; >div { position: relative; >div { position: absolute !important; right: 50% !important; transform: translateX(50%); } } } #logo { a { display: flex; align-items: center; } } .ant-statistic { .ant-statistic-content { color: #000; font-size: 13px; word-break: break-word; } } body { #root { .ant-table.ant-table-small .ant-table-title, .ant-table.ant-table-middle .ant-table-title, .ant-table.ant-table-small .ant-table-footer, .ant-table.ant-table-middle .ant-table-footer, .ant-table.ant-table-small .ant-table-thead>tr>th, .ant-table.ant-table-middle .ant-table-thead>tr>th, .ant-table.ant-table-small .ant-table-tbody>tr>td, .ant-table.ant-table-middle .ant-table-tbody>tr>td, .ant-table.ant-table-small tfoot>tr>th, .ant-table.ant-table-middle tfoot>tr>th, .ant-table.ant-table-small tfoot>tr>td .ant-table.ant-table-middle tfoot>tr>td { padding: 5px; } .ant-table.ant-table-small .ant-table-thead .ant-table-column-sorters { padding: 0; } // .ant-table.ant-table-small .ant-table-tbody > tr > td.ant-table-cell { // padding-top: 8px; // } } .ant-table-thead>tr>th { font-weight: 600 !important; } .total_table { .ant-table-thead>tr>th, .ant-table-tbody>tr>td { border-bottom: 1px solid #e0e0e0; } .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td { border-right: 1px solid #e0e0e0; } .ant-table.ant-table-bordered>.ant-table-container { border: 1px solid #e0e0e0; } .ant-table-header { .ant-table-thead { tr { th { background-color: #fbdedb; } } } } } .all_table { .ant-table-thead>tr>th, .ant-table-tbody>tr>td { border-bottom: 1px solid #e0e0e0; } .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td { border-right: 1px solid #e0e0e0; } .ant-table.ant-table-bordered>.ant-table-container { border: 1px solid #e0e0e0; } .ant-table-header { .ant-table-thead { tr { th { background-color: #f5f5f5; } } } } } } .table_row_red { background-color: #e91e1e80; &:hover { >td { background-color: #e91e1e80 !important; } } } .table_row_yellow { background-color: #ffeb3b6b; &:hover { >td { background-color: #ffeb3b6b !important; } } } // .ant-table,.ant-card{ // background-color: #fff !important; // td{ // background-color: #fff !important; // } // } .ellipsisOne { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ant-btn, .ant-select:not(.ant-select-customize-input) .ant-select-selector, .ant-picker, .ant-input-affix-wrapper, .ant-input, .ant-modal-content, .ant-tag, .ant-pagination-item, .ant-picker-panel-container, .ant-input-number-input, .ant-input-number, .ant-input-number-group-addon, .ant-select-dropdown { border-radius: 6px !important; } .ant-radio-button-wrapper:first-child { border-radius: 6px 0 0 6px !important; } .ant-radio-button-wrapper:last-child { border-radius: 0 6px 6px 0 !important; } .ant-table-cell { padding: 2px 5px !important; } .progress { padding: 0 !important; .ant-progress { height: 100%; .ant-progress-outer { height: 100%; .ant-progress-inner { height: 100%; border-radius: 0; .ant-progress-bg { height: 100% !important; border-radius: 0; } } } } } .header_table_body td { font-weight: 600; } .ant-table-tbody > tr.ant-table-row:hover > td { background-color: #e9e9e9 !important; } .minHeight .ant-form-item-control-input { min-height: auto; } .orangeColorClass { background-color: #fff2e8; } .volcanoColorClass { background-color: #ffe7ba; } .redColorClass { background-color: #fff7e6; } .green2ColorClass { background-color: #f6ffed; }