@import '~antd/lib/style/themes/default.less'; @font-face { font-family: 'dataMeter'; src: url('@/assets/Fonts/dataMeter.ttf'); font-weight: normal; font-style: normal; } html, body, #root { height: 100%; } .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; } .globalSpin { width: 100%; margin: 40px 0 !important; } 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; // } // } // } // } } //.ant-table-wrapper { // table { // text-align: center !important; // .ant-table-thead > tr > th { // border: none; // padding: 0 !important; // background: #bfbfbf; // height: 32px !important; // line-height: 32px; // margin-bottom: 5px; // text-align: center; // color:rgba(41,71,98,1); // font-size: 14px; // } // // .ant-table-tbody { // margin-top: 10px !important; // padding-top: 10px !important; // } // // .ant-table-tbody > tr > td{ // margin-bottom: 10px !important; // background: white; // } // } //} .ant-input[disabled] { // // background-color: white !important; cursor: not-allowed; opacity: 1; & + .ant-calendar-picker-icon { display: none !important; } } .ant-select-disabled, .ant-input-number-disabled { // color: rgba(0, 0, 0, 0.9) !important; // background-color: white !important; } .ant-select-disabled .ant-select-selection { // background: white !important; i { display: none; } } // .ant-table { // table { // border: 1px solid #e8e8e8; // border-right: 0; // border-bottom: 0; // .ant-table-bordered .ant-table-thead > tr > th, .ant-table-bordered .ant-table-tbody > tr > td { // border-right: 1px solid #e8e8e8; // } // .ant-table-thead > tr > th { // color: rgba(0, 0, 0, 0.85); // font-weight: 500; // text-align: left; // background: #fafafa; // border-bottom: 1px solid #e8e8e8; // transition: background 0.3s ease; // border-right: 1px solid #e8e8e8; // } // .ant-table-tbody > tr > td { // border-bottom: 1px solid #e8e8e8; // border-right: 1px solid #e8e8e8; // background: white; // } // .ant-table-thead > tr:first-child > th:first-child { // border-top-left-radius: 4px; // } // } // } /*滚动条整体样式*/ ::-webkit-scrollbar { width: 10px; height: 8px; background: #eee; } /*滚动条滑块*/ ::-webkit-scrollbar-thumb { height: 8px; border-radius: 10px; background: #C8C8C8; } ///*滚动条轨道*/ //::-webkit-scrollbar-track { // border-radius: 10px; // background: #C8C8C8; //} .unity-fun-btn { width: 10vw; } .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) { background: #D8D8D8!important; } .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) { background: #D8D8D8!important; }