.task-create-editor {
  padding: 0 20px;
  .task-create-type-list {
    padding: 0 55px;
    margin-bottom: 0;
    list-style: none;
    .task-create-type-item {
      margin-bottom: 20px;
      >a {
        height: 110px;
        background-color: #f4f6f8;
        display: block;
        text-align: center;
        color: @gray;
        .es-transition;
        .border-radius(4px);
        border: 3px solid #f4f6f8;
      }
      &:hover  {
        >a {
          background: #f4f6f8;
          border: 3px solid @brand-primary;
          .es-transition;
        }
      }
      &.active {
        >a {
          background: @brand-primary;
          color: #fff;
          border: 3px solid @brand-primary;
          .es-transition;
        }
      }
      i {
        display: block;
        font-size: 35px;
        line-height: 1;
        padding-top: 18px;
        margin-bottom: 10px;
      }
    }
  }
  .task-create-finish {
    min-height: 200px;
  }
  .task-create-content {
    min-height: 200px;
    position: relative;
  }
  .task-create-finish-iframe, .task-create-content-iframe {
    width: 100%;
    min-height: 200px;
    border: none;
  }
}

.task-iframe-body {
  background-color: #fff;
  padding: 0 20px;
}

.file-chooser-main  {
  border:1px solid @gray-light;
  .border-radius(4px);
  .file-chooser-nav {
    padding: 15px;
  }
  .file-chooser-tab {
    padding: 15px;
    border-top: 1px solid @gray-light;
  }
}

.live-resource-list {
  list-style: none;
  padding-left: 0;
  .border-radius(4px);
  background-color: #f8fbfd;
  li {
    position: relative;
    padding: 6px 36px 6px 16px;
    margin-bottom: 8px;
    height: 44px;
    background: #F5F5F5;
    border-radius: 4px;

    &:last-child {
      padding-bottom: 10px;
    }

    .live-resource-item-left {
      line-height: 32px;
    }

    > a {
      max-width: 280px;
      font-size: 14px;
      color: #333333;
      text-align: left;
      line-height: 20px;
      font-weight: 500;
    }

    .js-btn-delete {
      position: absolute;
      right: 16px;
      top: 14px;
      font-size: 16px;
      color: #999;
    }

    .cd-icon-close {
      font-size: 20px;
    }

    &:hover {
      >.btn-delete {
        visibility: visible;

        &:hover {
          color: @brand-primary;
        }
      }
    }
  }
}

.download-list {
  padding-left: 0;
  list-style: none;
  .border-radius(4px);

  li {
    position: relative;
    padding: 6px 36px 6px 16px;
    margin-bottom: 8px;
    height: 44px;
    background: #F5F5F5;
    border-radius: 4px;

    &:last-child {
      padding-bottom: 10px;
    }

    .download-item-left,
    .download-item-right {
      width: 50%;
      line-height: 32px;
    }

    .download-item-left {
      padding-right: 16px;
    }

    .download-item-right {
      label {
        margin: 0;
        font-weight: 400;
      }

      input {
        width: calc(100% - 60px);
        height: 32px;
        border: none;
        outline: none;
        background: #f5f5f5;
      }
    }

    > a {
      max-width: 280px;
      font-size: 14px;
      color: #333333;
      text-align: left;
      line-height: 20px;
      font-weight: 500;
    }

    .js-btn-delete {
      position: absolute;
      right: 16px;
      top: 14px;
      font-size: 16px;
      color: #999;
    }

    .cd-icon-close {
      font-size: 20px;
    }

    &:hover {
      >.btn-delete {
        visibility: visible;

        &:hover {
          color: @brand-primary;
        }
      }
    }
  }
}

.chooser-content {
  margin: 0 15px 15px;
  padding: 15px;
  .border-radius(4px);
  background-color: #f8fbfd;
}

.import-content {
  padding: 30px;
  background-color: #f8fbfd;
  .border-radius(4px);
}

.chooser-list-parent {
  border-top: 1px solid @gray-light;
}

.chooser-list {
  position: relative;
  height: 163px;
  overflow: auto;
  background-color: #fff;
  &.border-top {
    border-top: 1px solid @gray-light;
  }
  .table-striped  {
    margin-bottom: 0;
    > tbody > tr {
      &:nth-of-type(odd) {
        background-color: #fafafa;
      }
      &.active,
      &:hover {
        > td {
          color: @brand-primary;
        }
      }
      > td {
        border-top: 0;
        padding: 10px 10px;
      }
    }
  }
}

.uploader-content {
  background-color: #f8fbfd;
  .border-radius(4px);
  padding: 30px 30px 15px 30px;
  .uploader-container {
    border: 1px dashed @border-color;
    padding: 5px 10px;
  }
  .uploader-bottom {
    padding-top: 15px;
    line-height: 30px;
    border-top: 1px solid #eaf2f7;
    margin-top: 25px;
    .form-control {
      margin-bottom: 0;
      width: auto;
      display: inline-block;
      min-width: 85px;
      margin-left: 10px;
    }
  }
}

.default-comment {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;

  &:hover .default-comment-list {
    display: block !important;
  }

  &-list {
    position: absolute;
    top: 26px;
    left: 30%;
    padding: 8px 16px;
    width: 270px;
    transform: translateX(-50%);
    text-align: left;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 9;

    &__item {
      margin-top: 8px;
      font-size: 14px;
      color: #333;
      cursor: pointer;

      &:hover {
        color: #46c37b;
      }
    }
  }
}