diff options
author | Adam Strzelecki <ono@java.pl> | 2015-12-03 13:49:52 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-12-03 20:26:06 +0100 |
commit | cab2911f23e396f565b4f1d3db10277676a8d9de (patch) | |
tree | 80b31c12feb5040b8e7e6f4cbaed8319affc7818 /public | |
parent | edbb67cb3fd8e56d6ce18e27c5398fa7282a8cf5 (diff) | |
download | gitea-cab2911f23e396f565b4f1d3db10277676a8d9de.tar.gz gitea-cab2911f23e396f565b4f1d3db10277676a8d9de.zip |
UI: More subtle strips on commits list
With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 3 | ||||
-rw-r--r-- | public/less/_repository.less | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index ab399f6c68..1fbcfdf15f 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2243,6 +2243,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; diff --git a/public/less/_repository.less b/public/less/_repository.less index aef608bcac..29d4abbbbe 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -602,6 +602,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 { |