Add links to comment mentions
[oweals/peertube.git] / client / src / app / videos / +video-watch / comment / video-comment.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 .root-comment {
5   font-size: 15px;
6   display: flex;
7
8   img {
9     @include avatar(36px);
10
11     margin-top: 5px;
12     margin-right: 20px;
13   }
14
15   .comment {
16     flex-grow: 1;
17
18     .highlighted-comment {
19       display: inline-block;
20       background-color: #F5F5F5;
21       color: #3d3d3d;
22       padding: 0 5px;
23       font-size: 13px;
24       margin-bottom: 5px;
25       font-weight: $font-semibold;
26       border-radius: 3px;
27     }
28
29     .comment-account-date {
30       display: flex;
31       margin-bottom: 4px;
32
33       .comment-account {
34         @include disable-default-a-behaviour;
35
36         color: #000;
37         font-weight: $font-bold;
38       }
39
40       .comment-date {
41         color: #585858;
42         margin-left: 10px;
43       }
44     }
45
46     .comment-html {
47       word-break: break-all;
48
49       /deep/ a {
50         @include disable-default-a-behaviour;
51
52         color: #000;
53
54         // Semi bold mentions
55         &:not(.linkified-url) {
56           font-weight: $font-semibold;
57         }
58       }
59     }
60
61     .comment-actions {
62       margin: 10px 0;
63       display: flex;
64
65       .comment-action-reply, .comment-action-delete {
66         color: #585858;
67         cursor: pointer;
68         margin-right: 10px;
69
70         &:hover {
71           color: #000;
72         }
73       }
74     }
75   }
76 }