123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- @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;
- }
|