|
|
@@ -5,7 +5,7 @@ |
|
|
|
border-radius: 0.8rem; |
|
|
|
margin-bottom: 1.0rem; |
|
|
|
padding: 1.0rem !important; |
|
|
|
} |
|
|
|
} |
|
|
|
.ui.repository.list>.item .header { |
|
|
|
font-size: 1.4rem !important; |
|
|
|
font-weight: 200; |
|
|
@@ -24,7 +24,7 @@ |
|
|
|
content: ""; |
|
|
|
height: 1px; |
|
|
|
background-color: #E1E3E6; |
|
|
|
bottom: 2.8rem; |
|
|
|
bottom: 2.8rem; |
|
|
|
} |
|
|
|
.repository .ui.mini.menu{ |
|
|
|
font-size: .6rem; |
|
|
@@ -43,13 +43,13 @@ |
|
|
|
<a class="{{if eq .SortType "hot"}}active{{end}} item" href="{{$.Link}}?q={{$.Keyword}}&topic={{$.Topic}}&sort=hot"> |
|
|
|
<svg class="svg octicon-repo" width="16" height="16" aria-hidden="true"> |
|
|
|
<use xlink:href="#octicon-repo" /> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
热门{{.i18n.Tr "explore.repos"}} |
|
|
|
</a> |
|
|
|
<a class="{{if eq .SortType "active"}}active{{end}} item" href="{{$.Link}}?q={{$.Keyword}}&topic={{$.Topic}}&sort=active"> |
|
|
|
<svg class="svg octicon-inbox" width="16" height="16" aria-hidden="true"> |
|
|
|
<use xlink:href="#octicon-inbox" /> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
活跃{{.i18n.Tr "explore.repos"}} |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
@@ -93,7 +93,7 @@ |
|
|
|
<div class="ui grid"> |
|
|
|
<div class="ui sixteen wide mobile ten wide tablet twelve wide computer column"> |
|
|
|
<a class="name" href="{{.Link}}"> |
|
|
|
{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} <span>/</span> {{end}}{{end}}<strong>{{.Name}}</strong> |
|
|
|
{{if or $.PageIsExplore $.PageIsProfileStarList }}{{if .Owner}}{{.Owner.Name}} <span>/</span> {{end}}{{end}}<strong>{{.DisplayName}}</strong> |
|
|
|
{{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}} |
|
|
|
</a> |
|
|
|
{{if .IsPrivate}} |
|
|
@@ -114,7 +114,7 @@ |
|
|
|
<a class="item"> |
|
|
|
<svg class="svg octicon-inbox" width="16" height="16" viewBox="0 0 24 24"> |
|
|
|
<path fill="currentColor" d="M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z" /> |
|
|
|
</svg> |
|
|
|
</svg> |
|
|
|
{{.Hot}} |
|
|
|
</a> |
|
|
|
{{else if eq $.SortType "active"}} |
|
|
@@ -130,7 +130,7 @@ |
|
|
|
<a class="item"> |
|
|
|
{{svg "octicon-git-branch" 16}} {{.NumForks}} |
|
|
|
</a> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<a class="item"> |
|
|
|
{{svg "octicon-star" 16}} {{.NumStars}} |
|
|
|
</a> |
|
|
|