html,
body,
#root {
  min-width: 1440px;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: visible;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.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;
}
.ant-pro-layout .ant-pro-layout-content {
  padding: 0 10px 10px;
  background-color: transparent;
}
.ant-pro-layout .ant-pro-layout-bg-list {
  background: @background-color;
}

.ant-pro-base-menu-inline-item-title .ant-pro-base-menu-inline-item-text {
  font-size: 16px;
}

.ant-pro-layout .ant-pro-sider-menu {
  padding-top: 15px;
}
.ant-pro-global-header-logo-mix {
  padding-left: 12px;
}
.ant-pro-layout .ant-pro-sider .ant-layout-sider-children {
  border-right: unset;
}
.ant-pro-base-menu-inline {
  border-radius: 0px 20px 20px 0px;
}
.ant-drawer .ant-drawer-body {
  padding: 0;
}
.ant-drawer .ant-drawer-body .ant-row {
  padding: 0 24px;
}
.ant-drawer .ant-drawer-body .ant-form-item {
  margin-bottom: 20px;
}
.ant-menu .ant-menu-submenu-title .anticon {
  font-size: 16px;
}
.ant-table-wrapper .ant-table-pagination.ant-pagination {
  margin: 0;
  padding: 20px 16px;
  background-color: #fff;
}
.ant-pro-global-header-logo img {
  height: 21px;
}
.ant-pro-layout .ant-layout-sider.ant-pro-sider {
  height: 100vh;
  // padding-top: 56px;
}
.ant-pro-layout .ant-pro-layout-container {
  height: 100vh;
  overflow-y: hidden;
}
.ant-pagination .ant-pagination-item.ant-pagination-item-active {
  background: @primary-color;
  border-width: 0;

  a {
    color: #fff;
  }
}
.ant-pagination .ant-pagination-item-active:hover {
  color: #fff;
  background: rgba(22, 100, 255, 0.8);
  border-color: rgba(22, 100, 255, 0.8);
}
.ant-pagination .ant-pagination-item {
  border: 1px solid #e6e6e6;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-thumb {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 99px;
}
::-webkit-scrollbar-track {
  width: 8px;
  height: 8px;
  background: transparent;
}
ul,
ol {
  list-style: none;
}

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

.kf-page-container {
  height: 100%;

  &__content {
    height: calc(100% - 55px);
  }
}

.kf-menu-collapsed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.kf-table-row-link:hover {
  text-decoration: underline @underline-color;
  text-underline-offset: 3px;
}

input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
}

.ant-typography {
  color: inherit;
  font-size: inherit;
}
