.yee-setting-table-wrap() {
  font-size: 12px;
  font-family:
    PingFangSC-Regular,
    PingFang SC;
  font-weight: 400;
  color: #333333;
  width: 100%;
  margin-bottom: 30px;

  .table-header {
    & > div {
      display: flex;
      align-items: center;
      height: 32px;
      background: #f0f0f0;
      border-radius: 2px;
      padding-left: 10px;
      & > * + * {
        padding: 0 10px;
      }
    }
  }

  .table-body {
    & > div {
      padding-top: 8px;
      display: flex;
      align-items: center;
      padding: 5px 0;
      & > * + * {
        padding: 0 10px;
      }
    }
  }
}

.yee-env-label {
  height: 12px;
  font-size: 12px;
  font-family:
    PingFangSC-Semibold,
    PingFang SC;
  line-height: 12px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}
.yee-setting-list {
  .yee-setting-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 40px;
    cursor: pointer;
    color: #333333;
    font-size: 12px;
    font-family:
      PingFangSC-Regular,
      PingFang SC;
    font-weight: 400;
    &:hover {
      background: #f0f0f0;
    }
    .text {
      height: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex: 1;
    }
    .default {
      height: 12px;
      color: #666666;
      line-height: 12px;
    }
  }
  .active {
    background: rgba(82, 191, 99, 0.06);
    color: #52bf63;
    border-right: 4px solid #52bf63;
  }
}
.yee-env-setting-drawer-wrap {
  ul {
    margin-bottom: 0;
  }
  .content {
    padding-top: 20px;
    .line {
      height: 1px;
      background: #efefef;
      margin: 0px 0 16px;
    }
  }
  .title {
    .yee-env-label();
    padding-left: 16px;
  }
}
.yee-env-detail-setting-drawer-wrap {
  .content {
    padding: 20px 16px;
    .input-wrap {
      margin-bottom: 16px;
    }
    .default-setting {
      display: flex;
      justify-content: space-between;
      align-items: center;
      .text {
        .yee-env-label();
        margin-right: 16px;
        margin-bottom: 0;
      }
    }
  }
}

/* ---------------------------------- 全局变量 ---------------------------------- */
.yee-setting-variable-wrap {
  .yee-setting-table-wrap();
  .table-header {
    .td-1 {
      flex-basis: 88px;
    }
    .td-2 {
      flex: 1;
      overflow: hidden;
    }
    .td-3 {
      flex-basis: 60px;
    }
  }
  .table-body {
    .td-input-1 {
      flex-basis: 88px;
    }
    .td-input-2 {
      flex: 1;
      overflow: hidden;
    }
    .td-input-3 {
      flex-basis: 60px;
      cursor: pointer;
    }
  }
}

/* ----------------------------------- 国际化 ---------------------------------- */
.yee-setting-i18n-wrap {
  .yee-setting-table-wrap();

  .table-body {
    .locale-url:hover {
      cursor: pointer;
      color: @yee-primary-color;
    }
    .action {
      & > span {
        color: @yee-primary-color;
      }
    }
  }
}

/* ----------------------------------- 前端埋点 ---------------------------------- */
.yee-setting-bury-point-wrap {
  .yee-setting-table-wrap();

  .table-body {
    .locale-url:hover {
      cursor: pointer;
      color: @yee-primary-color;
    }
    .action {
      & > span {
        color: @yee-primary-color;
      }
    }
  }
}

.yee-style-setting-drawer-wrap {
  color: rgba(0, 0, 0, 0.85);
  .single-theme {
    width: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    cursor: pointer;
    margin-right: 22px;
    &:nth-child(5n) {
      margin-right: 0;
    }
    .circle {
      position: relative;
      display: block;
      width: 24px;
      height: 24px;
      border-radius: 14px;
    }
    span {
      font-size: 12px;
      line-height: 22px;
      margin-top: 4px;
    }
    &.active .circle {
      border: 1px solid;
      background-color: #fff !important;
      i {
        width: 20px;
        height: 20px;
        border-radius: 12px;
        position: absolute;
        top: 1px;
        left: 1px;
      }
    }
  }
}
