#app {
  width: 100%;
  height: 100%;
}

// =================================
// ==============scrollbar==========
// =================================

::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

.ant-table-body::-webkit-scrollbar {
  width: 0;
  height: 8px;
}
// ::-webkit-scrollbar-track {
//    background: rgb(0 0 0 / 5%);
// }

// ::-webkit-scrollbar-track:hover {
//   background-color: rgb(0 0 0 / 5%);
// }

::-webkit-scrollbar-thumb {
  // background: rgba(0, 0, 0, 0.6);
  background-color: rgb(144 147 153 / 30%);
  // background-color: rgba(144, 147, 153, 0.3);
  border-radius: 4px;
  // box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: @border-color-dark;
}

// =================================
// ==============nprogress==========
// =================================
#nprogress {
  pointer-events: none;

  .bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 2px;
    background-color: @primary-color;
    opacity: 0.75;
  }
}

.process-right-Tab {
  height: 100%;

  .ant-tabs-nav::before {
    border-bottom: 1px solid #eee;
  }

  .ant-tabs-tab {
    padding: 18px 18px 16px;
    line-height: 14px;

    &.ant-tabs-tab-active {
      font-weight: bold;
    }

    & + .ant-tabs-tab {
      margin: 0;
    }
  }

  .ant-tabs-content {
    height: 100%;
    overflow-y: auto;
  }
}

.form-horizontal-modal {
  width: 50%;
  padding-left: 10px;
  position: absolute;
  right: 0;
  top: 0;

  .wrap {
    background: #fff;
    border-radius: 16px;
  }
}

.form-horizontal-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  line-height: 16px;
  height: 60px;
  padding: 22px 0 0 16px;
  border-bottom: 1px solid #ddd;
  position: absolute;
  left: 10px;
  right: 0;
  top: 0;
}

.listmode-horizontal-tree {
  .vben-page-wrapper-content {
    overflow: unset;
  }

  .form-left {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1000;
    width: auto !important;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 25%);
    display: none;
    bottom: 0;
  }

  .resize-shrink-sidebar {
    display: none !important;
  }

  &.block {
    .form-left {
      display: block;
    }
  }
}
