@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height:calc(100vh - 48px);
  min-width:1100px;
}

//---------------custom------------

// @primary-color: #00528E !important;

// @primary-color-rgba:rgba(0,82,142,0.3);
@scoreA:#69D1CC;
@scoreB:#80ABFF;
@scoreC:#FFC080;
@scoreD:#3377FF;
@scoreE:#690;

.mwc-ant-pro-sider-logo {
   h1 {
    font-size:16px !important;
   }
}
.mwc-ant-menu-submenu-selected {
    //  color: @primary-color !important;
     .ant-menu-item-selected {
      // color: @primary-color !important;
     }
}

.mwc-ant-card-body {
  padding:0px !important;
}

.mwc-ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  background-color: #00528E;
  border-color: #00528E;
}

.mwc-ant-tabs-top > .ant-tabs-nav::before {
   border: none;
}

.mwc-ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #00528E;
  font-size: 16px;
  font-weight: bold;
  font-family: 'SourceHanSansCN-Bold, SourceHanSansCN';
  text-shadow: 0 0 0.25px currentColor;
}

.mwc-ant-tabs-large > .mwc-ant-tabs-nav .mwc-ant-tabs-tab {
  padding: 16px 0;
  font-size: 16px;
  padding-bottom:10px;
}


//---------------custom------------

.colorWeak {
  filter: invert(80%);
}

// .mwc-ant-layout {
//   min-height: 100vh;
// }
.mwc-ant-pro-sider.mwc-ant-layout-sider.mwc-ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .mwc-ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .mwc-ant-design-pro > .mwc-ant-layout {
    min-height: 100vh;
  }
}
