[v-cloak] {
  display: none;
}

#app {
  .el-carousel {
    .el-carousel__item {
      background: #99a9bf;
      box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
      text-align: center;
    }
  }
  .upload_project {
    display: flex;
    justify-content: space-between;
    .upload-item {
      width: calc(50% - 7px);
      .el-upload,
      .el-upload-dragger {
        width: 100%;
        .el-icon-upload {
          width: 64px;
          margin-bottom: 0;
          &.public {
            width: 52px;
            margin-top: 52px;
          }
        }
      }
    }
  }
  .empty_list {
    width: calc(50% - 7px);
    margin-top: 14px;
  }
  .no_data {
    color: #666;
    text-align: center;
    // margin: 12px 0;
  }
  .project_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .project_item {
      width: calc(50% - 7px);
      padding: 12px;
      box-sizing: border-box;
      &:hover {
        box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
      }
      .el-collapse-item__header {
        height: 64px;
        line-height: 64px;
      }
      .el-collapse-item__header,
      .el-collapse-item__wrap {
        border: none;
      }
      .el-collapse-item__content {
        padding: 12px 0;
        padding-bottom: 0;
        box-sizing: border-box;
      }
      .el-skeleton__item {
        margin-top: 0px;
      }
      .project_panel {
        height: 100%;
        width: calc(100% - 20px);
        display: flex;
        justify-content: space-between;
      }
      .project_avatar {
        height: 100%;
        object-fit: cover;
      }
      .project_info {
        flex: 1;
        overflow: hidden;
        margin: 0 12px;
        line-height: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .name {
          font-size: 16px;
          font-weight: 500;
          color: #333;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .desc {
          width: 100%;
          color: #666;
          font-size: 14px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .detail {
          display: flex;
          justify-content: space-between;
          .time,
          .data {
            font-size: 12px;
            color: #666;
          }
          .data {
            .star,
            .fork {
              display: inline-block;
            }
          }
        }
      }
      .branch_item {
        display: flex;
        padding: 6px 12px;
        box-sizing: border-box;
        &:hover {
          background: #f7f7f7;
        }
        .branch_name {
          flex: 1;
        }
        .branch_controls {
          width: 120px;
          display: flex;
          justify-content: space-between;
          box-sizing: border-box;
          .el-button {
            font-size: 16px;
            padding: 4px;
            color: #666;
            margin: 0;
          }
        }
      }
    }
  }
}
