Commit 1f41e1bcdd491240f42f76d8b18b2b341fbd1b8a
1 parent
79248f4c
Exists in
master
and in
4 other branches
Improve commits page UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
6 additions
and
4 deletions
Show diff stats
app/assets/stylesheets/sections/commits.scss
| @@ -482,8 +482,8 @@ li.commit { | @@ -482,8 +482,8 @@ li.commit { | ||
| 482 | } | 482 | } |
| 483 | 483 | ||
| 484 | .commit-row-message { | 484 | .commit-row-message { |
| 485 | - color: #555; | ||
| 486 | - font-weight: bolder; | 485 | + color: #333; |
| 486 | + font-weight: 500; | ||
| 487 | &:hover { | 487 | &:hover { |
| 488 | color: #444; | 488 | color: #444; |
| 489 | text-decoration: underline; | 489 | text-decoration: underline; |
| @@ -492,13 +492,14 @@ li.commit { | @@ -492,13 +492,14 @@ li.commit { | ||
| 492 | } | 492 | } |
| 493 | 493 | ||
| 494 | .commit-row-info { | 494 | .commit-row-info { |
| 495 | + color: #777; | ||
| 496 | + | ||
| 495 | a { | 497 | a { |
| 496 | color: #777; | 498 | color: #777; |
| 497 | } | 499 | } |
| 498 | 500 | ||
| 499 | .committed_ago { | 501 | .committed_ago { |
| 500 | float: right; | 502 | float: right; |
| 501 | - @extend .cgray; | ||
| 502 | } | 503 | } |
| 503 | } | 504 | } |
| 504 | 505 |
app/views/projects/commits/_commit.html.haml
| @@ -13,4 +13,5 @@ | @@ -13,4 +13,5 @@ | ||
| 13 | 13 | ||
| 14 | .commit-row-info | 14 | .commit-row-info |
| 15 | = commit_author_link(commit, avatar: true, size: 16) | 15 | = commit_author_link(commit, avatar: true, size: 16) |
| 16 | - #{time_ago_with_tooltip(commit.committed_date)} ago | 16 | + .committed_ago |
| 17 | + #{time_ago_with_tooltip(commit.committed_date)} ago |