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 | |
parent | 21d7b5acaf383acfc62d94242d514c0a30af70d1 (diff) | |
download | gitea-86bce4a2ae9915fad63c742cb68fcd0a5e64a223.tar.gz gitea-86bce4a2ae9915fad63c742cb68fcd0a5e64a223.zip |
minor fix to #2335
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 17 | ||||
-rw-r--r-- | public/less/_repository.less | 20 |
2 files changed, 21 insertions, 16 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index fd9359af14..0a7daaf008 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -2306,9 +2306,10 @@ footer .container .links > *:first-child { } .repository .diff-box .count { margin-right: 12px; + font-size: 13px; } .repository .diff-box .count .bar { - background-color: #e75316; + background-color: #bd2c00 ; height: 12px; width: 40px; display: inline-block; @@ -2316,7 +2317,7 @@ footer .container .links > *:first-child { vertical-align: text-top; } .repository .diff-box .count .bar .add { - background-color: #77c64a; + background-color: #55a532; height: 12px; } .repository .diff-box .file { @@ -2387,6 +2388,12 @@ footer .container .links > *:first-child { .repository .diff-file-box .code-diff tbody tr.add-code td.halfwidth { width: 50%; } +.repository .diff-file-box .code-diff tbody tr .removed-code { + background-color: #ff9999; +} +.repository .diff-file-box .code-diff tbody tr .added-code { + background-color: #99ff99; +} .repository .diff-file-box.file-content img { max-width: 100%; padding: 5px 5px 0 5px; @@ -2764,12 +2771,6 @@ footer .container .links > *:first-child { #delete-repo-modal .ui.message { width: 100%!important; } -.removed-code { - background-color: #ff9999; -} -.added-code { - background-color: #99ff99; -} .organization { padding-top: 15px; padding-bottom: 80px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 7bb9c8a94e..124b2b29d0 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; -} |