1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-01 09:51:39 -05:00

Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels

UI: Use more subtle grey SHA1 labels
This commit is contained in:
Unknwon 2015-12-03 14:28:30 -05:00
commit 1802d52362
4 changed files with 8 additions and 2 deletions

View file

@ -2240,6 +2240,9 @@ footer .container .links > *:first-child {
font-size: 13px; font-size: 13px;
padding: 6px 40px 4px 35px; padding: 6px 40px 4px 35px;
} }
.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, 0.02) !important;
}
.repository .diff-detail-box { .repository .diff-detail-box {
margin: 15px 0; margin: 15px 0;
line-height: 30px; line-height: 30px;

View file

@ -598,6 +598,9 @@
padding: 6px 40px 4px 35px; padding: 6px 40px 4px 35px;
} }
} }
&.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, .02)!important;
}
} }
.diff-detail-box { .diff-detail-box {

View file

@ -36,7 +36,7 @@
{{end}} {{end}}
</td> </td>
<td class="message collapsing"> <td class="message collapsing">
<a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a> <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}}">{{ShortSha .ID.String}}</a>
{{RenderCommitMessage .Summary $.RepoLink}} {{RenderCommitMessage .Summary $.RepoLink}}
</td> </td>
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>

View file

@ -43,7 +43,7 @@
</td> </td>
{{end}} {{end}}
<td class="message collapsing"> <td class="message collapsing">
<a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a> <a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
{{RenderCommitMessage $commit.Summary $.RepoLink}} {{RenderCommitMessage $commit.Summary $.RepoLink}}
</td> </td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td> <td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>