summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-01-03 19:26:46 -0200
committerAndrey Nering <andrey.nering@gmail.com>2016-01-06 17:46:56 -0200
commit73474c043bfdeeb33cd58bdfe42592fea3083422 (patch)
tree0aab45170a12b50e2f10c2125cb11ae18c879f87 /public
parent0cb739684096396e26595ac70817a2a05b61b443 (diff)
downloadgitea-73474c043bfdeeb33cd58bdfe42592fea3083422.tar.gz
gitea-73474c043bfdeeb33cd58bdfe42592fea3083422.zip
Highlighting differences of lines in the diff view.
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css6
-rw-r--r--public/less/_repository.less8
2 files changed, 14 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 0160c5d91a..fd9359af14 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -2764,6 +2764,12 @@ 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 441832daf2..7bb9c8a94e 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -1217,3 +1217,11 @@
width: 100%!important;
}
}
+
+.removed-code {
+ background-color: #ff9999;
+}
+
+.added-code {
+ background-color: #99ff99;
+}