html {
  overflow-y: scroll;
}

/** LAYOUT **/

body {
  margin-bottom: 20px;
}

.container {
  padding-top: 0;
  z-index: 5;
}

.container .content {
  margin: 0 0;
}

.author_link {
  color: $link_color;
}

.help li { color:$style_color; }

.back_link {
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 0;
  padding-bottom: 0;
}

table a code {
  position: relative;
  top: -2px;
  margin-right: 3px;
}

.loading {
  margin: 20px auto;
  background: url(ajax_loader.gif) no-repeat center center;
  width: 40px;
  height: 40px;
  &.loading-gray {
    background: url(ajax_loader_gray.gif) no-repeat center center;
  }
}

/** FLASH message **/
.flash-container {
  display: none;
  .alert {
    cursor: pointer;
    margin: 0;
    text-align: center;
    border-radius: 0;

    span {
      font-size: 14px;
    }
  }
}

span.update-author {
  display: block;
  color: #999;
  font-weight: normal;
  font-style: italic;
  strong {
    font-weight: bold;
    font-style: normal;
  }
}

.user-mention {
  color: #2FA0BB;
  font-weight: bold;
}

.label {
  padding: 1px 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
}

form {
  @extend .form-horizontal;

  .actions {
    @extend .form-actions;
  }

  .clearfix {
    @extend .control-group;
  }

  .input {
    @extend .controls;
  }

  label {
    @extend .control-label;
  }
  .xlarge {
    @extend .input-xlarge;
  }
  .xxlarge {
    @extend .input-xxlarge;
  }
}


.field_with_errors {
  display: inline;
}

ul.breadcrumb {
  background: white;
  border: none;
  li {
    display: inline;
    text-shadow: 0 1px 0 white
  }

  a {
    color: #474D57;
    font-weight: bold;
    font-size: 14px;
  }
}

input[type=text] {
  &.large_text {
    padding: 6px;
    font-size: 16px;
  }
}

.line_holder {
  &:hover {
    td {
      background: #FFFFCF !important;
    }
  }
}

li.commit {
  .avatar {
    width: 24px;
    top:-5px;
    margin-right: 10px;
    margin-left: 10px;
  }

  code {
    padding: 2px 2px 0;
    margin-top: -2px;
    &:hover {
      color: black;
      border: 1px solid #ccc;
    }
  }
}
p.time {
  color: #999;
  font-size: 90%;
  margin: 30px 3px 3px 2px;
}

.search-holder {
  label, input {
     height: 30px;
     padding: 0;
     font-size: 14px;
  }
  label {
    line-height: 30px;
    color: #666;
  }
}

.highlight_word {
  border-bottom: 2px solid #F90;
}

.status_info {
  font-size: 14px;
  padding: 5px 15px;
  line-height: 26px;
  text-align: center;
  float: right;
  position: relative;
  top: -5px;
  @include border-radius(4px);

  &.success {
    background: #4A4;
    color: #FFF;
  }

  &.error {
    background: #DA4E49;
    color: #FFF;
  }
}

.arrow{
  background: #E3E5EA;
  padding: 5px;
  margin-top: 5px;
  @include border-radius(5px);
  text-shadow: none;
  color: #999;
  line-height: 16px;
  font-weight: bold;
}

.thin_area{
  height: 150px;
}

// Fixes alignment on notes.
.new_note {
  label {
    text-align: left;
  }
}

// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
  img { max-width:100% }
  .note-title {
    li {
      border-bottom:none !important;
    }
  }
}

.markdown {
  img {
    max-width: 100%;
  }
}

.wiki_content code, .readme code{
  background-color: inherit;
}

.team_member_show {
  td:first-child {
    color: #aaa;
  }
}

.remember_me {
  text-align: left;

  input {
    margin: 0;
  }

  span {
    padding-left: 5px;
  }
}


.rss-icon {
  img {
    width: 24px;
    vertical-align: top;
  }

  strong {
    line-height: 24px;
  }
}


.supp_diff_link,
.show-all-commits {
  cursor: pointer;
}

.merge-request,
.issue {
  &.today{
    background: #EFE;
    border-color: #CEC;
  }
  &.closed {
    background: #F5f5f5;
    border-color: #E5E5E5;
  }
  &.merged {
    background: #F5f5f5;
    border-color: #E5E5E5;
  }
}

.git_error_tips {
  @extend .span6;
  text-align: left;
  margin-top: 40px;
  pre {
    background: white;
    border: none;
    font-size: 12px;
  }
}

.error_message {
  @extend .cred;
  border-left: 4px solid #E99;
  padding: 10px;
  margin-bottom: 10px;
  background: #FEE;
  padding-left: 20px;

  &.centered {
    text-align: center;
  }
}

.warning_message {
  border-left: 4px solid #ed9;
  color: #b90;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffe6;
  padding-left: 20px;

  &.centered {
    text-align: center;
  }
}

.oauth_select_holder {
  padding: 20px;
  img {
    padding: 5px;
    margin-right: 10px;
  }
  .active {
    img {
      border: 1px solid #ccc;
      background: $hover;
      @include border-radius(5px);
    }
  }
}

.btn-build-token {
  float: left;
  padding: 6px 20px;
  margin-right: 12px;
}

.gitlab-promo {
  a {
    color: #aaa;
    margin-right: 30px;
  }
}

pre {
  &.clean {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
  }
}

.milestone {
  &.milestone-closed {
    background: #eee;
  }
  .progress {
    margin-bottom: 0;
    margin-top: 4px;
  }
}

h1.http_status_code {
  font-size: 56px;
  line-height: 100px;
  font-weight: normal;
  color: #456;
}

.control-group {
  .controls {
    span {
      &.descr {
        position: relative;
        top: 2px;
        left: 5px;
        color: #666;
      }
    }
  }
}

img.emoji {
  height: 20px;
  vertical-align: middle;
  width: 20px;
}

.appear-data {
  display: none;
}

.chart {
  overflow: hidden;
  height: 220px;
}

.search-container {
  margin-top: 30px;
}

.description-block {
  @extend .light-well;
  @extend .light;
  margin-bottom: 10px;
}
