<commit_before>/**
 * Notes
 */

@-webkit-keyframes target-note {
  from { background:#fffff0; }
  50% { background:#ffffd3; }
  to { background:#fffff0; }
}

ul.notes {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0px;

  .discussion-header,
  .note-header {
    @extend .cgray;
    padding-top: 5px;
    padding-bottom: 15px;

    .avatar {
      float: left;
      margin-right: 10px;
    }

    .discussion-last-update,
    .note-last-update {
      font-style: italic;
    }
    .author {
      color: $style_color;
      font-weight: bold;
      &:hover {
        color: $primary_color;
      }
    }
  }

  .discussion {
    padding: 8px 0;
    overflow: hidden;
    display: block;
    position:relative;

    .discussion-body {
      margin-left: 50px;

      .file,
      .discussion-hidden,
      .notes {
        @extend .borders;
        background-color: #F9F9F9;
      }
      .file .notes {
        /* reset */
        background: inherit;
        border: none;
        @include box-shadow(none);

      }
      .discussion-hidden .note {
        @extend .cgray;
        padding: 8px;
        text-align: center;
      }
      .notes .note {
        border-color: #ddd;
        padding: 8px;
      }
      .reply-btn {
        margin-top: 8px;
      }
    }
  }

  .note {
    padding: 8px 0;
    overflow: hidden;
    display: block;
    position:relative;
    p { color: $style_color; }

    .avatar {
      margin-top: 3px;
    }
    .attachment {
      font-size: 14px;
      margin-top: -20px;
    }
    .note-body {
      @include md-typography;
      margin-left: 45px;

      .highlight {
        @include border-radius(4px);
      }
    }
    .note-header {
      padding-bottom: 5px;
    }
  }

  .note:target {
    -webkit-animation:target-note 2s linear;
    background: #fffff0;
  }

  // paint top or bottom borders depending on notes direction
  &:not(.reversed) .note,
  &:not(.reversed) .discussion {
    border-bottom: 1px solid #eee;
  }
  &.reversed .note,
  &.reversed .discussion {
    border-top: 1px solid #eee;
  }
}

.file .notes_holder {
  font-family: $sansFontFamily;
  font-size: 13px;
  line-height: 18px;

  td {
    border: 1px solid #ddd;
    border-left: none;

    &.notes_line {
      text-align: center;
      padding: 10px 0;
    }
    &.notes_content {
      background-color: $white;
      border-width: 1px 0;
      padding-top: 0;
    }
  }

  .reply-btn {
    margin-top: 8px;
  }
}

/**
 * Actions for Discussions/Notes
 */

.discussion,
.note {
  &.note:hover {
    .note-actions { display: block; }
  }
  .discussion-header:hover {
    .discussion-actions { display: block; }
  }

  .discussion-actions,
  .note-actions {
    display: none;
    float: right;

    [class^="icon-"],
    [class*="icon-"] {
      font-size: 16px;
      line-height: 16px;
      vertical-align: middle;
    }

    a {
      @extend .cgray;
<commit_msg>Few UI fixes for notes<commit_after>/**
 * Notes
 */

@-webkit-keyframes target-note {
  from { background:#fffff0; }
  50% { background:#ffffd3; }
  to { background:#fffff0; }
}

ul.notes {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0px;

  .discussion-header,
  .note-header {
    @extend .cgray;
    padding-top: 5px;
    padding-bottom: 15px;

    .avatar {
      float: left;
      margin-right: 10px;
    }

    .discussion-last-update,
    .note-last-update {
      font-style: italic;
    }
    .author {
      color: $style_color;
      font-weight: bold;
      &:hover {
        color: $primary_color;
      }
    }
  }

  .discussion {
    padding: 8px 0;
    overflow: hidden;
    display: block;
    position:relative;

    .discussion-body {
      margin-left: 50px;

      .file,
      .discussion-hidden,
      .notes {
        @extend .borders;
        background-color: #F9F9F9;
      }
      .file .notes {
        /* reset */
        background: inherit;
        border: none;
        @include box-shadow(none);

      }
      .discussion-hidden .note {
        @extend .cgray;
        padding: 8px;
        text-align: center;
      }
      .notes .note {
        border-color: #ddd;
        padding: 8px;
      }
      .reply-btn {
        margin-top: 8px;
      }
    }
  }

  .note {
    padding: 8px 0;
    overflow: hidden;
    display: block;
    position:relative;
    p { color: $style_color; }

    .avatar {
      margin-top: 3px;
    }
    .attachment {
      font-size: 14px;
      margin-top: -20px;
    }
    .note-body {
      @include md-typography;
      margin-left: 45px;

      .highlight {
        @include border-radius(4px);
      }
    }
    .note-header {
      padding-bottom: 5px;
    }
  }

  .note:target {
    -webkit-animation:target-note 2s linear;
    background: #fffff0;
  }

  // paint top or bottom borders depending on notes direction
  &:not(.reversed) .note,
  &:not(.reversed) .discussion {
    border-bottom: 1px solid #eee;
  }
  &.reversed .note,
  &.reversed .discussion {
    border-top: 1px solid #eee;
  }
}

.file .notes_holder {
  font-family: $sansFontFamily;
  font-size: 13px;
  line-height: 18px;

  td {
    border: 1px solid #ddd;
    border-left: none;

    &.notes_line {
      text-align: center;
      padding: 10px 0;
    }
    &.notes_content {
      background-color: $white;
      border-width: 1px 0;
      padding-top: 0;

      li {
        padding: 5px;
      }
    }
  }

  .reply-btn {
    margin: 5px;
  }
}

/**
 * Actions for Discussions/Notes
 */

.discussion,
.note {
  &.note:hover {
    .note-actions { display: block; }
  }
  .discussion-header:hover {
    .discussion-actions { display: block; }
  }

  .discussion-actions,
  .note-actions {
    display: none;
    float: right;

    [class^="icon-"],
    [class*="icon-"] {
      font-size: 16px;
      line-height: 16px;
      vertical-align: middle;
    }

    a {
      @extend .cgray;

{'fraction_non_alphanumeric': 0.13770212765957446, 'fraction_numerical': 0.018212765957446808, 'mean_word_length': 1.776937618147448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5617231', 'n_tokens_mistral': 2265, 'n_tokens_neox': 2086, 'n_words': 433}