comments.scss 1.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
.comment_stream {
  .show_comments {
    margin-top: 5px;
    border-top: 1px solid $border-grey;
    a {
      color: $text-grey;
      font-size: 13px;
    }
    .media { margin-top: 10px; }
  }
11
  .comments > .comment, .comment.new_comment_form_wrapper {
12
    .avatar {
Augier's avatar
Augier committed
13 14
      height: 35px;
      width: 35px;
15 16 17 18 19 20 21
    }
    margin: 0;
    border-top: 1px dotted $border-grey;
    padding: 10px 0;

    .info {
      margin-top: 5px;
22 23
      font-size: $font-size-small;
      line-height: $font-size-small;
24 25 26 27 28 29 30 31
    }

    >.highlighted {
      border-left: 3px solid $blue;
      padding-left: 3px;
    }
  }
  .submit_button {
Augier's avatar
Augier committed
32
    margin-top: 10px;
33 34 35 36 37
    input {
      float: right;
    }
    padding-left: 12px;
    width: 95%;
38 39 40 41
    display: none;
  }
  .comment_box {
    width: 95%;
Augier's avatar
Augier committed
42
    height: 35px;
43
    resize: none;
44
  }
45 46
  textarea.comment_box:focus, textarea.comment_box:valid, textarea.comment_box:active {
    border-color: $border-dark-grey;
47
    & + .submit_button { display: block; }
Augier's avatar
Augier committed
48 49
    min-height: 35px;
    box-shadow: none;
50 51
  }
}