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

html,
body,
#root {
  height: 100%;
}

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

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.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) {
  .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 .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

// Fix indexBorder Style
.ant-pro-field-index-column{
  width: auto !important;
  min-width: 18px !important;
  padding: 3px !important;
}
.ant-pro-field-index-column-border{
  background-color: #999 !important;
}
.ant-pro-global-header-layout-mix{
  background-color: #1895ff !important;
}
.ant-pro-global-header-logo a img{
  filter: grayscale(100%) brightness(500%);
}

.answerSheet{

}

.answerSheet .pdefault{
  margin: -1px;
  border: #cccccc 1px solid;
  border-radius: 5px;
  color: #999999;
  width: 40px;
  height: 40px;
  // background-color: #ffffff;
  text-align: center;
  display:flex;
  font-size: 18px;
  justify-content: center;
  align-items: center;
}
.answerSheet .pact{
  border: #1895ff 2px solid!important;
  color: #1895ff;
}


.answerSheet .pok{
  border: #1895ff 1px solid;
  color: #1895ff;background-color: #e6f7ff;
}
.answerSheet .perror{
  border: #ff1837 1px solid;
  color: #ff1818;background-color: #ffe6ea;
}

.dt-demo{
  margin: 4px!important;
  border-radius: 5px!important;
  width: 20px!important;
  height: 20px!important;
  float: right!important;
}