@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: 8px; } ::-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 6px 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; // } // } .ad_form_style { .ant-form-item { margin-bottom: 15px; } } .ant-select-selector, .ant-input, .ant-input-affix-wrapper, .ant-dropdown-menu, .ant-btn, .ant-modal-content, .ant-select-dropdown, .ant-input-number, .ant-input-number-input, .ant-tooltip-inner { border-radius: 4px !important; } .ant-radio-button-wrapper { &:first-child { border-radius: 4px 0 0 4px !important; } &:last-child { border-radius: 0 4px 4px 0 !important; } } .ant-modal-header { border-radius: 4px 4px 0 0; } .header_table_body { margin-bottom: 5px; td { font-weight: 600; } } .tableScrollbar::-webkit-scrollbar { width: 0; height: 0; }