]>
Commit | Line | Data |
---|---|---|
4635f59d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
cf117aaa | 4 | .root-comment { |
4635f59d | 5 | font-size: 15px; |
cf117aaa | 6 | display: flex; |
4635f59d | 7 | |
cf117aaa C |
8 | img { |
9 | @include avatar(36px); | |
4635f59d | 10 | |
cf117aaa C |
11 | margin-top: 5px; |
12 | margin-right: 20px; | |
4635f59d C |
13 | } |
14 | ||
cf117aaa C |
15 | .comment { |
16 | flex-grow: 1; | |
c9ffd532 C |
17 | // Fix word-wrap with flex |
18 | min-width: 1px; | |
cf117aaa | 19 | |
1263fc4e C |
20 | .highlighted-comment { |
21 | display: inline-block; | |
22 | background-color: #F5F5F5; | |
23 | color: #3d3d3d; | |
24 | padding: 0 5px; | |
25 | font-size: 13px; | |
26 | margin-bottom: 5px; | |
27 | font-weight: $font-semibold; | |
28 | border-radius: 3px; | |
29 | } | |
30 | ||
cf117aaa C |
31 | .comment-account-date { |
32 | display: flex; | |
33 | margin-bottom: 4px; | |
4635f59d | 34 | |
cf117aaa | 35 | .comment-account { |
4cb6d457 C |
36 | @include disable-default-a-behaviour; |
37 | ||
9a0fc840 | 38 | color: var(--mainForegroundColor); |
cf117aaa C |
39 | font-weight: $font-bold; |
40 | } | |
41 | ||
42 | .comment-date { | |
43 | color: #585858; | |
44 | margin-left: 10px; | |
45 | } | |
4635f59d | 46 | } |
4635f59d | 47 | |
2890b615 | 48 | .comment-html { |
7a14004b | 49 | @include peertube-word-wrap; |
54a932e8 | 50 | |
6304df89 | 51 | // Mentions |
e8cb4409 | 52 | /deep/ a { |
e8cb4409 | 53 | |
e8cb4409 | 54 | &:not(.linkified-url) { |
6304df89 C |
55 | @include disable-default-a-behaviour; |
56 | ||
66467298 | 57 | color: var(--mainForegroundColor); |
6304df89 | 58 | |
e8cb4409 C |
59 | font-weight: $font-semibold; |
60 | } | |
6304df89 | 61 | |
2890b615 C |
62 | } |
63 | } | |
64 | ||
cf117aaa C |
65 | .comment-actions { |
66 | margin: 10px 0; | |
4cb6d457 | 67 | display: flex; |
4635f59d | 68 | |
6304df89 C |
69 | .comment-action-reply, |
70 | .comment-action-delete { | |
cf117aaa C |
71 | color: #585858; |
72 | cursor: pointer; | |
4cb6d457 C |
73 | margin-right: 10px; |
74 | ||
75 | &:hover { | |
66467298 | 76 | color: var(--mainForegroundColor); |
4cb6d457 | 77 | } |
cf117aaa C |
78 | } |
79 | } | |
4635f59d C |
80 | } |
81 | } | |
c9ffd532 C |
82 | |
83 | // Decrease the space of child comments on small screens | |
84 | @media screen and (max-width: 1600px) { | |
85 | .children { | |
86 | margin-left: -20px; | |
87 | } | |
88 | } | |
89 | ||
90 | @media screen and (max-width: 1200px) { | |
91 | .children { | |
92 | margin-left: -30px; | |
93 | } | |
94 | } | |
95 | ||
96 | @media screen and (max-width: 600px) { | |
97 | .children { | |
6304df89 | 98 | margin-left: -35px; |
c9ffd532 C |
99 | } |
100 | ||
101 | .root-comment { | |
102 | img { margin-right: 10px; } | |
103 | } | |
f7ecffa4 | 104 | } |