diff options
author | Unknwon <u@gogs.io> | 2016-01-09 14:51:17 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-09 14:51:17 +0800 |
commit | 86bce4a2ae9915fad63c742cb68fcd0a5e64a223 (patch) | |
tree | 820658e264e010f8b998ca2f50bd0a91038f1baf /public/less | |
parent | 21d7b5acaf383acfc62d94242d514c0a30af70d1 (diff) |
minor fix to #2335
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_repository.less | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index 7bb9c8a9..124b2b29 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -641,15 +641,17 @@ .diff-box { .count { margin-right: 12px; + font-size: 13px; + .bar { - background-color: #e75316; + background-color: #bd2c00 ; height: 12px; width: 40px; display: inline-block; margin: 2px 4px 0 4px; vertical-align: text-top; .add { - background-color: #77c64a; + background-color: #55a532; height: 12px; } } @@ -716,6 +718,7 @@ // } // } &.del-code { + // Duplicate here to enforce add code color. td.add-code { background-color: #eaffea !important; border-color: #c1e9c1 !important; @@ -749,6 +752,13 @@ // background-color: #ffffdd !important; // } } + + .removed-code { + background-color: #ff9999; + } + .added-code { + background-color: #99ff99; + } } } } @@ -1218,10 +1228,4 @@ } } -.removed-code { - background-color: #ff9999; -} -.added-code { - background-color: #99ff99; -} |