
/**
 * MR -> show: Automerge widget
 *
 */
.automerge_widget {
  &.can_be_merged {
    background: #DFF0D8;
  }

  form {
    margin-bottom: 0;
    .clearfix {
      margin-bottom: 0;
    }
  }

  .accept_group {
    float: left;
    border: 1px solid #ADA;
    padding: 2px;
    @include border-radius(5px);
    background: #CEB;

    .accept_merge_request {
      font-size: 13px;
      float: left;
    }
    .remove_branch_holder {
      margin-left: 20px;
      margin-right: 10px;
      float: left;
    }
    label {
      color: #444;
      text-align: left
    }
  }


  .how_to_merge_link {
    @extend .primary;
  }
}

.merge-request .nav-tabs{
  li {
    a {
      font-weight: bold;
      padding: 8px 20px;
      text-align: center;
    }
  }
}

.merge-in-progress {
  @extend .padded;
  @extend .append-bottom-10;
}

.mr_source_commit,
.mr_target_commit {
  .commit {
    margin: 0;
    padding: 0;
    padding: 5px 0;
    list-style: none;
    &:hover {
      background: none;
    }
  }
}

.label-branch {
  @include border-radius(4px);
  padding: 3px 4px;
  border: none;
  font-size: 14px;
  background: #474D57;
  color: #fff;
  font-family: $monospace_font;
  font-weight: normal;
  overflow: hidden;

  .label-project {
    @include border-radius-left(4px);
    padding: 3px 4px;
    background: #279;
    position: relative;
    left: -4px;
    letter-spacing: -1px;
  }
}

.mr-list {
  .merge-request {
    padding: 10px;
    position: relative;

    .merge-request-title {
      margin-bottom: 5px;
      font-size: 14px;
    }

    .merge-request-info {
      color: #999;
    }
  }
}

.merge-request-angle {
  text-align: center;
  margin: 0 auto;
  background: #eee;
  border-radius: 100px;
  width: 60px;
  line-height: 60px;
  color: #777;
  text-shadow: 0 1px 2px #FFF;
}

.merge-request-form-info {
  padding-top: 15px;
}

.merge-request-branches {
  .commit-row-message {
    font-weight: normal !important;
  }

  .chosen-container .chosen-single {
    padding: 2px 0 2px 10px;
    span {
      font-weight: bold;
      color: #555;
    }
  }
}
