ソースを参照

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

UI: Use more subtle grey SHA1 labels
tags/v0.9.99
Unknwon 8年前
コミット
1802d52362
4個のファイルの変更8行の追加2行の削除
  1. 3
    0
      public/css/gogs.css
  2. 3
    0
      public/less/_repository.less
  3. 1
    1
      templates/repo/commits_table.tmpl
  4. 1
    1
      templates/repo/view_list.tmpl

+ 3
- 0
public/css/gogs.css ファイルの表示

@@ -2240,6 +2240,9 @@ footer .container .links > *:first-child {
font-size: 13px;
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 {
margin: 15px 0;
line-height: 30px;

+ 3
- 0
public/less/_repository.less ファイルの表示

@@ -598,6 +598,9 @@
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 {

+ 1
- 1
templates/repo/commits_table.tmpl ファイルの表示

@@ -36,7 +36,7 @@
{{end}}
</td>
<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}}
</td>
<td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td>

+ 1
- 1
templates/repo/view_list.tmpl ファイルの表示

@@ -43,7 +43,7 @@
</td>
{{end}}
<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}}
</td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>

読み込み中…
キャンセル
保存