aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment.component.scss
blob: afc6741b74cf7e061043cc338c4a11373bb70b9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@import '_variables';
@import '_mixins';

.root-comment {
  font-size: 15px;
  display: flex;

  img {
    @include avatar(36px);

    margin-top: 5px;
    margin-right: 20px;
  }

  .comment {
    flex-grow: 1;

    .highlighted-comment {
      display: inline-block;
      background-color: #F5F5F5;
      color: #3d3d3d;
      padding: 0 5px;
      font-size: 13px;
      margin-bottom: 5px;
      font-weight: $font-semibold;
      border-radius: 3px;
    }

    .comment-account-date {
      display: flex;
      margin-bottom: 4px;

      .comment-account {
        @include disable-default-a-behaviour;

        color: #000;
        font-weight: $font-bold;
      }

      .comment-date {
        color: #585858;
        margin-left: 10px;
      }
    }

    .comment-html {
      word-break: break-all;

      /deep/ a {
        @include disable-default-a-behaviour;

        color: #000;

        // Semi bold mentions
        &:not(.linkified-url) {
          font-weight: $font-semibold;
        }
      }
    }

    .comment-actions {
      margin: 10px 0;
      display: flex;

      .comment-action-reply, .comment-action-delete {
        color: #585858;
        cursor: pointer;
        margin-right: 10px;

        &:hover {
          color: #000;
        }
      }
    }
  }
}