@use "../project-new/project-new.component.scss";

.type-btn {
  height: 48px;
  display: flex;
  align-items: center;

  .icon {
    width: 24px;
    height: 24px;
  }

  &.selected {
    color: #348ce9;
  }
}

.langs {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  .lang {
    flex-direction: column;
    font-size: 12px;
    width: 60px;

    cursor: pointer;

    img {
      width: 28px;
    }

    opacity: 0.3;

    &:first-child {
      margin-left: 0;
    }

    &.selected {
      opacity: 1;
    }
  }
}

// .theme-selector {
//   display: flex;
//   align-items: center;
//   margin-bottom: 10px;

//   .btn {
//     width: 100px;
//     height: 30px;
//     flex-direction: column;
//     font-size: 12px;
//     i {
//       font-size: 30px;
//       margin-bottom: 3px;
//     }
//   }
// }

.instructions {
  height: 40px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  // padding-left: 10px;
  // border-bottom: 1px solid #43494b;
  margin-top: 20px;

  &:first-child {
    margin-top: 0;
  }
}

textarea {
  background: #363636;
}

.registry {
  height: 100%;
}

.serach-box {
  height: 40px;
  margin-bottom: 10px;
}

.board-list {
  height: 400px;
  border-radius: 2px;
  padding: 0 5px 0 10px;
  position: relative;
  overflow: auto;
  background: #363636;
  border: 1px solid #434343;
  margin-bottom: 19px;

  .board-item {
    border-bottom: 1px solid #43494b;
    display: flex;
    align-items: center;
    padding: 4px 0;

    &:last-child {
      border-bottom: none;
    }

    .version {
      margin-left: 5px;
      color: #868686;
    }

    .btns {
      position: absolute;
      right: 10px;
      display: flex;
    }
  }
}

.right {
  height: 100%; // 确保占满整个高度

  .right-inner-container {
    padding-bottom: 100px;
  }
}

ngx-simplebar {
  height: 100%;
  width: 100%;

  ::ng-deep {
    .simplebar-content-wrapper {
      height: 100%;
    }

    .simplebar-content {
      height: 100%;
    }
  }
}

.section {
  margin-bottom: 20px;
  border-bottom: 1px solid #43494b;

  &:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

.section-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #fff;

  span {
    margin-left: 5px;
    color: #999;
    font-size: 12px;
  }
}

.item {
  .item-inner {
    background: #363636;
    border: 1px solid #434343;
    flex-grow: 1;
    display: flex;
    height: 32px;
    border-radius: 2px;
    padding: 4px 11px;

    .w50 {
      width: 50%;
      display: flex;
      justify-content: flex-start;

      nz-switch {
        margin-left: 15px;
      }
    }
  }
}

[disabled] {
  opacity: 0.6;
}