File tree Expand file tree Collapse file tree 4 files changed +45
-23
lines changed Expand file tree Collapse file tree 4 files changed +45
-23
lines changed Original file line number Diff line number Diff line change 1
- {{if $.IsTemplate}}
2
- {{if $.IsPrivate}}
3
- {{svg "octicon-repo-template-private" 32}}
1
+ <div class="repo-header-icon">
2
+ {{if $.IsTemplate}}
3
+ {{if $.IsPrivate}}
4
+ {{svg "octicon-repo-template-private" 32}}
5
+ {{else}}
6
+ {{svg "octicon-repo-template" 32}}
7
+ {{end}}
4
8
{{else}}
5
- {{svg "octicon-repo-template" 32}}
6
- {{end}}
7
- {{else}}
8
- {{if $.IsPrivate}}
9
- {{svg "octicon-lock" 32}}
10
- {{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
11
- {{if $.Owner.Visibility.IsPrivate}}
12
- {{svg "octicon-internal-repo" 32}}
9
+ {{if $.IsPrivate}}
10
+ {{svg "octicon-lock" 32}}
11
+ {{else if and (not $.IsMirror) (not $.IsFork) ($.Owner)}}
12
+ {{if $.Owner.Visibility.IsPrivate}}
13
+ {{svg "octicon-internal-repo" 32}}
14
+ <img class="ui avatar image" src="{{$.Owner.RelAvatarLink}}">
15
+ {{else}}
16
+ {{svg "octicon-repo" 32}}
17
+ {{end}}
18
+ {{else if $.IsMirror}}
19
+ {{svg "octicon-repo-clone" 32}}
20
+ {{else if $.IsFork}}
21
+ {{svg "octicon-repo-forked" 32}}
13
22
{{else}}
14
23
{{svg "octicon-repo" 32}}
15
24
{{end}}
16
- {{else if $.IsMirror}}
17
- {{svg "octicon-repo-clone" 32}}
18
- {{else if $.IsFork}}
19
- {{svg "octicon-repo-forked" 32}}
20
- {{else}}
21
- {{svg "octicon-repo" 32}}
22
25
{{end}}
23
- {{end}}
26
+ </div>
Original file line number Diff line number Diff line change @@ -1317,3 +1317,7 @@ table th[data-sortt-desc] {
1317
1317
.ui.secondary.pointing.menu .item {
1318
1318
padding : 12px ;
1319
1319
}
1320
+
1321
+ .ui.header > .ui.label.compact {
1322
+ margin-top : inherit ;
1323
+ }
Original file line number Diff line number Diff line change 14
14
font-weight : 400 ;
15
15
font-size : 1.5rem ;
16
16
17
- svg {
18
- position : relative ;
19
- top : 5px ;
17
+ .label {
18
+ vertical-align : middle ;
20
19
}
21
20
22
- svg .octicon-lock {
23
- margin-left : 5px ;
21
+ & .repo-title .repo-header-icon {
22
+ display : inline-block ;
23
+ position : relative ;
24
+
25
+ .avatar {
26
+ position : absolute ;
27
+ right : 0 ;
28
+ bottom : 0 ;
29
+ width : 16px ;
30
+ height : 16px ;
31
+ color : #fafafa ;
32
+ box-shadow : 0 0 0 2px ;
33
+ margin : 0 ;
34
+ }
24
35
}
25
36
}
26
37
Original file line number Diff line number Diff line change @@ -1596,3 +1596,7 @@ footer .container .links > * {
1596
1596
.tribute-container li :hover {
1597
1597
background : #728e5e !important ;
1598
1598
}
1599
+
1600
+ .repository .repo-header .ui.huge.breadcrumb.repo-title .repo-header-icon .avatar {
1601
+ color : #2a2e3a ;
1602
+ }
You can’t perform that action at this time.
0 commit comments