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

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

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-layout {
  .ant-pro-top-nav-header.light {
    background:rgba(2,134,213,1);
  }
  
  .ant-pro-top-nav-header-menu .ant-menu {
    display: none;
  }
  
  .antd-pro-components-global-header-index-right,
  .ant-pro-top-nav-header.light h1
  {
    color: #fff;
  }
}
