html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  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;
}

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



.minw-32 {
  min-width: 32px;
}

.minw-48 {
  min-width: 48px;
}

.minw-64 {
  min-width: 64px;
}

.minw-80 {
  min-width: 80px;
}

.minw-120 {
  min-width: 120px;
}

.minw-160 {
  min-width: 160px;
}

.minw-240 {
  min-width: 240px;
}

.minw-320 {
  min-width: 320px;
}

.yb-pro-desc {
  &.hide-header {
    & .ant-descriptions-header {
      display: none;
    }
  }
}

.ant-pro-global-header-header-actions-avatar {
  padding-inline-start: 0;
  padding-inline-end: 0;
}

.ant-pro-layout .ant-pro-sider-menu {
  padding-top: 8px;
}

.ant-pro-table-search-query-filter {
  margin-block-end: 4px !important;
}

.ant-page-header-breadcrumb {
  padding-block-start: 4px !important;
}

.yb-row-error {
  & .ant-table-cell {
    color: #f00;
  }
}

.yb-row-editable {
  background-color: #00000011;
}