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