File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ export default class ReviewCommentComponent {
17
17
const comment = this . comment
18
18
19
19
return (
20
- < div className = 'pr-comment-component ' >
20
+ < div className = 'github-PRComment ' >
21
21
< div className = 'github-PRComment-margin' />
22
-
23
22
< header className = 'github-PRComment-header' >
24
23
< UserAvatar className = 'github-PRComment-avatar' size = { 20 } userId = { comment . user . id } />
25
24
< span className = 'github-PRComment-login' > { comment . user . login } </ span >
Original file line number Diff line number Diff line change 1
1
@import " ui-variables" ;
2
2
@import " syntax-variables" ;
3
3
4
- @PRComment-color : mix ( @syntax-text-color , @syntax-background-color , 80 % ) ;
5
- @PRComment-color-subtle : mix (@syntax-text-color , @syntax-background-color , 50 % );
6
- @PRComment-color-link : mix (@syntax-color-renamed , @PRComment-color-subtle , 20 % );
4
+ @PRComment-color : @syntax-text-color ;
5
+ @PRComment-color-subtle : mix (@syntax-text-color , @syntax-background-color , 66 % );
6
+ @PRComment-color-link : mix (@syntax-color-renamed , @PRComment-color-subtle , 33 % );
7
7
@PRComment-color-border : @syntax-indent-guide-color ;
8
8
9
9
.github-PRComment {
10
10
max-width : 600px ;
11
11
font-size : 11 / 12em ;
12
- // color: @PRComment-color;
12
+ font-family : @font-family ;
13
+ color : @PRComment-color ;
13
14
padding : 0 @component-padding ;
15
+ background-color : @syntax-gutter-background-color ;
16
+ cursor : default ;
17
+ opacity : .33 ;
18
+ transition : opacity .2s ;
19
+ & :hover {
20
+ opacity : 1 ;
21
+ transition-duration : .08s ;
22
+ }
14
23
15
24
& :nth- child(2 ) {
16
25
border-top : 1px solid @PRComment-color-border ;
27
36
&-avatar {
28
37
display : inline-block ;
29
38
border-radius : 50% ;
30
- margin-right : 4 px ;
39
+ margin-right : 8 px ;
31
40
}
32
41
33
42
&-login {}
You can’t perform that action at this time.
0 commit comments